]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_vlan.c
net/qede: rename debug option
[dpdk.git] / drivers / net / mlx5 / mlx5_vlan.c
index fa9e3b8fb312f017be3d9c5a90f231f25e457dd1..ea7af1e42079b6c5c12f5db1e92ae15415e6dbc1 100644 (file)
@@ -98,9 +98,10 @@ vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on)
                priv->vlan_filter[priv->vlan_filter_n] = vlan_id;
                ++priv->vlan_filter_n;
        }
-       /* Rehash MAC flows in all hash RX queues. */
+       /* Rehash flows in all hash RX queues. */
        priv_mac_addrs_disable(priv);
-       return priv_mac_addrs_enable(priv);
+       priv_special_flow_disable_all(priv);
+       return priv_rehash_flows(priv);
 }
 
 /**