[dpdk-dev] [PATCH] net/mlx5: fix condition to create default rule

Raslan Darawsheh rasland at mellanox.com
Fri Nov 8 00:32:31 CET 2019


Hi,

> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Dekel Peled
> Sent: Thursday, November 7, 2019 5:04 PM
> To: Matan Azrad <matan at mellanox.com>; Shahaf Shuler
> <shahafs at mellanox.com>; Slava Ovsiienko <viacheslavo at mellanox.com>
> Cc: Ori Kam <orika at mellanox.com>; dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix condition to create default rule
> 
> Previous patch added creation of a default flow rule on port start.
> Rule is created under the condition that device is in eswitch mode,
> and is not a VF, to make sure rule is created only once.
> In Bluefield, where PF representor is used, this condition is not
> sufficient. Rule is created twice, causing loss of traffic.
> 
> This patch updates this condition, adding check that device is also
> not a representor.
> 
> Fixes: b67b4ecbde22 ("net/mlx5: skip table zero to improve insertion rate")
> 
> Signed-off-by: Dekel Peled <dekelp at mellanox.com>
> ---


Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list