Commit b6272e5
net: ixgbe: convert to use .get_rx_ring_count
Convert the ixgbe driver to use the new .get_rx_ring_count ethtool
operation for handling ETHTOOL_GRXRINGS command. This simplifies the
code by extracting the ring count logic into a dedicated callback.
The new callback provides the same functionality in a more direct way,
following the ongoing ethtool API modernization.
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Paul Menzel <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Signed-off-by: NipaLocal <nipa@local>1 parent b33a24d commit b6272e5
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2807 | 2807 | | |
2808 | 2808 | | |
2809 | 2809 | | |
| 2810 | + | |
| 2811 | + | |
| 2812 | + | |
| 2813 | + | |
| 2814 | + | |
| 2815 | + | |
| 2816 | + | |
| 2817 | + | |
2810 | 2818 | | |
2811 | 2819 | | |
2812 | 2820 | | |
2813 | 2821 | | |
2814 | 2822 | | |
2815 | 2823 | | |
2816 | 2824 | | |
2817 | | - | |
2818 | | - | |
2819 | | - | |
2820 | | - | |
2821 | | - | |
2822 | 2825 | | |
2823 | 2826 | | |
2824 | 2827 | | |
| |||
3745 | 3748 | | |
3746 | 3749 | | |
3747 | 3750 | | |
| 3751 | + | |
3748 | 3752 | | |
3749 | 3753 | | |
3750 | 3754 | | |
| |||
3793 | 3797 | | |
3794 | 3798 | | |
3795 | 3799 | | |
| 3800 | + | |
3796 | 3801 | | |
3797 | 3802 | | |
3798 | 3803 | | |
| |||
0 commit comments