summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-06-11 07:59:44 -0700
committerJakub Kicinski <kuba@kernel.org>2025-06-12 17:16:20 -0700
commit9bb00786fc61e865e121aa20dd12aa4d1311a990 (patch)
tree8b10a3834b071f8549bc6165aacf7776f16f4c7b /scripts/lib
parentfac4b41741b5cd0826cf0fa5b14e177f70a6b509 (diff)
net: ethtool: add dedicated callbacks for getting and setting rxfh fields
We mux multiple calls to the drivers via the .get_nfc and .set_nfc callbacks. This is slightly inconvenient to the drivers as they have to de-mux them back. It will also be awkward for netlink code to construct struct ethtool_rxnfc when it wants to get info about RX Flow Hash, from the RSS module. Add dedicated driver callbacks. Create struct ethtool_rxfh_fields which contains only data relevant to RXFH. Maintain the names of the fields to avoid having to heavily modify the drivers. For now support both callbacks, once all drivers are converted ethtool_*et_rxfh_fields() will stop using the rxnfc callbacks. Link: https://patch.msgid.link/20250611145949.2674086-5-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions