Lines Matching refs:bw_config
5524 struct i40e_aqc_query_vsi_bw_config_resp bw_config = {0}; in i40e_vsi_get_bw_info() local
5532 ret = i40e_aq_query_vsi_bw_config(hw, vsi->seid, &bw_config, NULL); in i40e_vsi_get_bw_info()
5552 if (bw_config.tc_valid_bits != bw_ets_config.tc_valid_bits) { in i40e_vsi_get_bw_info()
5555 bw_config.tc_valid_bits, in i40e_vsi_get_bw_info()
5560 vsi->bw_limit = le16_to_cpu(bw_config.port_bw_limit); in i40e_vsi_get_bw_info()
5561 vsi->bw_max_quanta = bw_config.max_bw; in i40e_vsi_get_bw_info()
5783 struct i40e_aqc_query_vsi_bw_config_resp bw_config = {0}; in i40e_vsi_config_tc() local
5789 &bw_config, NULL); in i40e_vsi_config_tc()
5797 if ((bw_config.tc_valid_bits & enabled_tc) != enabled_tc) { in i40e_vsi_config_tc()
5798 u8 valid_tc = bw_config.tc_valid_bits & enabled_tc; in i40e_vsi_config_tc()
5801 valid_tc = bw_config.tc_valid_bits; in i40e_vsi_config_tc()
5806 enabled_tc, bw_config.tc_valid_bits, valid_tc); in i40e_vsi_config_tc()