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

2024-03-12 Thread Raslan Darawsheh
Azrad > > 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 `.v

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

2024-02-29 Thread Gregory Etelson
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. T