src/dpdk/drivers/net/ice/ice_fdir_filter.c
static struct ice_fdir_filter_conf *
ice_fdir_entry_lookup(struct ice_fdir_info *fdir_info,
			const struct ice_fdir_fltr_pattern *key)
{
	int ret;

	ret = rte_hash_lookup(fdir_info->hash_table, key);
	if (ret < 0)
		return NULL;

	return fdir_info->hash_map[ret];
}
/* Check if there exists the flow director filter */
Check if there exists the flow director filter
Check if there exists the flow director filter
static struct ice_fdir_filter_conf *
ice_fdir_entry_lookup(struct ice_fdir_info *fdir_info,
			const struct ice_fdir_fltr_pattern *key)
{
	int ret;
	ret = rte_hash_lookup(fdir_info->hash_table, key);
	if (ret < 0)
		return NULL;
	return fdir_info->hash_map[ret];
}
static struct ice_fdir_filter_conf * ice_fdir_entry_lookup ( struct ice_fdir_info * fdir_info , const struct ice_fdir_fltr_pattern * key ) { int ret ; ret = rte_hash_lookup ( fdir_info -> hash_table , key ) ; if ( ret < 0 ) return NULL ; return fdir_info -> hash_map [ ret ] ; }
Check if there exists the flow director filter
Check if there exists the flow director filter