Lines Matching refs:bw_data

5590 	struct i40e_aqc_configure_vsi_tc_bw_data bw_data;  in i40e_vsi_configure_bw_alloc()  local
5606 memset(&bw_data, 0, sizeof(bw_data)); in i40e_vsi_configure_bw_alloc()
5607 bw_data.tc_valid_bits = enabled_tc; in i40e_vsi_configure_bw_alloc()
5609 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_vsi_configure_bw_alloc()
5611 ret = i40e_aq_config_vsi_tc_bw(&pf->hw, vsi->seid, &bw_data, NULL); in i40e_vsi_configure_bw_alloc()
5620 vsi->info.qs_handle[i] = bw_data.qs_handles[i]; in i40e_vsi_configure_bw_alloc()
6309 struct i40e_aqc_configure_vsi_tc_bw_data bw_data; in i40e_channel_config_bw() local
6313 memset(&bw_data, 0, sizeof(bw_data)); in i40e_channel_config_bw()
6314 bw_data.tc_valid_bits = ch->enabled_tc; in i40e_channel_config_bw()
6316 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_channel_config_bw()
6319 &bw_data, NULL); in i40e_channel_config_bw()
6328 ch->info.qs_handle[i] = bw_data.qs_handles[i]; in i40e_channel_config_bw()
6703 struct i40e_aqc_configure_switching_comp_bw_config_data bw_data = {0}; in i40e_veb_config_tc() local
6712 bw_data.tc_valid_bits = enabled_tc; in i40e_veb_config_tc()
6718 bw_data.tc_bw_share_credits[i] = 1; in i40e_veb_config_tc()
6722 &bw_data, NULL); in i40e_veb_config_tc()
12542 struct i40e_aqc_configure_partition_bw_data bw_data; in i40e_set_partition_bw_setting() local
12545 memset(&bw_data, 0, sizeof(bw_data)); in i40e_set_partition_bw_setting()
12548 bw_data.pf_valid_bits = cpu_to_le16(BIT(pf->hw.pf_id)); in i40e_set_partition_bw_setting()
12549 bw_data.max_bw[pf->hw.pf_id] = pf->max_bw & I40E_ALT_BW_VALUE_MASK; in i40e_set_partition_bw_setting()
12550 bw_data.min_bw[pf->hw.pf_id] = pf->min_bw & I40E_ALT_BW_VALUE_MASK; in i40e_set_partition_bw_setting()
12553 status = i40e_aq_configure_partition_bw(&pf->hw, &bw_data, NULL); in i40e_set_partition_bw_setting()
14599 struct i40e_aqc_query_switching_comp_bw_config_resp bw_data; in i40e_veb_get_bw_info() local
14607 &bw_data, NULL); in i40e_veb_get_bw_info()
14628 veb->is_abs_credits = bw_data.absolute_credits_enable; in i40e_veb_get_bw_info()
14630 tc_bw_max = le16_to_cpu(bw_data.tc_bw_max[0]) | in i40e_veb_get_bw_info()
14631 (le16_to_cpu(bw_data.tc_bw_max[1]) << 16); in i40e_veb_get_bw_info()
14633 veb->bw_tc_share_credits[i] = bw_data.tc_bw_share_credits[i]; in i40e_veb_get_bw_info()
14635 le16_to_cpu(bw_data.tc_bw_limits[i]); in i40e_veb_get_bw_info()