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>
This commit is contained in:

committed by
Saeed Mahameed

parent
068aef33be
commit
efae7f78c4
@@ -1864,7 +1864,9 @@ struct mlx5_ifc_pcie_perf_cntrs_grp_data_layout_bits {
|
||||
|
||||
u8 crc_error_tlp[0x20];
|
||||
|
||||
u8 reserved_at_140[0x40];
|
||||
u8 tx_overflow_buffer_pkt_high[0x20];
|
||||
|
||||
u8 tx_overflow_buffer_pkt_low[0x20];
|
||||
|
||||
u8 outbound_stalled_reads[0x20];
|
||||
|
||||
@@ -7767,7 +7769,7 @@ struct mlx5_ifc_pcam_reg_bits {
|
||||
struct mlx5_ifc_mcam_enhanced_features_bits {
|
||||
u8 reserved_at_0[0x7b];
|
||||
u8 pcie_outbound_stalled[0x1];
|
||||
u8 reserved_at_7c[0x1];
|
||||
u8 tx_overflow_buffer_pkt[0x1];
|
||||
u8 mtpps_enh_out_per_adj[0x1];
|
||||
u8 mtpps_fs[0x1];
|
||||
u8 pcie_performance_group[0x1];
|
||||
|
Reference in New Issue
Block a user