[PATCH] net/mlx5: fix RSS expansion with explicit next protocol

Raslan Darawsheh rasland at nvidia.com
Sun Jan 9 12:56:07 CET 2022


Hi,

> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Thursday, December 23, 2021 3:08 PM
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; stable at dpdk.org; Matan Azrad
> <matan at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>; Ferruh
> Yigit <ferruh.yigit at intel.com>; Dekel Peled <dekelp at nvidia.com>
> Subject: [PATCH] net/mlx5: fix RSS expansion with explicit next protocol
> 
> The PMD RSS expansion scheme by default compiles flow rules for all
> flow item types that may branch out from a stub supplied
> by application.
> For example,
> ETH can lead to VLAN, IPv4 or IPv6.
> IPv4 can lead to UDP, TCP, IPv4 or IPv6.
> 
> If application explicitly specified next protocol type, expansion must
> use that option only and not create flows with other protocol types.
> 
> The PMD ignored explicit next protocol values in GRE and VXLAN-GPE.
> 
> The patch updates RSS expansion for GRE and VXLAN-GPE with explicit
> next protocol settings.
> 
> 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: Matan Azrad <matan at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list