mlx5 OFED 4.0 fdir API is more sensetive
authorHanoh Haim <[email protected]>
Mon, 27 Feb 2017 11:59:24 +0000 (13:59 +0200)
committerHanoh Haim <[email protected]>
Mon, 27 Feb 2017 11:59:24 +0000 (13:59 +0200)
Signed-off-by: Hanoh Haim <[email protected]>
src/dpdk/drivers/net/mlx5/mlx5_fdir.c

index 92a923d..2f133e0 100644 (file)
@@ -332,7 +332,7 @@ priv_fdir_flow_add(struct priv *priv,
 #else
     // empty mask means "match everything". This rule will match all packets, no matter what is the ether type
     if (desc->ip_id == 2) {
-        spec_eth->val.ether_type = 0x0806;
+        spec_eth->val.ether_type = 0x0000;
         spec_eth->mask.ether_type = 0x0000;
         goto create_flow;
     }