Skip to content

Symmetric OR-XOR RSS hash

Gal Pressman linux-doc netdev 5 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. v5 Latest4 patches 0 repliesApplied 4/4
  2. v45 patches 4 repliesSuperseded
  3. v35 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches8 repliesSuperseded
v12 patches2 repliesSuperseded

Patches in v5 All 4 applied

#Subject and filesSizeRepliesApplied
1/4ethtool: Symmetric OR-XOR RSS hashDocumentation/networking/ethtool-netlink.rst Documentation/networking/scaling.rst drivers/net/ethernet/intel/iavf/iavf_ethtool.c +4 more+24 -140 repliesApplied
2/4net/mlx5e: Symmetric OR-XOR RSS hash controldrivers/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 +4 more+38 -150 repliesApplied
3/4selftests: drv-net: Make rand_port() get a port more reliablytools/testing/selftests/net/lib/py/utils.py+4 -110 repliesApplied
4/4selftests: drv-net-hw: Add a test for symmetric RSS hashtools/testing/selftests/drivers/net/hw/Makefile tools/testing/selftests/drivers/net/hw/rss_input_xfrm.py tools/testing/selftests/net/lib/py/utils.py+90 -20 repliesApplied

Reviews trailers per patch

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

PatchCosmin RatiuTariq ToukanEdward CreeNimrod Oren
1/4R-b R-b R-b
2/4R-b R-b
3/4R-b
4/4R-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 4 reviewers.

Read the v5 thread

Cover letter [PATCH net-next v5 0/4] Symmetric OR-XOR RSS hash

Add support for a new type of input_xfrm: Symmetric OR-XOR. Symmetric OR-XOR performs hash as follows:
(SRC_IP | DST_IP, SRC_IP ^ DST_IP, SRC_PORT | DST_PORT, SRC_PORT ^ DST_PORT)

Configuration is done through ethtool -x/X command.
For mlx5, the default is already symmetric hash, this patch now exposes this to userspace and allows enabling/disabling of the feature.

Changelog -
v4->v5: https://lore.kernel.org/netdev/[email protected]/
* Documentation rewording (Bagas)
* Test adjustments (Jakub)
* Verify system has at least two CPUs to run the test

v3->v4: https://lore.kernel.org/netdev/[email protected]/
* Test adjustments (Jakub)

v2->v3: https://lore.kernel.org/netdev/[email protected]/
* Reorder fields in ethtool_ops (Jakub)
* Add a selftest (Jakub)

v1->v2: https://lore.kernel.org/all/[email protected]/
* Fix wording in comments (Edward)

Thanks,
Gal

Gal Pressman (4):
ethtool: Symmetric OR-XOR RSS hash
net/mlx5e: Symmetric OR-XOR RSS hash control
selftests: drv-net: Make rand_port() get a port more reliably
selftests: drv-net-hw: Add a test for symmetric RSS hash

 Documentation/networking/ethtool-netlink.rst  |  2 +-
 Documentation/networking/scaling.rst          | 15 +++-
 .../net/ethernet/intel/iavf/iavf_ethtool.c    |  2 +-
 drivers/net/ethernet/intel/ice/ice_ethtool.c  |  2 +-
 .../net/ethernet/mellanox/mlx5/core/en/rss.c  | 13 ++-
 .../net/ethernet/mellanox/mlx5/core/en/rss.h  |  4 +-
 .../ethernet/mellanox/mlx5/core/en/rx_res.c   | 11 +--
 .../ethernet/mellanox/mlx5/core/en/rx_res.h   |  5 +-
 .../net/ethernet/mellanox/mlx5/core/en/tir.c  |  2 +-
 .../net/ethernet/mellanox/mlx5/core/en/tir.h  |  1 +
 .../ethernet/mellanox/mlx5/core/en_ethtool.c  | 17 +++-
 include/linux/ethtool.h                       |  5 +-
 include/uapi/linux/ethtool.h                  |  4 +
 net/ethtool/ioctl.c                           |  8 +-
 .../testing/selftests/drivers/net/hw/Makefile |  1 +
 .../drivers/net/hw/rss_input_xfrm.py          | 87 +++++++++++++++++++
 tools/testing/selftests/net/lib/py/utils.py   | 17 ++--
 17 files changed, 155 insertions(+), 41 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/hw/rss_input_xfrm.py
Signature · 1 line
2.40.1