Skip to content
Commit 133bea04 authored by Tim Wright's avatar Tim Wright Committed by Doug Ledford
Browse files

IB/mlx5: Add port_xmit_wait to counter registers read



Add port_xmit_wait to the error counters read by mlx5_ib_process_mad to
ensure sysfs port counter provides correct value for PortXmitWait.
Otherwise the sysfs port_xmit_wait file always contains zero.

The previous MAD_IFC implementation populated this counter, but it was
removed during the migration to PPCNT for error counters (32-bit only).

Signed-off-by: default avatarTim Wright <tim@binbash.co.uk>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 062d0f22
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment