[dpdk-dev] [PATCH v2] net/mlx5: revert default rules amount optimization
Raslan Darawsheh
rasland at mellanox.com
Wed Nov 13 10:37:12 CET 2019
Hi,
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Matan Azrad
> Sent: Wednesday, November 13, 2019 12:00 AM
> To: dev at dpdk.org
> Cc: Slava Ovsiienko <viacheslavo at mellanox.com>; Dekel Peled
> <dekelp at mellanox.com>
> Subject: [dpdk-dev] [PATCH v2] net/mlx5: revert default rules amount
> optimization
>
> This reverts commit 304ffe576f239e5405228c0feec04b6138d525b7.
>
> It tried to optimize the amount of the default flow rules and created it only
> once on top of the PF representor.
>
> For each FDB rule, the default port ID to match on is like of the port that
> triggers the flow.
>
> Hence, the single default rule will not be matched on the VF traffic.
>
> As a result, all the traffic of the VFs will not match to the jump flow in the
> root table and will always be forwarded to the representor port.
>
> Revert the commit.
>
> Fixes: 304ffe576f23 ("net/mlx5: fix condition to create default rule")
> Cc: dekelp at mellanox.com
>
> Signed-off-by: Matan Azrad <matan at mellanox.com>
> ---
>
> V2:
> Fix missing signed-off.
>
> drivers/net/mlx5/mlx5_trigger.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list