[PATCH] net/mlx5: fix VID assignment in VLAN modify

Raslan Darawsheh rasland at nvidia.com
Tue Mar 12 09:06:38 CET 2024


Hi,

> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Friday, March 1, 2024 8:05 AM
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Maayan Kashani
> <mkashani at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org; Dariusz Sosnowski <dsosnowski at nvidia.com>; Slava
> Ovsiienko <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>;
> Suanming Mou <suanmingm at nvidia.com>; Matan Azrad
> <matan at nvidia.com>
> Subject: [PATCH] net/mlx5: fix VID assignment in VLAN modify
> 
> PMD uses MODIFY_FIELD to implement standalone OF_SET_VLAN_VID flow
> action.
> PMD assigned immediate VLAN Id value to the `.level` member of the
> `rte_flow_action_modify_data` structure instead of `.value`.
> That assignment has worked because both members had the same offset in
> the hosting structure.
> 
> The patch assigns VLAN Id directly to `.value`
> 
> Fixes: 773ca0e91ba1 ("net/mlx5: support VLAN push/pop/modify with
> HWS")
> Cc: stable at dpdk.org (backport)
> 
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh


More information about the stable mailing list