]> 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)
commit29917a13c5f17659093503f5674f6a4e63dacf73
treec210625c36bedc3c6559bcb29f23f4d136dd8f29
parent29073a3be49538b13ef4a4f55e4558a491bd4f8d
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