[dpdk-dev] [PATCH] net/mlx5: fix incorrect set VLAN ID action offset

Matan Azrad matan at mellanox.com
Thu Feb 20 09:57:57 CET 2020



From: Suanming Mou
> Currently, the set VLAN ID header modify action has already got the action
> pointer with offset from the header modify action array, but the
> configuration saves the detail to the memory of action with the offset again.
> It causes double offset to set the VLAN ID action to the wrong place in the
> header modify array.
> 
> Remove the offset when get the action pointer to fix that issue.
> 
> Fixes: 5f163d520cff ("net/mlx5: support modify VLAN ID on existing VLAN
> header")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Suanming Mou <suanmingm at mellanox.com>
> Acked-by: Dekel Peled <dekelp at mellanox.com>
Acked-by: Matan Azrad <matan at mellanox.com>


More information about the dev mailing list