[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250609173442.1745856-1-kuba@kernel.org>
Date: Mon, 9 Jun 2025 10:34:36 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: michael.chan@...adcom.com,
pavan.chebbi@...adcom.com
Cc: willemdebruijn.kernel@...il.com,
netdev@...r.kernel.org,
davem@...emloft.net,
edumazet@...gle.com,
pabeni@...hat.com,
andrew+netdev@...n.ch,
horms@...nel.org,
Jakub Kicinski <kuba@...nel.org>
Subject: [RFC net-next 0/6] net: ethtool: support including Flow Label in the flow hash for RSS
Add support for using IPv6 Flow Label in Rx hash computation
and therefore RSS queue selection.
Michael, Pavan, could you please give this series a whirl?
I see the capability bit in bnxt but none of the devices
I have access to seem to expose it. Note the test in the
last patch which you should be able to run. ethtool with
the support: https://github.com/kuba-moo/ethtool
Jakub Kicinski (6):
net: ethtool: factor out the validation for ETHTOOL_SRXFH
net: ethtool: support including Flow Label in the flow hash for RSS
eth: fbnic: support RSS on IPv6 Flow Label
eth: bnxt: support RSS on IPv6 Flow Label
selftests: drv-net: import things in lib one by one
selftests: drv-net: add test for RSS on flow label
.../testing/selftests/drivers/net/hw/Makefile | 1 +
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 +
include/uapi/linux/ethtool.h | 1 +
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +
.../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 26 ++-
.../net/ethernet/meta/fbnic/fbnic_ethtool.c | 2 +-
drivers/net/ethernet/meta/fbnic/fbnic_rpc.c | 2 +
net/ethtool/ioctl.c | 56 ++++++-
.../drivers/net/hw/lib/py/__init__.py | 17 ++
.../drivers/net/hw/rss_flow_label.py | 151 ++++++++++++++++++
.../selftests/drivers/net/lib/py/__init__.py | 14 ++
11 files changed, 260 insertions(+), 13 deletions(-)
create mode 100755 tools/testing/selftests/drivers/net/hw/rss_flow_label.py
--
2.49.0
Powered by blists - more mailing lists