OSDN Git Service

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)
commit168af00a3b7b4cb9522687ea08bc2dfa5e9b5774
tree633a28d4f4fde9b23a7818a04246449257ae1227
parent9659e49a6db45474000e4df1a2875bd0d5ab2390
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: 8bfaf07f7806 ("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