[dpdk-dev] [PATCH v2] net/mlx5: fix debug variable initialization

Raslan Darawsheh rasland at nvidia.com
Thu Nov 4 15:00:17 CET 2021


Hi,

> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Thursday, November 4, 2021 3:29 PM
> To: dev at dpdk.org; Gregory Etelson <getelson at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>
> Cc: ferruh.yigit at intel.com; Raslan Darawsheh <rasland at nvidia.com>; Matan
> Azrad <matan at nvidia.com>
> Subject: [PATCH v2] net/mlx5: fix debug variable initialization
> 
> MLX5_ASSERT macro expansion depends on RTE_LIBRTE_MLX5_DEBUG and
> RTE_ENABLE_ASSERT.
> Existing implementation ignored the RTE_ENABLE_ASSERT dependency in
> the mlx5_flex_flow_translate_item() scope.
> As the result, the `priv` variable was not defined.
> 
> Fixes: 91f0e029ce5f ("net/mlx5: translate flex item pattern into matcher")
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>

Squashed into relevant commit in next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list