netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net/mlx5: Refactor devcom and add net namespace support
@ 2025-09-11  6:31 Tariq Toukan
  2025-09-11  6:31 ` [PATCH net-next 1/4] net/mlx5: Refactor devcom to use match attributes Tariq Toukan
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Tariq Toukan @ 2025-09-11  6:31 UTC (permalink / raw)
  To: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
	David S. Miller
  Cc: Saeed Mahameed, Leon Romanovsky, Tariq Toukan, Mark Bloch, netdev,
	linux-rdma, linux-kernel, Gal Pressman, Parav Pandit, Shay Drory

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

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: 1f24a240974589ce42f70502ccb3ff3f5189d69a
-- 
2.31.1


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

end of thread, other threads:[~2025-09-15  9:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-11  6:31 [PATCH net-next 0/4] net/mlx5: Refactor devcom and add net namespace support Tariq Toukan
2025-09-11  6:31 ` [PATCH net-next 1/4] net/mlx5: Refactor devcom to use match attributes Tariq Toukan
2025-09-12 14:11   ` Simon Horman
2025-09-15  9:08   ` Leon Romanovsky
2025-09-11  6:31 ` [PATCH net-next 2/4] net/mlx5: Lag, move devcom registration to LAG layer Tariq Toukan
2025-09-12 14:11   ` Simon Horman
2025-09-11  6:31 ` [PATCH net-next 3/4] net/mlx5: Add net namespace support to devcom Tariq Toukan
2025-09-12 14:11   ` Simon Horman
2025-09-11  6:31 ` [PATCH net-next 4/4] net/mlx5: Lag, add net namespace support Tariq Toukan
2025-09-12 14:09   ` Simon Horman
2025-09-13  1:52     ` Mark Bloch
2025-09-15  8:51       ` Simon Horman

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).