src/dpdk/drivers/net/i40e/i40e_ethdev.c
int
i40e_validate_input_set(enum i40e_filter_pctype pctype,
		enum rte_filter_type filter, uint64_t inset)
{
	uint64_t valid;

	valid = i40e_get_valid_input_set(pctype, filter);
	if (inset & (~valid))
		return -EINVAL;

	return 0;
}
/**
 * Validate if the input set is allowed for a specific PCTYPE
 */
Validate if the input set is allowed for a specific PCTYPE
Validate if the input set is allowed for a specific PCTYPE
int
i40e_validate_input_set(enum i40e_filter_pctype pctype,
		enum rte_filter_type filter, uint64_t inset)
{
	uint64_t valid;
	valid = i40e_get_valid_input_set(pctype, filter);
	if (inset & (~valid))
		return -EINVAL;
	return 0;
}
int i40e_validate_input_set ( enum i40e_filter_pctype pctype , enum rte_filter_type filter , uint64_t inset ) { uint64_t valid ; valid = i40e_get_valid_input_set ( pctype , filter ) ; if ( inset & ( ~ valid ) ) return - EINVAL ; return 0 ; }
Validate if the input set is allowed for a specific PCTYPE
Validate if the input set is allowed for a specific PCTYPE