summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-09-17 02:58:12 -0700
committerJakub Kicinski <kuba@kernel.org>2025-09-18 07:07:38 -0700
commitd5544688d4217f370e9189e17b6536b469ee0f1d (patch)
treec66cc360855d99dfa0359add5a92bf75098d9eec /rust/helpers/build_bug.c
parent84eaf4359c36b0ba888f571a964138d22ba5914f (diff)
net: ethtool: update set_rxfh to use ethtool_get_rx_ring_count helper
Modify ethtool_set_rxfh() to use the new ethtool_get_rx_ring_count() helper function for retrieving the number of RX rings instead of directly calling get_rxnfc with ETHTOOL_GRXRINGS. This way, we can leverage the new helper if it is available in ethtool_ops. Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20250917-gxrings-v4-5-dae520e2e1cb@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions