[PATCH v2] net/mlx5: add debug support for dumping all rte ports

Raslan Darawsheh rasland at nvidia.com
Wed Jan 4 12:44:18 CET 2023


Hi,

> -----Original Message-----
> From: Alex Vesker <valex at nvidia.com>
> Sent: Wednesday, December 21, 2022 12:10 PM
> To: dev at dpdk.org
> Cc: Slava Ovsiienko <viacheslavo at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>
> Subject: [PATCH v2] net/mlx5: add debug support for dumping all rte ports
> 
> Add a special value max_uint16 to request dump of all
> rte ethernet ports. This is useful for collecting the
> full info from all the ports in a single dump.
> 
> Signed-off-by: Alex Vesker <valex at nvidia.com>
> Reviewed-by: Ori Kam <orika at nvidia.com>
> ---
>  drivers/net/mlx5/linux/mlx5_socket.c | 39 ++++++++++++++++++----------
>  1 file changed, 26 insertions(+), 13 deletions(-)
> 
> v2: Fix iteration function to use only mlx5 devices
> 

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list