Re: [dpdk-dev] [PATCH] net/mlx5: fix meter policy creation error flow

2021-06-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Li Zhang > Sent: Wednesday, June 9, 2021 5:07 AM > To: Ori Kam ; Slava Ovsiienko > ; Matan Azrad ; NBU- > Contact-Thomas Monjalon > Cc: dev@dpdk.org; Raslan Darawsheh ; Asaf Penso > ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix meter policy creation

[dpdk-dev] [PATCH] net/mlx5: fix meter policy creation error flow

2021-06-08 Thread Li Zhang
When an error appears in the policy creation, the IDs mapping between the user policy ID to the driver policy ID is skipped. Wrongly, the driver tried to clean the mapping in this case what caused an error. Skip the clearance in this case. Fixes: afb4aa4f122 ("net/mlx5: support meter policy oper