]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9b6f05eff6026252c844df1106f934c59da6cbf
tree12221890a98613dfd440c23875fb39a85a732ee3
parent15f80a6b97bfce3dadd45cc15ec5e9569171611f
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