Skip to content

net/mlx5e: improve RSS indirection table sizing and resizing

Tariq Toukan linux-rdma lkml netdev 1 version 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

  1. v1 Latest5 patches 0 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net/mlx5e: remove channel count limit for XOR8 RSS hashdrivers/net/ethernet/mellanox/mlx5/core/en/rqt.c drivers/net/ethernet/mellanox/mlx5/core/en/rqt.h drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c+0 -560 repliesApplied
2/5net/mlx5e: advertise max RSS indirection table size to ethtooldrivers/net/ethernet/mellanox/mlx5/core/en/rqt.c drivers/net/ethernet/mellanox/mlx5/core/en/rqt.h drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c+6 -20 repliesApplied
3/5net/mlx5e: resize non-default RSS indirection tables on channel changedrivers/net/ethernet/mellanox/mlx5/core/en/rss.c drivers/net/ethernet/mellanox/mlx5/core/en/rss.h drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.c +1 more+60 -90 repliesApplied
4/5net/mlx5e: resize configured default RSS context table on channel changedrivers/net/ethernet/mellanox/mlx5/core/en/rss.c drivers/net/ethernet/mellanox/mlx5/core/en/rss.h drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.c +3 more+49 -290 repliesApplied
5/5net/mlx5e: increase RSS indirection table spread factordrivers/net/ethernet/mellanox/mlx5/core/en/rqt.h+1 -10 repliesApplied

Reviews trailers per patch

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

PatchNimrod Oren
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

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

Read the v1 thread

Cover letter [PATCH net-next 0/5] net/mlx5e: improve RSS indirection table sizing and resizing

Hi,

This series by Yael improves mlx5e RSS indirection table handling around channel count changes and large RSS configurations.

The series:
* removes the XOR8-specific channel count limitation,
* advertises the maximum supported RSS indirection table size,
* fixes resizing of non-default RSS contexts,
* allows resizing configured default RSS contexts during channel changes,
* and increases the default RSS spread factor from 2x to 4x to improve traffic distribution for large channel counts.

Together, these changes make RSS table sizing more flexible and robust, while improving load balancing behavior on large systems.

Thanks,
Tariq

Yael Chemla (5):
net/mlx5e: remove channel count limit for XOR8 RSS hash net/mlx5e: advertise max RSS indirection table size to ethtool net/mlx5e: resize non-default RSS indirection tables on channel change net/mlx5e: resize configured default RSS context table on channel
change
net/mlx5e: increase RSS indirection table spread factor

 .../net/ethernet/mellanox/mlx5/core/en/rqt.c  |   9 --
 .../net/ethernet/mellanox/mlx5/core/en/rqt.h  |   2 +-
 .../net/ethernet/mellanox/mlx5/core/en/rss.c  |  29 ++++-
 .../net/ethernet/mellanox/mlx5/core/en/rss.h  |   6 +-
 .../ethernet/mellanox/mlx5/core/en/rx_res.c   |  40 +++++--
 .../ethernet/mellanox/mlx5/core/en/rx_res.h   |   4 +-
 .../ethernet/mellanox/mlx5/core/en_ethtool.c  | 106 ++++++++----------
 .../net/ethernet/mellanox/mlx5/core/en_main.c |   9 +-
 8 files changed, 112 insertions(+), 93 deletions(-)

base-commit: 63751099502d10f0aa6bb35273e56c5800cc4e3a

Signature · 1 line
2.44.0