Skip to content

Symmetric OR-XOR RSS hash

Gal Pressman netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6update UAPI header copiesuapi/linux/ethtool.h uapi/linux/ethtool_netlink.h uapi/linux/ethtool_netlink_generated.h +5 more+924 -8940 replies
2/6Print unknown RSS hash function value when encounteredethtool.c netlink/rss.c+12 -10 replies
3/6Use RXH_XFRM_NO_CHANGE instead of hard-coded valueethtool.c+1 -10 replies
4/6Move input_xfrm outside of hfunc loopnetlink/rss.c+6 -60 replies
5/6Print unknown input_xfrm values when encounteredethtool.c netlink/rss.c+11 -00 replies
6/6Symmetric OR-XOR RSS hashethtool.8.in ethtool.c netlink/rss.c+19 -90 replies

Reviews trailers per patch

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

PatchCosmin RatiuTariq Toukan
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-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 ethtool-next 0/6] 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.
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/[email protected]/

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
Signature · 1 line
2.40.1