> -----Original Message-----
> From: Alexander Kozyrev <[email protected]>
> Sent: Thursday, December 19, 2024 17:06
> To: [email protected]
> Cc: [email protected]; Raslan Darawsheh <[email protected]>; Slava Ovsiienko
> <[email protected]>; Dariusz Sosnowski <[email protected]>; Bing
> Zhao <[email protected]>; Suanming Mou <[email protected]>; Michael
> Baum <[email protected]>
> 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]>

Acked-by: Dariusz Sosnowski <[email protected]>

Best regards,
Dariusz Sosnowski

Reply via email to