]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Read congestion counters from all ports when lag is active
authorMark Zhang <markzhang@nvidia.com>
Tue, 2 Feb 2021 11:28:29 +0000 (13:28 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 12 Mar 2021 23:29:31 +0000 (15:29 -0800)
commit2f02dd12f27f3daf8ada367e7de13ffd1024adf1
tree260bfb5049b57705f0dc6a0c6f3659a9406d8829
parentef188e37e0c20f5108755e582a1461005edcf013
net/mlx5: Read congestion counters from all ports when lag is active

Read congestion counters from all ports in any lag mode rather than
only in RoCE lag mode (e.g., VF lag).

Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lag.c