From: Petr Machata <petrm@nvidia.com>
To: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Andrew Lunn <andrew+netdev@lunn.ch>, <netdev@vger.kernel.org>
Cc: Amit Cohen <amcohen@nvidia.com>, Ido Schimmel <idosch@nvidia.com>,
"Petr Machata" <petrm@nvidia.com>,
Alexei Starovoitov <ast@kernel.org>,
"Daniel Borkmann" <daniel@iogearbox.net>,
Jesper Dangaard Brouer <hawk@kernel.org>,
John Fastabend <john.fastabend@gmail.com>, <bpf@vger.kernel.org>,
<mlxsw@nvidia.com>
Subject: [PATCH net-next 00/12] mlxsw: Preparations for XDP support
Date: Tue, 4 Feb 2025 12:04:55 +0100 [thread overview]
Message-ID: <cover.1738665783.git.petrm@nvidia.com> (raw)
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
next reply other threads:[~2025-02-04 11:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 11:04 Petr Machata [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1738665783.git.petrm@nvidia.com \
--to=petrm@nvidia.com \
--cc=amcohen@nvidia.com \
--cc=andrew+netdev@lunn.ch \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hawk@kernel.org \
--cc=idosch@nvidia.com \
--cc=john.fastabend@gmail.com \
--cc=kuba@kernel.org \
--cc=mlxsw@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.