summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-11-13 08:46:04 -0800
committerJakub Kicinski <kuba@kernel.org>2025-11-17 16:57:32 -0800
commit945499665f63197801b64fabb0bccf9d15ed09bf (patch)
tree74e1fe4178e48a9ebf3c46d6037fa6fce202ae40 /tools/perf/scripts/python
parent467c3f008d0cafe8c21af7ad9f3036c1a15ec13d (diff)
downloadlinux-945499665f63197801b64fabb0bccf9d15ed09bf.tar.gz
linux-945499665f63197801b64fabb0bccf9d15ed09bf.zip
mlx5: extract GRXRINGS from .get_rxnfc
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() for both the mlx5 ethernet and IPoIB drivers. The ETHTOOL_GRXRINGS handling was previously kept in .get_rxnfc() to support "ethtool -x" when CONFIG_MLX5_EN_RXNFC=n. With the new dedicated .get_rx_ring_count() callback, this is no longer necessary. This simplifies the RX ring count retrieval and aligns mlx5 with the new ethtool API for querying RX ring parameters. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20251113-mlx_grxrings-v1-2-0017f2af7dd0@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions