mbox series

[ethtool-next,0/6] Symmetric OR-XOR RSS hash

Message ID 20250303121941.105747-1-gal@nvidia.com (mailing list archive)
Headers show
Series Symmetric OR-XOR RSS hash | expand

Message

Gal Pressman March 3, 2025, 12:19 p.m. UTC
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.
Also performed some misc cleanups for things I've noticed while touching
the area, see individual patches for information.

Kernel submission was merged:
https://lore.kernel.org/netdev/20250224174416.499070-1-gal@nvidia.com/

Thanks,
Gal

Gal Pressman (6):
  update UAPI header copies
  Print unknown RSS hash function value when encountered
  Use RXH_XFRM_NO_CHANGE instead of hard-coded value
  Move input_xfrm outside of hfunc loop
  Print unknown input_xfrm values when encountered
  Symmetric OR-XOR RSS hash

 ethtool.8.in                           |  14 +-
 ethtool.c                              |  20 +-
 netlink/rss.c                          |  30 +-
 uapi/linux/ethtool.h                   |  31 +
 uapi/linux/ethtool_netlink.h           | 899 +------------------------
 uapi/linux/ethtool_netlink_generated.h | 821 ++++++++++++++++++++++
 uapi/linux/if_link.h                   |  20 +
 uapi/linux/net_tstamp.h                |  11 +
 uapi/linux/rtnetlink.h                 |  22 +-
 uapi/linux/stddef.h                    |  13 +-
 uapi/linux/types.h                     |   1 +
 11 files changed, 972 insertions(+), 910 deletions(-)
 create mode 100644 uapi/linux/ethtool_netlink_generated.h