diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2017-09-07 22:30:58 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-05-14 15:10:22 -0700 |
commit | b8c931ba3c739b49bd536d35851712d838857757 (patch) | |
tree | aabd673cf1ee8897d950697bf209b941c6056b9c | |
parent | 7cfac881660ac7b7229950e0a942201be63c15d1 (diff) | |
download | op-kernel-dev-b8c931ba3c739b49bd536d35851712d838857757.zip op-kernel-dev-b8c931ba3c739b49bd536d35851712d838857757.tar.gz |
net/mlx5e: Remove redundant vport context vlan update
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>
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_fs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_fs.c b/drivers/net/ethernet/mellanox/mlx5/core/en_fs.c index f64dda2..76cc10e 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_fs.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_fs.c @@ -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; |