Lines Matching refs:bw_data

5630 	struct i40e_aqc_configure_vsi_tc_bw_data bw_data;  in i40e_vsi_configure_bw_alloc()  local
5646 memset(&bw_data, 0, sizeof(bw_data)); in i40e_vsi_configure_bw_alloc()
5647 bw_data.tc_valid_bits = enabled_tc; in i40e_vsi_configure_bw_alloc()
5649 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_vsi_configure_bw_alloc()
5651 ret = i40e_aq_config_vsi_tc_bw(&pf->hw, vsi->seid, &bw_data, NULL); in i40e_vsi_configure_bw_alloc()
5660 vsi->info.qs_handle[i] = bw_data.qs_handles[i]; in i40e_vsi_configure_bw_alloc()
6371 struct i40e_aqc_configure_vsi_tc_bw_data bw_data; in i40e_channel_config_bw() local
6375 memset(&bw_data, 0, sizeof(bw_data)); in i40e_channel_config_bw()
6376 bw_data.tc_valid_bits = ch->enabled_tc; in i40e_channel_config_bw()
6378 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_channel_config_bw()
6381 &bw_data, NULL); in i40e_channel_config_bw()
6390 ch->info.qs_handle[i] = bw_data.qs_handles[i]; in i40e_channel_config_bw()
6767 struct i40e_aqc_configure_switching_comp_bw_config_data bw_data = {0}; in i40e_veb_config_tc() local
6776 bw_data.tc_valid_bits = enabled_tc; in i40e_veb_config_tc()
6782 bw_data.tc_bw_share_credits[i] = 1; in i40e_veb_config_tc()
6786 &bw_data, NULL); in i40e_veb_config_tc()
12600 struct i40e_aqc_configure_partition_bw_data bw_data; in i40e_set_partition_bw_setting() local
12603 memset(&bw_data, 0, sizeof(bw_data)); in i40e_set_partition_bw_setting()
12606 bw_data.pf_valid_bits = cpu_to_le16(BIT(pf->hw.pf_id)); in i40e_set_partition_bw_setting()
12607 bw_data.max_bw[pf->hw.pf_id] = pf->max_bw & I40E_ALT_BW_VALUE_MASK; in i40e_set_partition_bw_setting()
12608 bw_data.min_bw[pf->hw.pf_id] = pf->min_bw & I40E_ALT_BW_VALUE_MASK; in i40e_set_partition_bw_setting()
12611 status = i40e_aq_configure_partition_bw(&pf->hw, &bw_data, NULL); in i40e_set_partition_bw_setting()
14592 struct i40e_aqc_query_switching_comp_bw_config_resp bw_data; in i40e_veb_get_bw_info() local
14600 &bw_data, NULL); in i40e_veb_get_bw_info()
14621 veb->is_abs_credits = bw_data.absolute_credits_enable; in i40e_veb_get_bw_info()
14623 tc_bw_max = le16_to_cpu(bw_data.tc_bw_max[0]) | in i40e_veb_get_bw_info()
14624 (le16_to_cpu(bw_data.tc_bw_max[1]) << 16); in i40e_veb_get_bw_info()
14626 veb->bw_tc_share_credits[i] = bw_data.tc_bw_share_credits[i]; in i40e_veb_get_bw_info()
14628 le16_to_cpu(bw_data.tc_bw_limits[i]); in i40e_veb_get_bw_info()