[dpdk-stable] [dpdk-dev] [PATCH] net/mlx5: fix validate MPLSoGRE with GRE key

Thomas Monjalon thomas at monjalon.net
Fri Nov 13 20:07:22 CET 2020


10/11/2020 12:59, Xiaoyu Min:
> From: Xiaoyu Min <jackmin at nvidia.com>
> 
> Currently PMD only accept flow which item_mpls directly follow item_gre,
> means to match the GRE header without GRE optional field key in MPLSoGRE
> encapsulation.
> 
> However, for the MPLSoGRE, the GRE header could have the optional field
> (i.e, key) according to the RFC. So PMD need to accept this.
> 
> Add MLX5_FLOW_LAYER_GRE_KEY into allowed prev_layer to fix
> 
> Fixes: a7a0365565a4 ("net/mlx5: match GRE key and present bits")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Xiaoyu Min <jackmin at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>

Applied in next-net-mlx, thanks.




More information about the stable mailing list