[PATCH 4/4] net/mlx5: update dump script to show incomplete records
Dariusz Sosnowski
dsosnowski at nvidia.com
Wed Oct 9 15:08:34 CEST 2024
> -----Original Message-----
> From: Slava Ovsiienko <viacheslavo at nvidia.com>
> Sent: Wednesday, October 9, 2024 13:40
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; Ori Kam <orika at nvidia.com>; Dariusz Sosnowski
> <dsosnowski at nvidia.com>
> Subject: [PATCH 4/4] net/mlx5: update dump script to show incomplete records
>
> If the trace dump is stored at the moment when there is some incomplete Tx
> transfers - WQE is pushed but hardware did not sent the completions yet - this
> incomplete was not dumped by the script mlx5_trace. For some cases (for
> example, if queue was stuck) the valuable debug information was lost.
>
> To improve the dump fullness the following optional script arguments are added:
>
> -v [level] - provides the raw dump of the object record
> of the specified level (0 - bursts, 1 - WQEs,
> 2+ - mbufs)
> -a - dumps all bursts, including incomplete ones
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Best regards,
Dariusz Sosnowski
More information about the dev
mailing list