Hi,

> -----Original Message-----
> From: Gregory Etelson <[email protected]>
> Sent: Friday, March 1, 2024 8:05 AM
> To: [email protected]
> Cc: Gregory Etelson <[email protected]>; Maayan Kashani
> <[email protected]>; Raslan Darawsheh <[email protected]>;
> [email protected]; Dariusz Sosnowski <[email protected]>; Slava
> Ovsiienko <[email protected]>; Ori Kam <[email protected]>;
> Suanming Mou <[email protected]>; Matan Azrad
> <[email protected]>
> 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: [email protected] (backport)
> 
> Signed-off-by: Gregory Etelson <[email protected]>
> Acked-by: Dariusz Sosnowski <[email protected]>
Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh

Reply via email to