[dpdk-stable] [PATCH] net/mlx5: fix validation of VXLAN/VXLAN-GPE specs

Matan Azrad matan at mellanox.com
Mon Mar 23 17:21:18 CET 2020


From: Raslan Darawsheh
> Trying to create zero spec for vni wasn't allowed, to avoid matching all
> packets from previous layer (udp).
> This behavior is incorrect, since VXLAN is being identified through the outer
> UDP destination port.
> 
> Currently, if the user didn't specify outer UDP destination port the PMD will
> automatically match only on  outer UDP port of 4798, and if the user want to
> match on some none standard port he need to specify it explicitly in the rule.
> 
> This removes the limitation of vni spec to be able to match any vni.
> 
> Fixes: 23c1d42c ("net/mlx5: split flow validation to dedicated function")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
Acked-by: Matan Azrad <matan at mellanox.com>


More information about the stable mailing list