net/mlx5e: Add discard counters per priority
Add counters that count (per priority) the number of received packets that dropped due to lack of buffers on a physical port. If this counter is increasing, it implies that the adapter is congested and cannot absorb the traffic coming from the network. Signed-off-by: Aharon Landau <aharonl@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:

committed by
Saeed Mahameed

parent
a58837f52d
commit
827a8cb2dd
@@ -2180,7 +2180,9 @@ struct mlx5_ifc_eth_per_prio_grp_data_layout_bits {
|
||||
|
||||
u8 rx_pause_transition_low[0x20];
|
||||
|
||||
u8 reserved_at_3c0[0x40];
|
||||
u8 rx_discards_high[0x20];
|
||||
|
||||
u8 rx_discards_low[0x20];
|
||||
|
||||
u8 device_stall_minor_watermark_cnt_high[0x20];
|
||||
|
||||
|
Reference in New Issue
Block a user