Hi,

> -----Original Message-----
> From: Raja Zidane <[email protected]>
> Sent: Sunday, January 16, 2022 5:24 PM
> To: [email protected]
> Cc: Matan Azrad <[email protected]>; [email protected]
> Subject: [PATCH] net/mlx5: fix mark enabling for Rx datapath
> 
> To optimize datapath, the mlx5 pmd checked for mark action on flow
> creation, and flagged possible destination rxqs (through queue/RSS
> actions), then it enabled the mark action logic only for flagged rxqs.
> 
> Mark action didn't work if no queue/rss action was in the same flow,
> even when the user use multi-group logic to manage the flows.
> So, if mark action is performed in group X and the packet is moved to group
> Y > X when the packet is forwarded to Rx queues, SW did not get the mark ID
> to the mbuf.
> 
> Flag Rx datapath to report mark action for any queue when the driver
> detects the first mark action after dev_start operation.
> 
> Fixes: 8e61555657b2 ("net/mlx5: fix shared RSS and mark actions
> combination")
> Cc: [email protected]
> 
> Signed-off-by: Raja Zidane <[email protected]>
> ---
> Acked-by: Matan Azrad [email protected]

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to