net/mlx5: fix flex item macro collision
PATCH 1/1 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 a23e9b6e3ee9 ("net/mlx5: handle flex item in flows")
Signed-off-by Gregory Etelson <[email protected]>
--- drivers/net/mlx5/mlx5_flow.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/mlx5/mlx5_flow.h +3 -3
@@ -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 \
Signature · 1 line
2.33.1
Hi,
Quoted 11 lines
-----Original Message-----
From: Gregory Etelson <[email protected]>
Sent: Thursday, November 11, 2021 6:23 PM
To: [email protected]; Gregory Etelson <[email protected]>; Slava Ovsiienko <[email protected]>
Cc: Matan Azrad <[email protected]>
Subject: [PATCH] net/mlx5: fix flex item macro collisionFlex item macro definition values duplicated existing connection tracking values.
Quoted 6 lines
The patch provides new values for flex item macros.
Fixes a23e9b6e3ee9 ("net/mlx5: handle flex item in flows")Signed-off-by Gregory Etelson <[email protected]>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh