[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170503053800.GB22833@mtr-leonro.local>
Date: Wed, 3 May 2017 08:38:00 +0300
From: Leon Romanovsky <leonro@...lanox.com>
To: Tim Wright <tim@...bash.co.uk>
CC: <matanb@...lanox.com>, <dledford@...hat.com>,
<sean.hefty@...el.com>, <hal.rosenstock@...il.com>,
<saeedm@...lanox.com>, <linux-rdma@...r.kernel.org>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH 1/1] IB/mlx5: Add port_xmit_wait to counter registers read
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 <tim@...bash.co.uk>
> ---
> 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 <leonro@...lanox.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists