Hi,
> -----Original Message----- > From: Rongwei Liu <rongw...@nvidia.com> > Sent: Wednesday, March 2, 2022 1:20 PM > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; Ori Kam <or...@nvidia.com>; NBU-Contact- > Thomas Monjalon (EXTERNAL) <tho...@monjalon.net>; Suanming Mou > <suanmi...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > sta...@dpdk.org > Subject: [PATCH v2] net/mlx5: fix shared RSS destroy failure > > When both shared and non-shared RSS actions are present in single > flow rule shared RSS index is unset by mistake. > > For example: > 1. flow indirect_action 0 create action_id 3 ingress action RSS ... > 2. set sample_actions 0 mark id 43690 / queue index 0 / end > 3. flow create 0 ingress group 107 pattern eth / sample ratio 2 > index 0 / indirect 3 / end > > PMD translates the indirect action to a shared RSS description at first. > In the split prefix flow, RSS->shared_RSS is unset when translating sample > queue action, the subfix flow will treat the RSS as non-shared. > > Fixes: 8e61555657b2 ("net/mlx5: fix shared RSS and mark actions > combination") > Cc: sta...@dpdk.org > Signed-off-by: Rongwei Liu <rongw...@nvidia.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com> > --- Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh