[dpdk-dev] [PATCH] net/mlx5: fix pattern expansion in RSS flow rules

Raslan Darawsheh rasland at nvidia.com
Tue Jul 6 13:40:29 CEST 2021


Hi,

> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Wednesday, June 30, 2021 10:20 AM
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org; Slava Ovsiienko <viacheslavo at nvidia.com>; Shahaf Shuler
> <shahafs at nvidia.com>; Dekel Peled <dekelp at nvidia.com>; Ferruh Yigit
> <ferruh.yigit at intel.com>
> Subject: [PATCH] net/mlx5: fix pattern expansion in RSS flow rules
> 
> Flow rule pattern may be implicitly expanded by the PMD if the rule
> has RSS flow action. The expansion adds network headers to the
> original pattern. The new pattern lists all network levels that
> participate in the rule RSS action.
> 
> The patch validates that buffer for expanded pattern has enough bytes
> for new flow items.
> 
> Fixes: c7870bfe09dc ("ethdev: move RSS expansion code to mlx5 driver")
> 
> Cc: stable at dpdk.org
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list