]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4_flow.c
net/txgbe: fix queue statistics mapping
[dpdk.git] / drivers / net / mlx4 / mlx4_flow.c
index 2e1b6c87e983503f82b176aa2d281d49eed77cfb..9d7247cf81d0910ac7ccedd22a043a13639f5c56 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";