Lines Matching refs:bw_data

5635 	struct i40e_aqc_configure_vsi_tc_bw_data bw_data;  in i40e_vsi_configure_bw_alloc()  local
5651 memset(&bw_data, 0, sizeof(bw_data)); in i40e_vsi_configure_bw_alloc()
5652 bw_data.tc_valid_bits = enabled_tc; in i40e_vsi_configure_bw_alloc()
5654 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_vsi_configure_bw_alloc()
5656 ret = i40e_aq_config_vsi_tc_bw(&pf->hw, vsi->seid, &bw_data, NULL); in i40e_vsi_configure_bw_alloc()
5665 vsi->info.qs_handle[i] = bw_data.qs_handles[i]; in i40e_vsi_configure_bw_alloc()
6354 struct i40e_aqc_configure_vsi_tc_bw_data bw_data; in i40e_channel_config_bw() local
6358 memset(&bw_data, 0, sizeof(bw_data)); in i40e_channel_config_bw()
6359 bw_data.tc_valid_bits = ch->enabled_tc; in i40e_channel_config_bw()
6361 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_channel_config_bw()
6364 &bw_data, NULL); in i40e_channel_config_bw()
6373 ch->info.qs_handle[i] = bw_data.qs_handles[i]; in i40e_channel_config_bw()
6748 struct i40e_aqc_configure_switching_comp_bw_config_data bw_data = {0}; in i40e_veb_config_tc() local
6757 bw_data.tc_valid_bits = enabled_tc; in i40e_veb_config_tc()
6763 bw_data.tc_bw_share_credits[i] = 1; in i40e_veb_config_tc()
6767 &bw_data, NULL); in i40e_veb_config_tc()
12587 struct i40e_aqc_configure_partition_bw_data bw_data; in i40e_set_partition_bw_setting() local
12590 memset(&bw_data, 0, sizeof(bw_data)); in i40e_set_partition_bw_setting()
12593 bw_data.pf_valid_bits = cpu_to_le16(BIT(pf->hw.pf_id)); in i40e_set_partition_bw_setting()
12594 bw_data.max_bw[pf->hw.pf_id] = pf->max_bw & I40E_ALT_BW_VALUE_MASK; in i40e_set_partition_bw_setting()
12595 bw_data.min_bw[pf->hw.pf_id] = pf->min_bw & I40E_ALT_BW_VALUE_MASK; in i40e_set_partition_bw_setting()
12598 status = i40e_aq_configure_partition_bw(&pf->hw, &bw_data, NULL); in i40e_set_partition_bw_setting()
14643 struct i40e_aqc_query_switching_comp_bw_config_resp bw_data; in i40e_veb_get_bw_info() local
14651 &bw_data, NULL); in i40e_veb_get_bw_info()
14672 veb->is_abs_credits = bw_data.absolute_credits_enable; in i40e_veb_get_bw_info()
14674 tc_bw_max = le16_to_cpu(bw_data.tc_bw_max[0]) | in i40e_veb_get_bw_info()
14675 (le16_to_cpu(bw_data.tc_bw_max[1]) << 16); in i40e_veb_get_bw_info()
14677 veb->bw_tc_share_credits[i] = bw_data.tc_bw_share_credits[i]; in i40e_veb_get_bw_info()
14679 le16_to_cpu(bw_data.tc_bw_limits[i]); in i40e_veb_get_bw_info()