History

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.

Aharon Landau committed 6 years ago

Commit 827a8cb1 parent a58837f2 files · +4 −1Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mlx5/mlx5_ifc.h+3−1
@@ -2180,7 +2180,9 @@ struct mlx5_ifc_eth_per_prio_grp_data_layout_bits { · 2179 unmodified lines
21802180
21812181 u8 rx_pause_transition_low[0x20];
21822182
2183− u8 reserved_at_3c0[0x40];
2183+ u8 rx_discards_high[0x20];
2184+
2185+ u8 rx_discards_low[0x20];
21842186
21852187 u8 device_stall_minor_watermark_cnt_high[0x20];
21862188