Commit bba18f3
net: bnxt: extract GRXRINGS from .get_rxnfc
Commit 84eaf43 ("net: ethtool: add get_rx_ring_count callback to
optimize RX ring queries") added specific support for GRXRINGS callback,
simplifying .get_rxnfc.
Remove the handling of GRXRINGS in .get_rxnfc() by moving it to the new
.get_rx_ring_count().
This simplifies the RX ring count retrieval and aligns bnxt with the new
ethtool API for querying RX ring parameters.
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20251127-grxrings_broadcom-v1-1-b0b182864950@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 2ce992a commit bba18f3
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1770 | 1770 | | |
1771 | 1771 | | |
1772 | 1772 | | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
1773 | 1780 | | |
1774 | 1781 | | |
1775 | 1782 | | |
1776 | 1783 | | |
1777 | 1784 | | |
1778 | 1785 | | |
1779 | 1786 | | |
1780 | | - | |
1781 | | - | |
1782 | | - | |
1783 | | - | |
1784 | 1787 | | |
1785 | 1788 | | |
1786 | 1789 | | |
| |||
5616 | 5619 | | |
5617 | 5620 | | |
5618 | 5621 | | |
| 5622 | + | |
5619 | 5623 | | |
5620 | 5624 | | |
5621 | 5625 | | |
| |||
0 commit comments