[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250611145949.2674086-1-kuba@kernel.org>
Date: Wed, 11 Jun 2025 07:59:40 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
andrew+netdev@...n.ch,
horms@...nel.org,
ecree.xilinx@...il.com,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next 0/9] net: ethtool: add dedicated RXFH driver callbacks
Andrew asked me to plumb the RXFH header fields configuration
thru to netlink. Before we do that we need to clean up the driver
facing API a little bit. Right now RXFH configuration shares the
callbacks with n-tuple filters. The future of n-tuple filters
is uncertain within netlink. Separate the two for clarity both
of the core code and the driver facing API.
This series adds the new callbacks and converts the initial
handful of drivers. There is 31 more driver patches to come,
then we can stop calling rxnfc in the core for rxfh.
Jakub Kicinski (9):
net: ethtool: copy the rxfh flow handling
net: ethtool: remove the duplicated handling from rxfh and rxnfc
net: ethtool: require drivers to opt into the per-RSS ctx RXFH
net: ethtool: add dedicated callbacks for getting and setting rxfh
fields
eth: remove empty RXFH handling from drivers
eth: fbnic: migrate to new RXFH callbacks
net: drv: vmxnet3: migrate to new RXFH callbacks
net: drv: virtio: migrate to new RXFH callbacks
net: drv: hyperv: migrate to new RXFH callbacks
include/linux/ethtool.h | 23 ++++
drivers/net/ethernet/google/gve/gve_ethtool.c | 6 -
drivers/net/ethernet/marvell/mvneta.c | 2 -
.../ethernet/mellanox/mlx5/core/en_ethtool.c | 1 +
.../net/ethernet/meta/fbnic/fbnic_ethtool.c | 111 ++++++++--------
drivers/net/ethernet/sfc/ethtool.c | 1 +
drivers/net/hyperv/netvsc_drv.c | 30 ++---
drivers/net/virtio_net.c | 47 +++----
drivers/net/vmxnet3/vmxnet3_ethtool.c | 74 ++++-------
net/ethtool/ioctl.c | 121 +++++++++++++++---
10 files changed, 239 insertions(+), 177 deletions(-)
--
2.49.0
Powered by blists - more mailing lists