]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5e: Move RQs diagnose to a dedicated function
authorAmir Tzin <amirtz@nvidia.com>
Sun, 9 Feb 2025 10:17:12 +0000 (12:17 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Feb 2025 18:46:17 +0000 (10:46 -0800)
commit913175b3f919eacba5e5d303897371f6058648a0
tree05fafbc39ca714a003a2a2d9c055aa59c2a38b13
parentb820864335c8b39b0e90d04ecbebdeed4d3d6dfd
net/mlx5e: Move RQs diagnose to a dedicated function

Move rx reporter RQs diagnose from mlx5e_rx_reporter_diagnose() to a
dedicated function. This change is a preparation for the following
series which extends diagnose output for the rx reporter. While at it,
also pass a mlx5e_priv pointer to
mlx5e_rx_reporter_diagnose_common_config() as this is the argument the
latter actually needs.

Signed-off-by: Amir Tzin <amirtz@nvidia.com>
Reviewed-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250209101716.112774-12-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c