[dpdk-stable] [dpdk-dev] [PATCH] net/mlx5: fix VXLAN decap flow created without VXLAN item
Thomas Monjalon
thomas at monjalon.net
Wed Jan 6 22:28:07 CET 2021
31/12/2020 10:33, Shiri Kuzin:
> The vxlan_decap action preforms decapsulation of the VXLAN
> tunnel.
>
> Currently we can create a flow with vxlan_decap without
> matching on VXLAN header.
>
> To solve this issue this patch adds validation verifying
> that the VXLAN item was detected when specifying
> vxlan_decap action.
>
> Fixes: 49d6465af3e1 ("net/mlx5: add VXLAN decap action to Direct Verbs")
> Cc: stable at dpdk.org
>
> Signed-off-by: Shiri Kuzin <shirik at nvidia.com>
> Reviewed-by: Suanming Mou <suanmingm at nvidia.com>
> ---
> + return rte_flow_error_set(error, ENOTSUP,
> + RTE_FLOW_ERROR_TYPE_UNSPECIFIED, NULL,
> + "vxlan item should be present for vxlan decap");
Changed "vxlan" to "VXLAN".
Applied in next-net-mlx, thanks.
More information about the stable
mailing list