[PATCH] net/mlx5: fix mark enabling for Rx datapath
Raslan Darawsheh
rasland at nvidia.com
Wed Jan 26 16:26:57 CET 2022
Hi,
> -----Original Message-----
> From: Raja Zidane <rzidane at nvidia.com>
> Sent: Sunday, January 16, 2022 5:24 PM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; stable at dpdk.org
> 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: stable at dpdk.org
>
> Signed-off-by: Raja Zidane <rzidane at nvidia.com>
> ---
> Acked-by: Matan Azrad matan at nvidia.com
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the stable
mailing list