]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf82e307bc76aa4989632b3fc87a29d92b7b57657
tree92422486664c4b7203e72f26559a5c5e675afcdc
parenta5ef241ebe39fcc62ec6086f1c1c5135f6d21bc3
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: 51af240bf7d2 ("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