Re: [dpdk-dev] [PATCH] net/mlx5: fix resource release issue for mirror flow

2021-04-12 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Jiawei Wang > Sent: Friday, April 9, 2021 3:33 PM > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko ; > Jiawei(Jonny) Wang > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix re

Re: [dpdk-dev] [PATCH] net/mlx5: fix resource release issue for mirror flow

2021-04-11 Thread Slava Ovsiienko
> -Original Message- > From: Jiawei Wang > Sent: Friday, April 9, 2021 15:33 > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko ; > Jiawei(Jonny) Wang > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix resource release issue for mirror flow > > The mlx5 PMD allocated

[dpdk-dev] [PATCH] net/mlx5: fix resource release issue for mirror flow

2021-04-09 Thread Jiawei Wang
The mlx5 PMD allocated the resources of the sample actions, and then moved these ones to the destination actions array. The original indices were not cleared and the resources were referenced twice in the flow object - as the fate actions and in the destination actions array. This causes the failu