]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Present the representors SW stats when state is not opened
authorTariq Toukan <tariqt@mellanox.com>
Thu, 8 Nov 2018 09:37:24 +0000 (11:37 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 25 Jan 2019 20:16:14 +0000 (12:16 -0800)
commitff0130f00aa65f6ef812796a1e87edc953b2e4c9
tree633a28d4f4fde9b23a7818a04246449257ae1227
parent35f057865d1ba95bd506769a6ab4dd9b9b330a87
net/mlx5e: Present the representors SW stats when state is not opened

This behavior is already adopted for all other cases in the cited patch.
The representor's functions were missed, here we modify the them to
behave similarly.

Fixes: 26171a0a2f2e ("net/mlx5e: Present SW stats when state is not opened")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c