diff options
| author | Breno Leitao <leitao@debian.org> | 2025-11-21 20:02:35 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-25 06:45:02 +0300 |
| commit | 737e14c5dce3764125bb56de1b343f0e4d21492d (patch) | |
| tree | a11210b8cbf2a303355475d677bacc770c82cb89 /include/linux/debugobjects.h | |
| parent | a8ff4842da50b5f4ea03d5d38a2ee93b701fe8e6 (diff) | |
| download | linux-737e14c5dce3764125bb56de1b343f0e4d21492d.tar.xz | |
net: mvneta: convert to use .get_rx_ring_count
Convert the mvneta 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/20251121-marvell-v1-1-8338f3e55a4c@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
