aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@mellanox.com>2018-02-08 15:09:57 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2018-03-26 13:47:12 -0700
commit7cbaf9a3ea09ea36c7101e7b244f734f9c09c72b (patch)
treed3ee29e9741edb874478772576ea050104f69230 /drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
parentnet/mlx5: Add packet dropped while vport down statistics (diff)
downloadlinux-dev-7cbaf9a3ea09ea36c7101e7b244f734f9c09c72b.tar.xz
linux-dev-7cbaf9a3ea09ea36c7101e7b244f734f9c09c72b.zip
net/mlx5e: Add interface down dropped packets statistics
Added the following packets drop counter: Rx interface down dropped packets - counts packets which were received while the ETH interface was down. This counter will be shown on ethtool as a new counter called rx_if_down_packets. The implementation allocates a q_counter for drop rq which gets all the received traffic while the interface is down. Signed-off-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c')
0 files changed, 0 insertions, 0 deletions