diff options
| author | Breno Leitao <leitao@debian.org> | 2025-11-18 01:44:56 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-19 20:14:21 -0800 |
| commit | 672cb5c2a9584802ad43d61209d5e24cccee823d (patch) | |
| tree | 2c6f39be5b74cfbabd53223dc3e17ef8388c6cb3 /net/unix/af_unix.c | |
| parent | 6152f41da624a7b2fd854fe1216a327b8eb15f8d (diff) | |
net: vmxnet3: convert to use .get_rx_ring_count
Convert the vmxnet3 driver to use the new .get_rx_ring_count ethtool
operation instead of implementing .get_rxnfc solely for handling
ETHTOOL_GRXRINGS command. This simplifies the code by removing the
switch statement and replacing it with a direct return of the queue
count.
The new callback provides the same functionality in a more direct way,
following the ongoing ethtool API modernization.
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20251118-vmxnet3_grxrings-v1-1-ed8abddd2d52@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
