[dpdk-dev] [PATCH 1/2] net/mlx5: fix wrong layer validation with decapsulation

Matan Azrad matan at mellanox.com
Wed Feb 19 16:31:39 CET 2020



From: Suanming Mou
> Currently, the flow validate function only validate the outermost layer with
> the header modify actions. If there is decapsulation action before the header
> modify action, the validation should choose the inner layer for validation.
> 
> Add decapsulation check when validate with the header modify actions.
> Choose the inner layer once there is decapsulation action.
> 
> Fixes: 4bb14c83df95 ("net/mlx5: support modify header using Direct Verbs")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Suanming Mou <suanmingm at mellanox.com>
Acked-by: Matan Azrad <matan at mellanox.com>


More information about the dev mailing list