src/dpdk/drivers/net/ice/ice_generic_flow.c
static const struct rte_flow_item *
ice_find_first_item(const struct rte_flow_item *item, bool is_void)
{
	bool is_find;

	while (item->type != RTE_FLOW_ITEM_TYPE_END) {
		if (is_void)
			is_find = item->type == RTE_FLOW_ITEM_TYPE_VOID;
		else
			is_find = item->type != RTE_FLOW_ITEM_TYPE_VOID;
		if (is_find)
			break;
		item++;
	}
	return item;
}
/* Find the first VOID or non-VOID item pointer */
Find the first VOID or non-VOID item pointer
Find the first VOID or non - VOID item pointer
static const struct rte_flow_item *
ice_find_first_item(const struct rte_flow_item *item, bool is_void)
{
	bool is_find;
	while (item->type != RTE_FLOW_ITEM_TYPE_END) {
		if (is_void)
			is_find = item->type == RTE_FLOW_ITEM_TYPE_VOID;
		else
			is_find = item->type != RTE_FLOW_ITEM_TYPE_VOID;
		if (is_find)
			break;
		item++;
	}
	return item;
}
static const struct rte_flow_item * ice_find_first_item ( const struct rte_flow_item * item , bool is_void ) { bool is_find ; while ( item -> type != RTE_FLOW_ITEM_TYPE_END ) { if ( is_void ) is_find = item -> type == RTE_FLOW_ITEM_TYPE_VOID ; else is_find = item -> type != RTE_FLOW_ITEM_TYPE_VOID ; if ( is_find ) break ; item ++ ; } return item ; }
Find the first VOID or non-VOID item pointer
Find the first VOID or non - VOID item pointer