[PATCH v2] net/mlx5/hws: fix fragmented ptype match

Dariusz Sosnowski dsosnowski at nvidia.com
Fri Feb 21 13:06:56 CET 2025



> -----Original Message-----
> From: Alexander Kozyrev <akozyrev at nvidia.com>
> Sent: Thursday, December 19, 2024 17:06
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Dariusz Sosnowski <dsosnowski at nvidia.com>; Bing
> Zhao <bingz at nvidia.com>; Suanming Mou <suanmingm at nvidia.com>; Michael
> Baum <michaelba at nvidia.com>
> 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: stable at dpdk.org
> 
> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>

Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Best regards,
Dariusz Sosnowski


More information about the stable mailing list