Symmetric OR-XOR RSS hash
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
- v5 Latest4 patches 0 repliesApplied 4/4
- v45 patches 4 repliesSuperseded
- v35 patches 3 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 8 replies | Superseded | |
| v1 | 2 patches | 2 replies | Superseded |
Patches in v5 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ethtool: Symmetric OR-XOR RSS hashDocumentation/ Documentation/ drivers/ +4 more | +24 | 0 replies | Applied |
| 2/4 | net/mlx5e: Symmetric OR-XOR RSS hash controldrivers/ drivers/ drivers/ +4 more | +38 | 0 replies | Applied |
| 3/4 | selftests: drv-net: Make rand_port() get a port more reliablytools/ | +4 | 0 replies | Applied |
| 4/4 | selftests: drv-net-hw: Add a test for symmetric RSS hashtools/ tools/ tools/ | +90 | 0 replies | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Cosmin Ratiu | Tariq Toukan | Edward Cree | Nimrod Oren |
|---|---|---|---|---|
| 1/4 | R-b | R-b | R-b | |
| 2/4 | R-b | R-b | ||
| 3/4 | R-b | |||
| 4/4 | R-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.
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