pipeline: add check against loops
[dpdk.git] / drivers / net / ipn3ke / ipn3ke_flow.c
index c702e19..66ae31a 100644 (file)
@@ -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);
        }
@@ -1299,7 +1299,7 @@ int ipn3ke_flow_init(void *dev)
        IPN3KE_AFU_PMD_DEBUG("IPN3KE_CLF_LKUP_ENABLE: %x\n", data);
 
 
-       /* configure rx parse config, settings associatied with VxLAN */
+       /* configure rx parse config, settings associated with VxLAN */
        IPN3KE_MASK_WRITE_REG(hw,
                        IPN3KE_CLF_RX_PARSE_CFG,
                        0,