mlxsw: Preparations for XDP support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | mlxsw: core: Remove debug printsdrivers/ | +0 | 0 replies | |
| 2/12 | mlxsw: Check Rx local port in PCI codedrivers/ drivers/ drivers/ | +16 | 0 replies | |
| 3/12 | mlxsw: Add struct mlxsw_pci_rx_pkt_infodrivers/ drivers/ drivers/ | +57 | 0 replies | |
| 4/12 | mlxsw: pci: Use mlxsw_pci_rx_pkt_infodrivers/ | +16 | 0 replies | |
| 5/12 | mlxsw: pci: Add a separate function for syncing buffers for CPUdrivers/ | +22 | 0 replies | |
| 6/12 | mlxsw: pci: Store maximum number of portsdrivers/ | +20 | 0 replies | |
| 7/12 | mlxsw: pci: Add PCI ports arraydrivers/ | +30 | 0 replies | |
| 8/12 | mlxsw: Add APIs to init/fini PCI portdrivers/ drivers/ drivers/ | +40 | 0 replies | |
| 9/12 | mlxsw: pci: Initialize XDP Rx queue info per RDQdrivers/ | +12 | 0 replies | |
| 10/12 | mlxsw: spectrum: Initialize PCI port with the relevant netdevicedrivers/ | +3 | 0 replies | |
| 11/12 | mlxsw: Set some SKB fields in bus driverdrivers/ drivers/ drivers/ | +12 | 0 replies | |
| 12/12 | mlxsw: Validate local port from CQE in PCI codedrivers/ drivers/ | +4 | 0 replies |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by.
| Patch | Ido Schimmel |
|---|---|
| 1/12 | R-b |
| 2/12 | R-b |
| 3/12 | R-b |
| 4/12 | R-b |
| 5/12 | R-b |
| 6/12 | R-b |
| 7/12 | R-b |
| 8/12 | R-b |
| 9/12 | R-b |
| 10/12 | R-b |
| 11/12 | R-b |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 00/12] mlxsw: Preparations for XDP support
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(-)
Signature · 1 line
2.47.0