netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/12] mlxsw: Preparations for XDP support
@ 2025-02-04 11:04 Petr Machata
  2025-02-04 11:04 ` [PATCH net-next 01/12] mlxsw: core: Remove debug prints Petr Machata
                   ` (12 more replies)
  0 siblings, 13 replies; 22+ messages in thread
From: Petr Machata @ 2025-02-04 11:04 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Andrew Lunn, netdev
  Cc: Amit Cohen, Ido Schimmel, Petr Machata, Alexei Starovoitov,
	Daniel Borkmann, Jesper Dangaard Brouer, John Fastabend, bpf,
	mlxsw

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


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2025-02-17  9:35 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04 11:04 [PATCH net-next 00/12] mlxsw: Preparations for XDP support Petr Machata
2025-02-04 11:04 ` [PATCH net-next 01/12] mlxsw: core: Remove debug prints Petr Machata
2025-02-04 11:04 ` [PATCH net-next 02/12] mlxsw: Check Rx local port in PCI code Petr Machata
2025-02-04 11:04 ` [PATCH net-next 03/12] mlxsw: Add struct mlxsw_pci_rx_pkt_info Petr Machata
2025-02-04 11:04 ` [PATCH net-next 04/12] mlxsw: pci: Use mlxsw_pci_rx_pkt_info Petr Machata
2025-02-04 11:05 ` [PATCH net-next 05/12] mlxsw: pci: Add a separate function for syncing buffers for CPU Petr Machata
2025-02-04 11:05 ` [PATCH net-next 06/12] mlxsw: pci: Store maximum number of ports Petr Machata
2025-02-04 11:05 ` [PATCH net-next 07/12] mlxsw: pci: Add PCI ports array Petr Machata
2025-02-04 11:05 ` [PATCH net-next 08/12] mlxsw: Add APIs to init/fini PCI port Petr Machata
2025-02-04 11:05 ` [PATCH net-next 09/12] mlxsw: pci: Initialize XDP Rx queue info per RDQ Petr Machata
2025-02-04 11:05 ` [PATCH net-next 10/12] mlxsw: spectrum: Initialize PCI port with the relevant netdevice Petr Machata
2025-02-04 11:05 ` [PATCH net-next 11/12] mlxsw: Set some SKB fields in bus driver Petr Machata
2025-02-04 11:05 ` [PATCH net-next 12/12] mlxsw: Validate local port from CQE in PCI code Petr Machata
2025-02-04 15:56 ` [PATCH net-next 00/12] mlxsw: Preparations for XDP support Alexei Starovoitov
2025-02-04 15:59   ` Amit Cohen
2025-02-04 16:02     ` Alexei Starovoitov
2025-02-04 17:26       ` Amit Cohen
2025-02-05 17:09         ` Jakub Kicinski
2025-02-15 14:02           ` Simon Horman
2025-02-15 16:10             ` Jakub Kicinski
2025-02-16  9:26               ` Simon Horman
2025-02-17  9:35               ` Ido Schimmel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).