net/mlx5e: Enable all available stats for uplink reps
authorVlad Buslov <vladbu@mellanox.com>
Tue, 21 Jan 2020 18:08:42 +0000 (20:08 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 23 Jan 2020 06:30:12 +0000 (22:30 -0800)
commit7c453526dc50460c63ff28df7673570dd057c5d0
treec210625c36bedc3c6559bcb29f23f4d136dd8f29
parent8520fa57a4e934eff631883cf80744d3a84c734b
net/mlx5e: Enable all available stats for uplink reps

Extend stats group array of uplink representor with all stats that are
available for PF in legacy mode, besides ipsec and TLS which are not
supported.

Don't output vport stats for uplink representor because they are already
handled by 802_3 group (with different names: {tx|rx}_{bytes|packets}_phy).

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h