From: Tariq Toukan <tariqt@nvidia.com>
To: Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>
Cc: Saeed Mahameed <saeedm@nvidia.com>,
Leon Romanovsky <leon@kernel.org>,
Tariq Toukan <tariqt@nvidia.com>, Mark Bloch <mbloch@nvidia.com>,
<netdev@vger.kernel.org>, <linux-rdma@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, Gal Pressman <gal@nvidia.com>,
Parav Pandit <parav@nvidia.com>, Shay Drory <shayd@nvidia.com>
Subject: [PATCH net-next V2 0/4] net/mlx5: Refactor devcom and add net namespace support
Date: Mon, 15 Sep 2025 15:41:06 +0300 [thread overview]
Message-ID: <1757940070-618661-1-git-send-email-tariqt@nvidia.com> (raw)
Hi,
This series by Shay improves the mlx5 devcom infrastructure by
introducing a structured matching attribute interface, relocating
certain devcom registration flows to more appropriate locations, and
adding net namespace awareness to the devcom framework and its users.
Patch 1: Refactors the devcom interface to accept a match attribute
structure instead of raw keys, enabling future extensibility such as
namespace-based matching.
Patch 2: Moves the devcom registration for HCA components from the core
code to the LAG layer to better reflect their logical ownership and
lifecycle.
Patch 3: Adds net namespace support to the devcom framework, enabling
components to operate in isolated namespaces.
Patch 4: Updates the LAG layer to make use of the new namespace-aware
devcom interface and improves reload behavior in LAG mode.
Regards,
Tariq
V1:
https://lore.kernel.org/all/1757572267-601785-1-git-send-email-tariqt@nvidia.com/
Changes:
V1->V2:
- Added Simon's reviewed by tag to patches 1,2 and 3.
- Extended the commit message of patch 4 to address
Simon's comments on it.
Shay Drory (4):
net/mlx5: Refactor devcom to use match attributes
net/mlx5: Lag, move devcom registration to LAG layer
net/mlx5: Add net namespace support to devcom
net/mlx5: Lag, add net namespace support
.../net/ethernet/mellanox/mlx5/core/devlink.c | 5 ---
.../net/ethernet/mellanox/mlx5/core/en_main.c | 6 ++-
.../net/ethernet/mellanox/mlx5/core/en_tc.c | 10 +++--
.../net/ethernet/mellanox/mlx5/core/eswitch.h | 7 ++-
.../mellanox/mlx5/core/eswitch_offloads.c | 5 ++-
.../net/ethernet/mellanox/mlx5/core/lag/lag.c | 45 +++++++++++++++++--
.../net/ethernet/mellanox/mlx5/core/lag/lag.h | 1 +
.../ethernet/mellanox/mlx5/core/lib/clock.c | 14 ++++--
.../ethernet/mellanox/mlx5/core/lib/devcom.c | 44 +++++++++++++-----
.../ethernet/mellanox/mlx5/core/lib/devcom.h | 16 ++++++-
.../net/ethernet/mellanox/mlx5/core/lib/sd.c | 6 ++-
.../net/ethernet/mellanox/mlx5/core/main.c | 24 ----------
12 files changed, 126 insertions(+), 57 deletions(-)
base-commit: 5b5ba63a54cc7cb050fa734dbf495ffd63f9cbf7
--
2.31.1
next reply other threads:[~2025-09-15 12:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 12:41 Tariq Toukan [this message]
2025-09-15 12:41 ` [PATCH net-next V2 1/4] net/mlx5: Refactor devcom to use match attributes Tariq Toukan
2025-09-15 12:41 ` [PATCH net-next V2 2/4] net/mlx5: Lag, move devcom registration to LAG layer Tariq Toukan
2025-09-15 12:41 ` [PATCH net-next V2 3/4] net/mlx5: Add net namespace support to devcom Tariq Toukan
2025-09-15 12:41 ` [PATCH net-next V2 4/4] net/mlx5: Lag, add net namespace support Tariq Toukan
2025-09-17 0:40 ` [PATCH net-next V2 0/4] net/mlx5: Refactor devcom and " patchwork-bot+netdevbpf
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=1757940070-618661-1-git-send-email-tariqt@nvidia.com \
--to=tariqt@nvidia.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gal@nvidia.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=mbloch@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=parav@nvidia.com \
--cc=saeedm@nvidia.com \
--cc=shayd@nvidia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®