]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0acd728fa1548c19ec34706a0a1aa9d620c7dc5f
treec210625c36bedc3c6559bcb29f23f4d136dd8f29
parentfa69bf70a835de97f2d5c8f3b2d0a23d06661f2d
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