[PATCH] net/mlx5: fix GRE open matcher does not match packet
Raslan Darawsheh
rasland at nvidia.com
Mon Feb 10 11:31:17 CET 2025
Hi,
From: Maayan Kashani <mkashani at nvidia.com>
Sent: Tuesday, January 28, 2025 9:59 AM
To: dev at dpdk.org
Cc: Maayan Kashani; Raslan Darawsheh; stable at dpdk.org; Bing Zhao; Dariusz Sosnowski; Slava Ovsiienko; Ori Kam; Suanming Mou; Matan Azrad; Gregory Etelson
Subject: [PATCH] net/mlx5: fix GRE open matcher does not match packet
The previous GRE fix was meant to handle HWS behavior
and changed the behavior for SWS causing degradation.
After the previous fix, in case of an empty GRE match,
GRE mask was initialized with protocol full mask,
Instead of the empty mask with protocol mask equals zero.
The Current fix handles the SWS case as before the GRE fix,
and HWS according to the latest fix.
Also, combined common logic.
Fixes: 25ab2cbba31d ("net/mlx5: fix GRE flow item translation for root table")
Cc: stable at dpdk.org
Signed-off-by: Maayan Kashani <mkashani at nvidia.com>
Acked-by: Bing Zhao <bingz at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
________________________________________
More information about the stable
mailing list