[PATCH v3] common/mlx5: update DevX error logging
Raslan Darawsheh
rasland at nvidia.com
Sun Aug 14 15:51:27 CEST 2022
Hi,
> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Sunday, July 10, 2022 7:03 PM
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>; NBU-
> Contact-Thomas Monjalon (EXTERNAL) <thomas at monjalon.net>; Slava
> Ovsiienko <viacheslavo at nvidia.com>
> Subject: [PATCH v3] common/mlx5: update DevX error logging
>
> Current PMD logs all DevX errors at error level.
>
> DevX interface can fail queue counters allocation on some hardware types.
> That is a known issue.
> PMD fallback to VERB API to allocate queue counters when it detects the
> fault.
> That DevX failure should not be logged as PMD error.
>
> The patch provides DevX with flexible API that selects log level.
>
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---
> v2: fix warnings in old gcc versions
> v3: remove cc stable
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list