[PATCH] net/mlx5: fix the GRE mask set on root table
Raslan Darawsheh
rasland at nvidia.com
Mon Feb 10 11:33:10 CET 2025
Hi,
From: Gregory Etelson <getelson at nvidia.com>
Sent: Monday, February 10, 2025 12:14 PM
To: dev at dpdk.org
Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; Bing Zhao; stable at dpdk.org
Subject: [PATCH] net/mlx5: fix the GRE mask set on root table
From: Bing Zhao <bingz at nvidia.com>
When setting the value, the GRE mask cannot reuse the one from the
value, or else the value cannot be really ANDed with the proper input
mask from the user. If the value contains more valid bits than the
mask, the rule insertion on the root table will get a failure due to
the extra bits in the value field.
Using the input mask or the default mask will help to clear the extra
bits and solve the issue.
Fixes: 25ab2cbba31d ("net/mlx5: fix GRE item translation for root table")
cc: stable at dpdk.org
Signed-off-by: Bing Zhao <bingz at nvidia.com>
dropping this patch as it's a duplicate of this:
https://patches.dpdk.org/project/dpdk/patch/20250128075930.175636-1-mkashani@nvidia.com/
Kindest regards
Raslan Darawsheh
More information about the stable
mailing list