net/bnxt: fix Rx configuration
[dpdk.git] / drivers / net / mlx4 / mlx4_flow.c
index 2e1b6c8..9d7247c 100644 (file)
@@ -713,7 +713,8 @@ fill:
                        flow->internal = 1;
                        continue;
                }
-               if (flow->promisc || flow->allmulti) {
+               if ((item->type != RTE_FLOW_ITEM_TYPE_VLAN && flow->promisc) ||
+                   flow->allmulti) {
                        msg = "mlx4 does not support additional matching"
                                " criteria combined with indiscriminate"
                                " matching on Ethernet headers";