Hi,

> -----Original Message-----
> From: Rongwei Liu <[email protected]>
> Sent: Wednesday, March 2, 2022 1:20 PM
> To: Matan Azrad <[email protected]>; Slava Ovsiienko
> <[email protected]>; Ori Kam <[email protected]>; NBU-Contact-
> Thomas Monjalon (EXTERNAL) <[email protected]>; Suanming Mou
> <[email protected]>
> Cc: [email protected]; Raslan Darawsheh <[email protected]>;
> [email protected]
> 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: [email protected]
> Signed-off-by: Rongwei Liu <[email protected]>
> Acked-by: Viacheslav Ovsiienko <[email protected]>
> ---
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to