Home
last modified time | relevance | path

Searched refs:recps (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_switch.c1397 struct ice_sw_recipe *recps; in ice_init_def_sw_recp() local
1400 recps = devm_kcalloc(ice_hw_to_dev(hw), ICE_MAX_NUM_RECIPES, in ice_init_def_sw_recp()
1401 sizeof(*recps), GFP_KERNEL); in ice_init_def_sw_recp()
1402 if (!recps) in ice_init_def_sw_recp()
1406 recps[i].root_rid = i; in ice_init_def_sw_recp()
1407 INIT_LIST_HEAD(&recps[i].filt_rules); in ice_init_def_sw_recp()
1408 INIT_LIST_HEAD(&recps[i].filt_replay_rules); in ice_init_def_sw_recp()
1409 INIT_LIST_HEAD(&recps[i].rg_list); in ice_init_def_sw_recp()
1410 mutex_init(&recps[i].filt_rule_lock); in ice_init_def_sw_recp()
1413 hw->switch_info->recp_list = recps; in ice_init_def_sw_recp()
[all …]
Dice_common.c750 struct ice_sw_recipe *recps; in ice_cleanup_fltr_mgmt_struct() local
758 recps = sw->recp_list; in ice_cleanup_fltr_mgmt_struct()
762 recps[i].root_rid = i; in ice_cleanup_fltr_mgmt_struct()
764 &recps[i].rg_list, l_entry) { in ice_cleanup_fltr_mgmt_struct()
769 if (recps[i].adv_rule) { in ice_cleanup_fltr_mgmt_struct()
773 mutex_destroy(&recps[i].filt_rule_lock); in ice_cleanup_fltr_mgmt_struct()
775 &recps[i].filt_rules, in ice_cleanup_fltr_mgmt_struct()
784 mutex_destroy(&recps[i].filt_rule_lock); in ice_cleanup_fltr_mgmt_struct()
786 &recps[i].filt_rules, in ice_cleanup_fltr_mgmt_struct()
792 if (recps[i].root_buf) in ice_cleanup_fltr_mgmt_struct()
[all …]