Lines Matching refs:ets_data
6916 struct i40e_aqc_configure_switching_comp_ets_data ets_data; in i40e_hw_dcb_config() local
6949 memset(&ets_data, 0, sizeof(ets_data)); in i40e_hw_dcb_config()
6955 ets_data.tc_bw_share_credits[i] = in i40e_hw_dcb_config()
6961 ets_data.tc_bw_share_credits[i] = in i40e_hw_dcb_config()
6994 ets_data.tc_valid_bits = tc_map; in i40e_hw_dcb_config()
6995 ets_data.tc_strict_priority_flags = lltc_map; in i40e_hw_dcb_config()
6997 (hw, pf->mac_seid, &ets_data, in i40e_hw_dcb_config()
7090 struct i40e_aqc_configure_switching_comp_ets_data ets_data; in i40e_dcb_sw_default_config() local
7112 memset(&ets_data, 0, sizeof(ets_data)); in i40e_dcb_sw_default_config()
7113 ets_data.tc_valid_bits = I40E_DEFAULT_TRAFFIC_CLASS; /* TC0 only */ in i40e_dcb_sw_default_config()
7114 ets_data.tc_strict_priority_flags = 0; /* ETS */ in i40e_dcb_sw_default_config()
7115 ets_data.tc_bw_share_credits[0] = I40E_IEEE_DEFAULT_ETS_TCBW; /* 100% to TC0 */ in i40e_dcb_sw_default_config()
7119 (hw, pf->mac_seid, &ets_data, in i40e_dcb_sw_default_config()
14598 struct i40e_aqc_query_switching_comp_ets_config_resp ets_data; in i40e_veb_get_bw_info() local
14617 &ets_data, NULL); in i40e_veb_get_bw_info()
14626 veb->bw_limit = le16_to_cpu(ets_data.port_bw_limit); in i40e_veb_get_bw_info()
14627 veb->bw_max_quanta = ets_data.tc_bw_max; in i40e_veb_get_bw_info()
14629 veb->enabled_tc = ets_data.tc_valid_bits; in i40e_veb_get_bw_info()