net/ngbe: support MAC filters
[dpdk.git] / drivers / net / ixgbe / ixgbe_flow.c
index 511b612..bdc9d47 100644 (file)
@@ -10,7 +10,6 @@
 #include <unistd.h>
 #include <stdarg.h>
 #include <inttypes.h>
-#include <netinet/in.h>
 #include <rte_byteorder.h>
 #include <rte_common.h>
 #include <rte_cycles.h>
@@ -37,6 +36,7 @@
 #include "base/ixgbe_api.h"
 #include "base/ixgbe_vf.h"
 #include "base/ixgbe_common.h"
+#include "base/ixgbe_osdep.h"
 #include "ixgbe_ethdev.h"
 #include "ixgbe_bypass.h"
 #include "ixgbe_rxtx.h"
@@ -1259,7 +1259,7 @@ cons_parse_l2_tn_filter(struct rte_eth_dev *dev,
                return -rte_errno;
        }
 
-       filter->l2_tunnel_type = RTE_L2_TUNNEL_TYPE_E_TAG;
+       filter->l2_tunnel_type = RTE_ETH_L2_TUNNEL_TYPE_E_TAG;
        /**
         * grp and e_cid_base are bit fields and only use 14 bits.
         * e-tag id is taken as little endian by HW.