]> 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)
commitfe7682ed66515a214afd44263463f9617aa64196
tree664814f03b2d084b63f56ccbbc42ed3ba1db2d81
parentb2c2d808143ef7738c4121a01a45741a45208075
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