public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] net: convert drivers to .get_rx_ring_count()
@ 2026-01-09 17:40 Breno Leitao
  2026-01-09 17:40 ` [PATCH net-next 1/8] net: octeontx2: convert to use .get_rx_ring_count Breno Leitao
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Breno Leitao @ 2026-01-09 17:40 UTC (permalink / raw)
  To: Sunil Goutham, Geetha sowjanya, Subbaraya Sundeep, hariprasad,
	Bharat Bhushan, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Cai Huoqing, Christian Benvenuti,
	Satish Kharat, Dimitris Michailidis, Manish Chopra, Jian Shen,
	Salil Mehta, Jijie Shao
  Cc: netdev, linux-kernel, Breno Leitao

Commit 84eaf4359c36 ("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 the following
drivers with the new ethtool API for querying RX ring parameters.
  * hns3
  * hns
  * qede
  * niu
  * funeth
  * enic
  * hinic
  * octeontx2

PS: all of these change were compile-tested only.

Signed-off-by: Breno Leitao <leitao@debian.org>
---
Breno Leitao (8):
      net: octeontx2: convert to use .get_rx_ring_count
      net: hinic: convert to use .get_rx_ring_count
      net: enic: convert to use .get_rx_ring_count
      net: funeth: convert to use .get_rx_ring_count
      net: niu: convert to use .get_rx_ring_count
      net: qede: convert to use .get_rx_ring_count
      net: hns: convert to use .get_rx_ring_count
      net: hns3: convert to use .get_rx_ring_count

 drivers/net/ethernet/cisco/enic/enic_ethtool.c        | 11 ++++++++---
 drivers/net/ethernet/fungible/funeth/funeth_ethtool.c | 14 +++-----------
 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c      | 16 +++-------------
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c    | 12 +++++++++---
 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c     | 19 ++++---------------
 .../net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c | 13 +++++++++----
 drivers/net/ethernet/qlogic/qede/qede_ethtool.c       | 12 +++++++++---
 drivers/net/ethernet/sun/niu.c                        | 11 ++++++++---
 8 files changed, 53 insertions(+), 55 deletions(-)
---
base-commit: 6ed2b32038ec31450d0d82c8bda5d6c4826b9355
change-id: 20260109-grxring_big_v1-45b5faf768e2
prerequisite-change-id: 20260108-grxring_big-95b950cf9f4b:v1

Best regards,
--  
Breno Leitao <leitao@debian.org>


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-01-12 21:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-09 17:40 [PATCH net-next 0/8] net: convert drivers to .get_rx_ring_count() Breno Leitao
2026-01-09 17:40 ` [PATCH net-next 1/8] net: octeontx2: convert to use .get_rx_ring_count Breno Leitao
2026-01-12  7:26   ` Hariprasad Kelam
2026-01-09 17:40 ` [PATCH net-next 2/8] net: hinic: " Breno Leitao
2026-01-09 17:40 ` [PATCH net-next 3/8] net: enic: " Breno Leitao
2026-01-09 17:40 ` [PATCH net-next 4/8] net: funeth: " Breno Leitao
2026-01-09 17:40 ` [PATCH net-next 5/8] net: niu: " Breno Leitao
2026-01-09 17:40 ` [PATCH net-next 6/8] net: qede: " Breno Leitao
2026-01-09 17:40 ` [PATCH net-next 7/8] net: hns: " Breno Leitao
2026-01-12  3:02   ` Jijie Shao
2026-01-09 17:40 ` [PATCH net-next 8/8] net: hns3: " Breno Leitao
2026-01-12  3:03   ` Jijie Shao
2026-01-12 20:57 ` [PATCH net-next 0/8] net: convert drivers to .get_rx_ring_count() patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox