src/dpdk/drivers/net/enic/enic_flow.c
static int
enic_match_action(const struct rte_flow_action *action,
		  const enum rte_flow_action_type *supported_actions)
{
	for (; *supported_actions != RTE_FLOW_ACTION_TYPE_END;
	     supported_actions++) {
		if (action->type == *supported_actions)
			return 1;
	}
	return 0;
}
/** Check if the action is supported */
Check if the action is supported
Check if the action is supported
static int
enic_match_action(const struct rte_flow_action *action,
		  const enum rte_flow_action_type *supported_actions)
{
	for (; *supported_actions != RTE_FLOW_ACTION_TYPE_END;
	     supported_actions++) {
		if (action->type == *supported_actions)
			return 1;
	}
	return 0;
}
static int enic_match_action ( const struct rte_flow_action * action , const enum rte_flow_action_type * supported_actions ) { for ( ; * supported_actions != RTE_FLOW_ACTION_TYPE_END ; supported_actions ++ ) { if ( action -> type == * supported_actions ) return 1 ; } return 0 ; }
Check if the action is supported
Check if the action is supported