]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
net/mlx5e: Remove redundant vport context vlan update
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 25 Sep 2019 08:07:48 +0000 (10:07 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 26 Sep 2019 04:28:47 +0000 (00:28 -0400)
BugLink: https://bugs.launchpad.net/bugs/1842502
In delete vlan flow an extra call to mlx5e_vport_context_update_vlans
was added by mistake, remove it.

Fixes: 86d722ad2c3b ("net/mlx5: Use flow steering infrastructure for mlx5_en")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Gal Pressman <galp@mellanox.com>
(cherry picked from commit b8c931ba3c739b49bd536d35851712d838857757)
Signed-off-by: Juerg Haefliger <juergh@canonical.com>
Acked-by: Connor Kuehl <connor.kuehl@canonical.com>
Acked-by: Sultan Alsawaf <sultan.alsawaf@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c

index def5134848452c37516841464c38a33fb295e071..c3585d1a2ccdbf5438ea0eb01cb11aca8b8d61c8 100644 (file)
@@ -277,7 +277,6 @@ static void mlx5e_del_vlan_rule(struct mlx5e_priv *priv,
                }
                break;
        case MLX5E_VLAN_RULE_TYPE_MATCH_CTAG_VID:
-               mlx5e_vport_context_update_vlans(priv);
                if (priv->fs.vlan.active_cvlans_rule[vid]) {
                        mlx5_del_flow_rules(priv->fs.vlan.active_cvlans_rule[vid]);
                        priv->fs.vlan.active_cvlans_rule[vid] = NULL;