Skip to content

mlx5 misc enhancements 2025-03-04

Tariq Toukan linux-rdma lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesApplied 6/6
  2. v16 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Added Reviewed-by tags.
- Addressed comments on patch #3 (Jakub).

Patches in v2 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net/mlx5: Relocate function declarations from port.h to mlx5_core.hdrivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h drivers/net/ethernet/mellanox/mlx5/core/port.c include/linux/mlx5/port.h+86 -1040 repliesApplied
2/6net/mlx5: Refactor link speed handling with mlx5_link_info structdrivers/net/ethernet/mellanox/mlx5/core/en/port.c drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h +1 more+103 -880 repliesApplied
3/6net/mlx5e: Enable lanes configuration when auto-negotiation is offdrivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h drivers/net/ethernet/mellanox/mlx5/core/port.c+67 -550 repliesApplied
4/6net/mlx5: Lag, Enable Multiport E-Switch offloads on 8 ports LAGdrivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.c+0 -40 repliesApplied
5/6net/mlx5e: Separate address related variables to be in structdrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c+68 -650 repliesApplied
6/6net/mlx5e: Properly match IPsec subnet addressesdrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c+69 -90 repliesApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchCarolina JubranMichal Swiatkowski
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next V2 0/6] mlx5 misc enhancements 2025-03-04

Hi,

This is V2.
Find initial version here:
https://lore.kernel.org/lkml/[email protected]/

This series introduces enhancements to the mlx5 core and Eth drivers.

Patches 1-3 by Shahar introduce support for configuring lanes alongside speed when autonegotiation is disabled. The combination of speed and the number of lanes corresponds to a specific link mode (in the extended mask typically used in newer hardware), allowing the user to select a precise link mode when autonegotiation is off, instead of just choosing the speed.

Patch 4 by Amir extends the multi-port LAG support.

Patches 5-6 by Leon enhance IPsec matching logic.

Regards,
Tariq

V2:
- Added Reviewed-by tags.
- Addressed comments on patch #3 (Jakub).

Amir Tzin (1):
net/mlx5: Lag, Enable Multiport E-Switch offloads on 8 ports LAG

Leon Romanovsky (2):
net/mlx5e: Separate address related variables to be in struct net/mlx5e: Properly match IPsec subnet addresses

Shahar Shitrit (3):
net/mlx5: Relocate function declarations from port.h to mlx5_core.h net/mlx5: Refactor link speed handling with mlx5_link_info struct net/mlx5e: Enable lanes configuration when auto-negotiation is off

 .../net/ethernet/mellanox/mlx5/core/en/port.c |   9 +-
 .../mellanox/mlx5/core/en_accel/ipsec.c       |  81 +++++++--
 .../mellanox/mlx5/core/en_accel/ipsec.h       |  35 ++--
 .../mellanox/mlx5/core/en_accel/ipsec_fs.c    |  95 +++++-----
 .../ethernet/mellanox/mlx5/core/en_ethtool.c  |  47 ++---
 .../ethernet/mellanox/mlx5/core/lag/mpesw.c   |   4 -
 .../ethernet/mellanox/mlx5/core/mlx5_core.h   |  92 ++++++++++
 .../net/ethernet/mellanox/mlx5/core/port.c    | 168 ++++++++----------
 include/linux/mlx5/port.h                     |  85 +--------
 9 files changed, 342 insertions(+), 274 deletions(-)

base-commit: 05ec5c085eb7ae044d49e04a3cff194a0b2a3251

Signature · 1 line
2.45.0