Hi, From: Alexander Kozyrev <[email protected]> Sent: Thursday, December 19, 2024 6:05 PM To: [email protected] Cc: [email protected]; Raslan Darawsheh; Slava Ovsiienko; Dariusz Sosnowski; Bing Zhao; Suanming Mou; Michael Baum Subject: [PATCH v2] net/mlx5/hws: fix fragmented ptype match
Fragmented PTYPE matching requires setting the mask to the exact RTE_PTYPE_L4_FRAG value to avoid conflicts with other L4 types. Adding L2 or L3 types to the same mask should be allowed, but there is a check for the exact value for setting the definer. This prevents the fragmented packets from matching in case of L2/L3 mask is provided as well. Mask out L2/L3 types when setting L4_FRAG. Fixes: 761439a20f net/mlx5/hws: support fragmented packet type matching Cc: [email protected] Signed-off-by: Alexander Kozyrev <[email protected]> Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

