summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMohsin Bashir <mohsin.bashr@gmail.com>2026-03-03 02:01:49 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-03-05 18:26:53 +0300
commitcc663d3fed062fb41b59df953a2cb9df5f56f943 (patch)
tree8ca28ba27b69fbcdd1d9468f5d1a1b4d605c2bad /include/linux/debugobjects.h
parent8d282b680c729203d04d4eee396f3216f29b35aa (diff)
downloadlinux-cc663d3fed062fb41b59df953a2cb9df5f56f943.tar.xz
eth: mlx5: Move pause storm errors to pause stats
Report device_stall_critical_watermark_cnt as tx_pause_storm_events in the ethtool_pause_stats struct. This counter tracks pause storm error events which indicate the NIC has been sending pause frames for an extended period due to a stall. The ethtool_pause_stats struct reports these stalls as a single value, whereas the device supports tracking them per priority. Aggregate the counter across all priority classes to capture stalls on all priorities. Note that the stats are fetched from the device for each priority via mlx5_core_access_reg(). Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com> Link: https://patch.msgid.link/20260302230149.1580195-6-mohsin.bashr@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions