net/mlx5e: E-Switch, Add PTP counters for uplink representor
authorAya Levin <ayal@nvidia.com>
Wed, 19 Jan 2022 16:28:20 +0000 (18:28 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 17 Feb 2022 07:55:14 +0000 (23:55 -0800)
commit7c5f940d264e4c3d4f4fdbb4dc84b9eca6d3ea43
tree12221890a98613dfd440c23875fb39a85a732ee3
parent4b5fba4a3ac790ad79bb4d36e7a4398702429b4d
net/mlx5e: E-Switch, Add PTP counters for uplink representor

There is a configuration where the uplink interface is the synchronizer.
Add PTP counters for this interface for monitoring.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.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