net/mlx5: fix flex item macro collision

Flex item macro definition values duplicated existing connection
tracking values.

The patch provides new values for flex item macros.

Fixes: a23e9b6e3e ("net/mlx5: handle flex item in flows")

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
This commit is contained in:
Gregory Etelson 2021-11-11 18:23:04 +02:00 committed by Raslan Darawsheh
parent c06b773809
commit 60bc280518

View File

@ -181,9 +181,9 @@ enum mlx5_feature_name {
#define MLX5_FLOW_LAYER_ASO_CT (UINT64_C(1) << 36)
/* Flex item */
#define MLX5_FLOW_ITEM_OUTER_FLEX (UINT64_C(1) << 36)
#define MLX5_FLOW_ITEM_INNER_FLEX (UINT64_C(1) << 37)
#define MLX5_FLOW_ITEM_FLEX_TUNNEL (UINT64_C(1) << 38)
#define MLX5_FLOW_ITEM_OUTER_FLEX (UINT64_C(1) << 37)
#define MLX5_FLOW_ITEM_INNER_FLEX (UINT64_C(1) << 38)
#define MLX5_FLOW_ITEM_FLEX_TUNNEL (UINT64_C(1) << 39)
/* Outer Masks. */
#define MLX5_FLOW_LAYER_OUTER_L3 \