diff options
| author | Breno Leitao <leitao@debian.org> | 2025-09-17 02:58:13 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-18 07:07:38 -0700 |
| commit | dce08107f1f305b0fbef115410034b1fb3b7e070 (patch) | |
| tree | dd4cb599d71ca4b8b2798de0a66abb8095f129bb /rust/helpers/build_bug.c | |
| parent | d5544688d4217f370e9189e17b6536b469ee0f1d (diff) | |
net: ethtool: update set_rxfh_indir 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-6-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
