Commit 4834466
net: virtio_net: add get_rxrings ethtool callback for RX ring queries
Replace the existing virtnet_get_rxnfc callback with a dedicated
virtnet_get_rxrings implementation to provide the number of RX rings
directly via the new ethtool_ops get_rx_ring_count pointer.
This simplifies the RX ring count retrieval and aligns virtio_net with
the new ethtool API for querying RX ring parameters.
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250917-gxrings-v4-8-dae520e2e1cb@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 8b7c4b6 commit 4834466
1 file changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5609 | 5609 | | |
5610 | 5610 | | |
5611 | 5611 | | |
5612 | | - | |
| 5612 | + | |
5613 | 5613 | | |
5614 | 5614 | | |
5615 | | - | |
5616 | 5615 | | |
5617 | | - | |
5618 | | - | |
5619 | | - | |
5620 | | - | |
5621 | | - | |
5622 | | - | |
5623 | | - | |
5624 | | - | |
5625 | | - | |
| 5616 | + | |
5626 | 5617 | | |
5627 | 5618 | | |
5628 | 5619 | | |
| |||
5650 | 5641 | | |
5651 | 5642 | | |
5652 | 5643 | | |
5653 | | - | |
| 5644 | + | |
5654 | 5645 | | |
5655 | 5646 | | |
5656 | 5647 | | |
| |||
0 commit comments