Re: [dpdk-dev] [PATCH] net/mlx5: fix atomic API update

2020-11-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Matan Azrad > Sent: Tuesday, November 3, 2020 8:48 AM > To: Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix atomic API update > > The Txq refcnt 1 value means that there is n

Re: [dpdk-dev] [PATCH] net/mlx5: fix atomic API update

2020-11-02 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Tuesday, November 3, 2020 8:48 > To: Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [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 configuratio

[dpdk-dev] [PATCH] net/mlx5: fix atomic API update

2020-11-02 Thread Matan Azrad
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