On Mon, May 01, 2017 at 05:30:08PM +0100, Tim Wright wrote: > 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: Tim Wright > --- > drivers/infiniband/hw/mlx5/mad.c | 2 ++ > include/linux/mlx5/mlx5_ifc.h | 4 +++- > 2 files changed, 5 insertions(+), 1 deletion(-) > Thanks, Acked-by: Leon Romanovsky