net/mlx5: revert default rules amount optimization
[dpdk.git] / drivers / net / mlx5 / mlx5_trigger.c
index f4dc047..cafab25 100644 (file)
@@ -420,7 +420,7 @@ mlx5_traffic_enable(struct rte_eth_dev *dev)
                }
                mlx5_txq_release(dev, i);
        }
-       if (priv->config.dv_esw_en && !priv->config.vf && !priv->representor)
+       if (priv->config.dv_esw_en && !priv->config.vf)
                if (!mlx5_flow_create_esw_table_zero_flow(dev))
                        goto error;
        if (priv->isolated)