OSDN Git Service

net/mlx5e: Accumulate port PTP TX stats with other channels stats
authorAya Levin <ayal@nvidia.com>
Sun, 28 Feb 2021 16:40:18 +0000 (18:40 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 10 Mar 2021 19:01:52 +0000 (11:01 -0800)
commit354521eebd02db45168b9c8c3795078f90c327b7
tree92422486664c4b7203e72f26559a5c5e675afcdc
parentd5dd03b26ba49c4ffe67ee1937add82293c19794
net/mlx5e: Accumulate port PTP TX stats with other channels stats

In addition to .get_ethtool_stats, add port PTP TX stats to
.ndo_get_stats64.

Fixes: 145e5637d941 ("net/mlx5e: Add TX PTP port object support")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c