Skip to content

mlx5 misc changes 2024-12-19

Tariq Toukan netdev 4 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. v4 Latest11 patches 1 replyApplied 11/11
  2. v311 patches 8 repliesSuperseded
  3. v210 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v112 patches21 repliesSuperseded

Changes in v4 from the cover letter

- Patch 3: Fixed memory leak (Przemek Kitszel), renamed variable to fc_bulk.
- Patch 4: Renamed labels (Przemek Kitszel).
- Patch 5: Added Przemek Kitszel review tag.
- Patch 6: Keep mlx5 name prefix (Przemek Kitszel).
- Patch 7: Re-structure and open code a function to improve code clarity after the renaming.

Patches in v4 All 11 applied

#Subject and filesSizeRepliesApplied
1/11net/mlx5: LAG, Refactor lag logicdrivers/net/ethernet/mellanox/mlx5/core/lag/debugfs.c drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c drivers/net/ethernet/mellanox/mlx5/core/lag/lag.h +3 more+137 -1211 replyApplied
2/11net/mlx5: LAG, Support LAG over Multi-Host NICsdrivers/net/ethernet/mellanox/mlx5/core/lag/lag.c drivers/net/ethernet/mellanox/mlx5/core/lag/lag.h drivers/net/ethernet/mellanox/mlx5/core/lag/mp.c +3 more+229 -780 repliesApplied
3/11net/mlx5: fs, add counter object to flow destinationdrivers/infiniband/hw/mlx5/fs.c drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c +12 more+117 -440 repliesApplied
4/11net/mlx5: fs, add mlx5_fs_pool APIdrivers/net/ethernet/mellanox/mlx5/core/Makefile drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c drivers/net/ethernet/mellanox/mlx5/core/fs_pool.c +1 more+327 -2090 repliesApplied
5/11net/mlx5: fs, retry insertion to hash table on EBUSYdrivers/net/ethernet/mellanox/mlx5/core/fs_core.c+7 -10 repliesApplied
6/11net/mlx5: HWS, no need to expose mlx5hws_send_queues_open/closedrivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.h+4 -100 repliesApplied
7/11net/mlx5: HWS, do not initialize native API queuesdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.h drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.h +2 more+25 -70 repliesApplied
8/11net/mlx5: DR, expand SWS STE callbacks and consolidate common structsdrivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.c +4 more+377 -3420 repliesApplied
9/11net/mlx5: DR, add support for ConnectX-8 steeringdrivers/net/ethernet/mellanox/mlx5/core/Makefile drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c +4 more+267 -20 repliesApplied
10/11net/mlx5: Remove PTM support log messagedrivers/net/ethernet/mellanox/mlx5/core/main.c+1 -30 repliesApplied
11/11net/mlx5: fs, Add support for RDMA RX steering over IB link layerdrivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c drivers/net/ethernet/mellanox/mlx5/core/fs_core.c+3 -30 repliesApplied

Reviews trailers per patch

9 of 11 patches have a Reviewed-by or Acked-by.

PatchSaeed MahameedMark BlochYevgeny KliteynikPrzemek KitszelItamar GozlanDragos Tatulea
1/11R-b R-b
2/11R-b
3/11R-b R-b
4/11R-b R-b
5/11R-b
6/11R-b R-b
7/11R-b R-b
8/11
9/11
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v4 thread

Cover letter [PATCH net-next V4 00/11] mlx5 misc changes 2024-12-19

Hi,

The first two patches by Rongwei add support for multi-host LAG. The new multi-host NICs provide each host with partial ports, allowing each host to maintain its unique LAG configuration.

Patches 3-7 by Moshe, Mark and Yevgeny are enhancements and preparations in fs_core and HW steering, in preparation for future patchsets.

Patches 8-9 by Itamar add SW Steering support for ConnectX-8. They are moved here after being part of previous submissions, yet to be accepted.

Patch 10 by Carolina cleans up an unnecessary log message.

Patch 11 by Patrisious allows RDMA RX steering creation over devices with IB link layer.

Regards,
Tariq

V4:
- Patch 3: Fixed memory leak (Przemek Kitszel), renamed variable to fc_bulk.
- Patch 4: Renamed labels (Przemek Kitszel).
- Patch 5: Added Przemek Kitszel review tag.
- Patch 6: Keep mlx5 name prefix (Przemek Kitszel).
- Patch 7: Re-structure and open code a function to improve code clarity after the renaming.

V3:
- Drop IFC patches, they are already in net-next.
- Address comments and re-add two fs_core patches by Moshe.
- Add mlx5_ prefix to functions/macros names in patch #1.

V2:
- Remove Moshe's 2 fs_core patches from the series.

Carolina Jubran (1):
net/mlx5: Remove PTM support log message

