]> Git Repo - linux.git/commitdiff
net/mlx5e: Remove redundant vport context vlan update
authorSaeed Mahameed <[email protected]>
Thu, 7 Sep 2017 19:30:58 +0000 (22:30 +0300)
committerSaeed Mahameed <[email protected]>
Mon, 14 May 2018 22:10:22 +0000 (15:10 -0700)
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 <[email protected]>
Reviewed-by: Gal Pressman <[email protected]>
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c

index f64dda2bed316e3bbedf22d280713e9874034ffe..76cc10e44080b012d50da503cd6ed60520aa6154 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;
This page took 0.0471 seconds and 4 git commands to generate.