net/ngbe: support MAC filters
[dpdk.git] / drivers / net / ipn3ke / ipn3ke_flow.c
index f857e64..f5867ca 100644 (file)
@@ -13,7 +13,7 @@
 #include <rte_io.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
 #include <rte_log.h>
 #include <rte_malloc.h>
 #include <rte_eth_ctrl.h>
@@ -1231,7 +1231,7 @@ ipn3ke_flow_flush(struct rte_eth_dev *dev,
        struct ipn3ke_hw *hw = IPN3KE_DEV_PRIVATE_TO_HW(dev);
        struct rte_flow *flow, *temp;
 
-       TAILQ_FOREACH_SAFE(flow, &hw->flow_list, next, temp) {
+       RTE_TAILQ_FOREACH_SAFE(flow, &hw->flow_list, next, temp) {
                TAILQ_REMOVE(&hw->flow_list, flow, next);
                rte_free(flow);
        }