Itamar Gozlan (2):
net/mlx5: DR, expand SWS STE callbacks and consolidate common structs net/mlx5: DR, add support for ConnectX-8 steering

Mark Bloch (1):
net/mlx5: fs, retry insertion to hash table on EBUSY

Moshe Shemesh (2):
net/mlx5: fs, add counter object to flow destination net/mlx5: fs, add mlx5_fs_pool API

Patrisious Haddad (1):
net/mlx5: fs, Add support for RDMA RX steering over IB link layer

Rongwei Liu (2):
net/mlx5: LAG, Refactor lag logic
net/mlx5: LAG, Support LAG over Multi-Host NICs

Yevgeny Kliteynik (2):
net/mlx5: HWS, no need to expose mlx5hws_send_queues_open/close net/mlx5: HWS, do not initialize native API queues

 drivers/infiniband/hw/mlx5/fs.c               |  37 +-
 .../net/ethernet/mellanox/mlx5/core/Makefile  |   3 +-
 .../mellanox/mlx5/core/diag/fs_tracepoint.h   |   2 +-
 .../mellanox/mlx5/core/en_accel/ipsec_fs.c    |  20 +-
 .../net/ethernet/mellanox/mlx5/core/en_tc.c   |   2 +-
 .../mellanox/mlx5/core/esw/acl/egress_lgcy.c  |   2 +-
 .../mellanox/mlx5/core/esw/acl/ingress_lgcy.c |   2 +-
 .../ethernet/mellanox/mlx5/core/esw/bridge.c  |  20 +-
 .../mellanox/mlx5/core/eswitch_offloads.c     |   2 +-
 .../net/ethernet/mellanox/mlx5/core/fs_cmd.c  |   5 +-
 .../net/ethernet/mellanox/mlx5/core/fs_core.c |  12 +-
 .../ethernet/mellanox/mlx5/core/fs_counters.c | 293 ++++++--------
 .../net/ethernet/mellanox/mlx5/core/fs_pool.c | 194 ++++++++++
 .../net/ethernet/mellanox/mlx5/core/fs_pool.h |  54 +++
 .../ethernet/mellanox/mlx5/core/lag/debugfs.c |  13 +-
 .../net/ethernet/mellanox/mlx5/core/lag/lag.c | 365 ++++++++++++------
 .../net/ethernet/mellanox/mlx5/core/lag/lag.h |  17 +-
 .../net/ethernet/mellanox/mlx5/core/lag/mp.c  |  77 ++--
 .../ethernet/mellanox/mlx5/core/lag/mpesw.c   |  16 +-
 .../mellanox/mlx5/core/lag/port_sel.c         |  55 ++-
 .../mellanox/mlx5/core/lib/macsec_fs.c        |   8 +-
 .../net/ethernet/mellanox/mlx5/core/main.c    |   8 +-
 .../mellanox/mlx5/core/steering/hws/bwc.h     |   6 +-
 .../mellanox/mlx5/core/steering/hws/context.c |   6 +-
 .../mellanox/mlx5/core/steering/hws/context.h |   6 +
 .../mellanox/mlx5/core/steering/hws/mlx5hws.h |   1 -
 .../mellanox/mlx5/core/steering/hws/send.c    |  21 +-
 .../mellanox/mlx5/core/steering/hws/send.h    |   6 -
 .../mlx5/core/steering/sws/dr_domain.c        |   2 +-
 .../mellanox/mlx5/core/steering/sws/dr_ste.c  |   6 +-
 .../mellanox/mlx5/core/steering/sws/dr_ste.h  |  19 +-
 .../mlx5/core/steering/sws/dr_ste_v0.c        |   6 +-
 .../mlx5/core/steering/sws/dr_ste_v1.c        | 207 ++--------
 .../mlx5/core/steering/sws/dr_ste_v1.h        | 147 ++++++-
 .../mlx5/core/steering/sws/dr_ste_v2.c        | 169 +-------
 .../mlx5/core/steering/sws/dr_ste_v2.h        | 168 ++++++++
 .../mlx5/core/steering/sws/dr_ste_v3.c        | 221 +++++++++++
 .../mellanox/mlx5/core/steering/sws/fs_dr.c   |   2 +-
 .../mlx5/core/steering/sws/mlx5_ifc_dr.h      |  40 ++
 .../mellanox/mlx5/core/steering/sws/mlx5dr.h  |   2 +-
 drivers/vdpa/mlx5/net/mlx5_vnet.c             |   4 +-
 include/linux/mlx5/fs.h                       |   4 +-
 42 files changed, 1462 insertions(+), 788 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/fs_pool.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/fs_pool.h
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.h
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.c

base-commit: 2b9da35f48a552c158a8965a61f36a1aa62fca34

Signature · 1 line
2.45.0