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)
commit093bd764693711667e7f0dfd95dfa1b938efcec9
tree260bfb5049b57705f0dc6a0c6f3659a9406d8829
parent7976092241645be4d7ee46ebc894b29a74351daa
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