]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add outbound PCI buffer overflow counter
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 11 May 2017 23:47:02 +0000 (02:47 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 20 Aug 2017 09:57:19 +0000 (12:57 +0300)
commitdd3900a2a4da07cf942d50937bc35415d6fd3bca
tree664814f03b2d084b63f56ccbbc42ed3ba1db2d81
parent1bde89f631154ae8a0963a7883ba945813706b52
net/mlx5e: Add outbound PCI buffer overflow counter

Add outbound_pci_buffer_overflow to ethtool output for monitoring the
number of packets that were dropped due to lack of PCIe buffers on
receive path from NIC port toward the host(s).

This counter is valid only in case that tx_overflow_buffer_pkt is
supported in MCAM enhanced features.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h
include/linux/mlx5/mlx5_ifc.h