Lines Matching refs:agg_vsi_info
793 struct ice_sched_agg_vsi_info *agg_vsi_info; in ice_sched_clear_agg() local
796 list_for_each_entry_safe(agg_vsi_info, vtmp, in ice_sched_clear_agg()
798 list_del(&agg_vsi_info->list_entry); in ice_sched_clear_agg()
799 devm_kfree(ice_hw_to_dev(hw), agg_vsi_info); in ice_sched_clear_agg()
1956 struct ice_sched_agg_vsi_info *agg_vsi_info; in ice_sched_rm_agg_vsi_info() local
1959 list_for_each_entry_safe(agg_vsi_info, vtmp, in ice_sched_rm_agg_vsi_info()
1961 if (agg_vsi_info->vsi_handle == vsi_handle) { in ice_sched_rm_agg_vsi_info()
1962 list_del(&agg_vsi_info->list_entry); in ice_sched_rm_agg_vsi_info()
1964 agg_vsi_info); in ice_sched_rm_agg_vsi_info()
2341 struct ice_sched_agg_vsi_info *agg_vsi_info; in ice_move_all_vsi_to_dflt_agg() local
2345 list_for_each_entry_safe(agg_vsi_info, tmp, &agg_info->agg_vsi_list, in ice_move_all_vsi_to_dflt_agg()
2347 u16 vsi_handle = agg_vsi_info->vsi_handle; in ice_move_all_vsi_to_dflt_agg()
2350 if (!ice_is_tc_ena(agg_vsi_info->tc_bitmap[0], tc)) in ice_move_all_vsi_to_dflt_agg()
2358 clear_bit(tc, agg_vsi_info->tc_bitmap); in ice_move_all_vsi_to_dflt_agg()
2359 if (rm_vsi_info && !agg_vsi_info->tc_bitmap[0]) { in ice_move_all_vsi_to_dflt_agg()
2360 list_del(&agg_vsi_info->list_entry); in ice_move_all_vsi_to_dflt_agg()
2361 devm_kfree(ice_hw_to_dev(pi->hw), agg_vsi_info); in ice_move_all_vsi_to_dflt_agg()
2682 struct ice_sched_agg_vsi_info *agg_vsi_info; in ice_get_agg_vsi_info() local
2684 list_for_each_entry(agg_vsi_info, &agg_info->agg_vsi_list, list_entry) in ice_get_agg_vsi_info()
2685 if (agg_vsi_info->vsi_handle == vsi_handle) in ice_get_agg_vsi_info()
2686 return agg_vsi_info; in ice_get_agg_vsi_info()
2706 struct ice_sched_agg_vsi_info *agg_vsi_info; in ice_get_vsi_agg_info() local
2708 agg_vsi_info = ice_get_agg_vsi_info(agg_info, vsi_handle); in ice_get_vsi_agg_info()
2709 if (agg_vsi_info) in ice_get_vsi_agg_info()
2729 struct ice_sched_agg_vsi_info *agg_vsi_info; in ice_save_agg_vsi_tc_bitmap() local
2736 agg_vsi_info = ice_get_agg_vsi_info(agg_info, vsi_handle); in ice_save_agg_vsi_tc_bitmap()
2737 if (!agg_vsi_info) in ice_save_agg_vsi_tc_bitmap()
2739 bitmap_copy(agg_vsi_info->replay_tc_bitmap, tc_bitmap, in ice_save_agg_vsi_tc_bitmap()
2759 struct ice_sched_agg_vsi_info *agg_vsi_info, *old_agg_vsi_info = NULL; in ice_sched_assoc_vsi_to_agg() local
2785 agg_vsi_info = ice_get_agg_vsi_info(agg_info, vsi_handle); in ice_sched_assoc_vsi_to_agg()
2786 if (!agg_vsi_info) { in ice_sched_assoc_vsi_to_agg()
2788 agg_vsi_info = devm_kzalloc(ice_hw_to_dev(hw), in ice_sched_assoc_vsi_to_agg()
2789 sizeof(*agg_vsi_info), GFP_KERNEL); in ice_sched_assoc_vsi_to_agg()
2790 if (!agg_vsi_info) in ice_sched_assoc_vsi_to_agg()
2794 agg_vsi_info->vsi_handle = vsi_handle; in ice_sched_assoc_vsi_to_agg()
2795 list_add(&agg_vsi_info->list_entry, &agg_info->agg_vsi_list); in ice_sched_assoc_vsi_to_agg()
2807 set_bit(tc, agg_vsi_info->tc_bitmap); in ice_sched_assoc_vsi_to_agg()
4173 struct ice_sched_agg_vsi_info *agg_vsi_info; in ice_sched_replay_agg_vsi_preinit() local
4176 list_for_each_entry(agg_vsi_info, &agg_info->agg_vsi_list, in ice_sched_replay_agg_vsi_preinit()
4178 agg_vsi_info->tc_bitmap[0] = 0; in ice_sched_replay_agg_vsi_preinit()
4195 struct ice_sched_agg_vsi_info *agg_vsi_info; in ice_sched_replay_vsi_agg() local
4206 agg_vsi_info = ice_get_agg_vsi_info(agg_info, vsi_handle); in ice_sched_replay_vsi_agg()
4207 if (!agg_vsi_info) in ice_sched_replay_vsi_agg()
4218 ice_sched_get_ena_tc_bitmap(pi, agg_vsi_info->replay_tc_bitmap, in ice_sched_replay_vsi_agg()