[PATCH net-next 00/12] mlxsw: Preparations for XDP support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Amit Cohen writes:

A future patch set will add support for XDP in mlxsw driver. This set adds
some preparations.

Patch set overview:
Patch #1 removes debug prints
Patch #2 handles local port from LAG in PCI driver
Patches #3-#4 add rx_pkt_info and use it
Patch #5 adds a separate function for syncing buffer
Patches #6-#8 store mapping between local port to netdevice in PCI driver
Patch #9 initializes XDP Rx queue info
Patch #10 initializes PCI port
Patch #11 handles some SKB fields in PCI driver
Patch #12 moves local port validation to PCI driver

Amit Cohen (12):
  mlxsw: core: Remove debug prints
  mlxsw: Check Rx local port in PCI code
  mlxsw: Add struct mlxsw_pci_rx_pkt_info
  mlxsw: pci: Use mlxsw_pci_rx_pkt_info
  mlxsw: pci: Add a separate function for syncing buffers for CPU
  mlxsw: pci: Store maximum number of ports
  mlxsw: pci: Add PCI ports array
  mlxsw: Add APIs to init/fini PCI port
  mlxsw: pci: Initialize XDP Rx queue info per RDQ
  mlxsw: spectrum: Initialize PCI port with the relevant netdevice
  mlxsw: Set some SKB fields in bus driver
  mlxsw: Validate local port from CQE in PCI code

 drivers/net/ethernet/mellanox/mlxsw/core.c    |  38 ++-
 drivers/net/ethernet/mellanox/mlxsw/core.h    |  13 +-
 drivers/net/ethernet/mellanox/mlxsw/pci.c     | 249 +++++++++++++-----
 drivers/net/ethernet/mellanox/mlxsw/pci.h     |   8 +
 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h  |   1 -
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |   8 +-
 .../ethernet/mellanox/mlxsw/spectrum_trap.c   |   6 +-
 7 files changed, 218 insertions(+), 105 deletions(-)

-- 
2.47.0





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux