[PATCH] net/ice/base: fix duplicate flow rules

Xu, Ke1 ke1.xu at intel.com
Wed Oct 19 14:19:57 CEST 2022


> -----Original Message-----
> From: Yiding Zhou <yidingx.zhou at intel.com>
> Sent: Thursday, October 13, 2022 2:21 PM
> To: dev at dpdk.org
> Cc: Zhou, YidingX <yidingx.zhou at intel.com>; stable at dpdk.org
> Subject: [PATCH] net/ice/base: fix duplicate flow rules
>
> When a vsi that already exists in the created vsi_list subscribes to the same
> filter again, the return value ICE_SUCCESS results in duplicate flow rules to be
> stored, which will cause 'flush' and 'destroy' errors.
>
> Fixes: fed0c5ca5f19 ("net/ice/base: support programming a new switch
> recipe")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yiding Zhou <yidingx.zhou at intel.com>

Validated and passed on DPDK 22.11 rc1.
Also managed applying and passed validation on DPDK 20.11.

Tested-by: Ke Xu <ke1.xu at intel.com>

> ---
>  drivers/net/ice/base/ice_switch.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 2.34.1



More information about the stable mailing list