diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2024-12-10 10:27:06 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-18 15:18:25 -0800 |
commit | c9cfced17365b1df8c6ae6cd5db56aebd7ed9b57 (patch) | |
tree | 1584bb75672f311abd56586ba3a205e9b5a5d277 /drivers/net/ethernet/broadcom/tg3.c | |
parent | 4b252f2dab2ebb654eebbb2aee980ab8373b2295 (diff) |
net/mlx5e: Report rx_discards_phy via rx_dropped
We noticed a high number of rx_discards_phy events on certain servers while
running `ethtool -S`. However, this critical counter is not currently
included in the standard /proc/net/dev statistics file, making it difficult
to monitor effectively—especially given the diversity of vendors across a
large fleet of servers.
Let's report it via the standard rx_dropped metric.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Cc: Saeed Mahameed <saeedm@nvidia.com>
Cc: Leon Romanovsky <leon@kernel.org>
Cc: Gal Pressman <gal@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241210022706.6665-1-laoar.shao@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.c')
0 files changed, 0 insertions, 0 deletions