[dpdk-dev] [PATCH] net/mlx5: fix atomic API update
Raslan Darawsheh
rasland at nvidia.com
Thu Nov 5 18:37:19 CET 2020
Hi,
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Matan Azrad
> Sent: Tuesday, November 3, 2020 8:48 AM
> To: Slava Ovsiienko <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix atomic API update
>
> The Txq refcnt 1 value means that there is not real reference to the
> queue and only the control configuration are saved in the struct.
>
> The patch below wrongly didn't consider it and caused a leak in the Txq
> object resource.
>
> Revert the specific update in the refcnt.
>
> Fixes: a02d6dd9e61f ("net/mlx5: use C11 atomics for RxQ/TxQ refcounts")
>
> Signed-off-by: Matan Azrad <matan at nvidia.com>
> ---
> drivers/net/mlx5/mlx5_txq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list