src/dpdk/drivers/net/igc/igc_flow.c
static inline bool
igc_is_flow_in_list(struct igc_flow_list *list, struct rte_flow *flow)
{
	struct rte_flow *it;

	TAILQ_FOREACH(it, list, node) {
		if (it == flow)
			return true;
	}

	return false;
}
/* Check whether the flow is really in the list or not */
Check whether the flow is really in the list or not
Check whether the flow is really in the list or not
static inline bool
igc_is_flow_in_list(struct igc_flow_list *list, struct rte_flow *flow)
{
	struct rte_flow *it;
	TAILQ_FOREACH(it, list, node) {
		if (it == flow)
			return true;
	}
	return false;
}
static inline bool igc_is_flow_in_list ( struct igc_flow_list * list , struct rte_flow * flow ) { struct rte_flow * it ; TAILQ_FOREACH ( it , list , node ) { if ( it == flow ) return true ; } return false ; }
Check whether the flow is really in the list or not
Check whether the flow is really in the list or not