Re: [dpdk-dev] [PATCH] net/mlx5: fix flow split combined with counter

2021-01-21 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Dekel Peled > Sent: Sunday, January 17, 2021 11:41 AM > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix flow split combined with c

Re: [dpdk-dev] [PATCH] net/mlx5: fix flow split combined with counter

2021-01-17 Thread Matan Azrad
From: Dekel Peled > Currently, for a flow containing a count action, if flow is split to > sub-flows, a > new counter will be created for each sub-flow. > However only the counter created for the last sub-flow will be queried on flow > query and cleared on flow removal. > > This behavior is w

[dpdk-dev] [PATCH] net/mlx5: fix flow split combined with counter

2021-01-17 Thread Dekel Peled
Currently, for a flow containing a count action, if flow is split to sub-flows, a new counter will be created for each sub-flow. However only the counter created for the last sub-flow will be queried on flow query and cleared on flow removal. This behavior is wrong, causing a leak of resources. Ne