[PATCH] net/mlx5: fix the validation of the sample encap action

Raslan Darawsheh rasland at nvidia.com
Sun Nov 12 15:23:35 CET 2023


Hi,

> -----Original Message-----
> From: Jiawei(Jonny) Wang <jiaweiw at nvidia.com>
> Sent: Tuesday, November 7, 2023 5:08 PM
> To: Suanming Mou <suanmingm at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Matan Azrad <matan at nvidia.com>; Ori Kam
> <orika at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix the validation of the sample encap action
> 
> The flow sample/mirror action includes sub-actions for the
> duplicated packet.
> In SW steering case, dv_flow_en=1, there is a FW limitation
> that forces configuring also encap action when port action
> for the wire port is configured in the duplicated packet's
> sub-actions.
> 
> The driver did a wrong validation for the above limitation
> and forced other actions instead of encap for the wire port.
> Force only encap action in case of wire port.
> 
> This patch fixes the wrongly checking for the sample encap action.
> 
> Fixes: a8697f50f50f ("net/mlx5: fix E-Switch mirror flow rule validation")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Jiawei Wang <jiaweiw 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