[dpdk-dev] mlx5 & pdump: convert HW timestamps to nanoseconds

Slava Ovsiienko viacheslavo at mellanox.com
Wed Jun 3 09:48:44 CEST 2020


> -----Original Message-----
> From: PATRICK KEROULAS <patrick.keroulas at radio-canada.ca>
> Sent: Tuesday, June 2, 2020 22:18
> To: Slava Ovsiienko <viacheslavo at mellanox.com>
> Cc: dev at dpdk.org; Vivien Didelot <vivien.didelot at gmail.com>; Shahaf
> Shuler <shahafs at mellanox.com>; Raslan Darawsheh
> <rasland at mellanox.com>; Matan Azrad <matan at mellanox.com>
> Subject: Re: [dpdk-dev] mlx5 & pdump: convert HW timestamps to
> nanoseconds
> 
> On Tue, May 26, 2020 at 12:00 PM Slava Ovsiienko
> <viacheslavo at mellanox.com> wrote:
> > ConnectX HW timestamp is the captured value of internal 64-bit counter
> > running at the frequency, reported in the device_frequency_khz field of
> struct mlx5_ifc_cmd_hca_cap_bits{}.
> > This structure is queried in mlx5_devx_cmd_query_hca_attr() routine.
> 
> I can't query this because "DevX is NOT supported".
> As a matter of fact, mlx5dv_open_device() returns NULL.
> Not sure if this limitation comes from HW/firmware config or capability.
> * rdma-code, libibverbs-dev: 28.0
> * NIC Part Number:      MCX516A-CDA_Ax
> * ConnectX-5 Ex EN
> * FW: 16.25.1020

It looks like outdated firmware, please:
- update the firmware - at least 16.27.2008 is GA. I would recommend to install OFED - it updates the FW
- make sure the UCTX_EN option in FW configuration is set to "true"

With best regards, Slava



More information about the dev mailing list