This commit adds support for matching on the flags field of VXLAN-GPE header (the first 8-bits).
Signed-off-by: Gavin Li <gav...@nvidia.com> Acked-by: Dariusz Sosnowski <dsosnow...@nvidia.com> --- drivers/net/mlx5/mlx5_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 85e8c77c81..ffa183dc1b 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -3292,6 +3292,7 @@ mlx5_flow_validate_item_vxlan_gpe(const struct rte_flow_item *item, struct rte_flow_item_vxlan_gpe nic_mask = { .vni = "\xff\xff\xff", .protocol = 0xff, + .flags = 0xff, }; if (!priv->sh->config.l3_vxlan_en) -- 2.39.1