aboutsummaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorAlaa Hleihel <alaa@nvidia.com>2020-08-25 10:41:50 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2020-09-21 17:22:23 -0700
commitb521105b68a2e3334d69202fb354d7b711b01aa3 (patch)
tree81573ca8fd022603d8a42f3c4f3d871a1e3c910d /net/tipc
parent47c97e6b10a1e3680cad539929da092bfa535446 (diff)
net/mlx5e: Fix using wrong stats_grps in mlx5e_update_ndo_stats()
The cited commit started to reuse function mlx5e_update_ndo_stats() for the representors as well. However, the function is hard-coded to work on mlx5e_nic_stats_grps only. Due to this issue, the representors statistics were not updated in the output of "ip -s". Fix it to work with the correct group by extracting it from the caller's profile. Also, while at it and since this function became generic, move it to en_stats.c and rename it accordingly. Fixes: 8a236b15144b ("net/mlx5e: Convert rep stats to mlx5e_stats_grp-based infra") Signed-off-by: Alaa Hleihel <alaa@nvidia.com> Reviewed-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions