summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMajd Dibbiny <majd@mellanox.com>2017-12-21 18:38:26 +0300
committerJason Gunthorpe <jgg@mellanox.com>2017-12-22 02:06:07 +0300
commit71a0ff65a21bf3e2c4fde208c4a635ed2bbb4e81 (patch)
tree78ca981262559cd52b42de78c1b4ef981c9589bf /net
parente3524b269e451cff68b19f32b15448933a53a4f4 (diff)
downloadlinux-71a0ff65a21bf3e2c4fde208c4a635ed2bbb4e81.tar.xz
IB/mlx5: Fix congestion counters in LAG mode
Congestion counters are counted and queried per physical function. When working in LAG mode, CNP packets can be sent or received on both of the functions, thus congestion counters should be aggregated from the two physical functions. Fixes: e1f24a79f424 ("IB/mlx5: Support congestion related counters") Signed-off-by: Majd Dibbiny <majd@mellanox.com> Reviewed-by: Aviv Heller <avivh@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions