summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2017-02-27 13:59:24 +0200
committerHanoh Haim <hhaim@cisco.com>2017-02-27 13:59:24 +0200
commit768b4f27f89fc4ed40c8588db3b3a751abf41d5e (patch)
treebda942bcfc5c07eaf49700140cefa57edffb6dec
parent4c1281d050a898051d4d3a5ed10703be41d1880f (diff)
mlx5 OFED 4.0 fdir API is more sensetive
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
-rw-r--r--src/dpdk/drivers/net/mlx5/mlx5_fdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dpdk/drivers/net/mlx5/mlx5_fdir.c b/src/dpdk/drivers/net/mlx5/mlx5_fdir.c
index 92a923d4..2f133e0d 100644
--- a/src/dpdk/drivers/net/mlx5/mlx5_fdir.c
+++ b/src/dpdk/drivers/net/mlx5/mlx5_fdir.c
@@ -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;
}