Home
last modified time | relevance | path

Searched refs:tcbwtable (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c249 etscfg->tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_bwchk()
254 total_bw += etscfg->tcbwtable[i]; in ice_dcb_bwchk()
257 etscfg->tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_bwchk()
385 dcbcfg->etsrec.tcbwtable[i] = i ? 0 : 100; in ice_cfg_etsrec_defaults()
415 if (memcmp(&new_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
416 &old_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
417 sizeof(new_cfg->etscfg.tcbwtable))) in ice_dcb_need_recfg()
498 err_cfg->etscfg.tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_rebuild()
565 dcbcfg->etscfg.tcbwtable[0] = 100; in ice_dcb_sw_dflt_cfg()
Dice_dcb_nl.c43 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, sizeof(ets->tc_tx_bw)); in ice_dcbnl_getets()
44 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, sizeof(ets->tc_rx_bw)); in ice_dcbnl_getets()
47 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in ice_dcbnl_getets()
80 new_cfg->etscfg.tcbwtable[i] = ets->tc_tx_bw[i]; in ice_dcbnl_setets()
86 new_cfg->etsrec.tcbwtable[i] = ets->tc_reco_bw[i]; in ice_dcbnl_setets()
102 new_cfg->etscfg.tcbwtable[0] = 100; in ice_dcbnl_setets()
105 new_cfg->etsrec.tcbwtable[0] = 100; in ice_dcbnl_setets()
479 *bw_pct = pi->qos_cfg.local_dcbx_cfg.etscfg.tcbwtable[pgid]; in ice_dcbnl_get_pg_bwg_cfg_tx()
505 new_cfg->etscfg.tcbwtable[pgid] = bw_pct; in ice_dcbnl_set_pg_bwg_cfg_tx()
Dice_dcb.c196 ets_cfg->tcbwtable[i] = buf[offset]; in ice_parse_ieee_ets_common_tlv()
415 etscfg->tcbwtable[i] = buf[offset++]; in ice_parse_cee_pgcfg_tlv()
777 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in ice_cee_to_dcb_cfg()
1042 buf[offset] = ets_cfg->tcbwtable[i]; in ice_add_ieee_ets_common_tlv()
Dice_idc.c235 qos->tc_info[i].rel_bw = dcbx_cfg->etscfg.tcbwtable[i]; in ice_get_qos_params()
Dice_type.h587 u8 tcbwtable[ICE_MAX_TRAFFIC_CLASS]; member
/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c48 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
50 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
56 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in i40e_dcbnl_ieee_getets()
126 pf->tmp_cfg.etscfg.tcbwtable[i] = ets->tc_tx_bw[i]; in i40e_dcbnl_ieee_setets()
129 pf->tmp_cfg.etsrec.tcbwtable[i] = ets->tc_reco_bw[i]; in i40e_dcbnl_ieee_setets()
415 pf->tmp_cfg.etscfg.tcbwtable[pgid] = bw_pct; in i40e_dcbnl_set_pg_bwg_cfg_tx()
512 *bw_pct = pf->hw.local_dcbx_config.etscfg.tcbwtable[pgid]; in i40e_dcbnl_get_pg_bwg_cfg_tx()
Di40e_dcb.c88 etscfg->tcbwtable[i] = buf[offset++]; in i40e_parse_ieee_etscfg_tlv()
143 dcbcfg->etsrec.tcbwtable[i] = buf[offset++]; in i40e_parse_ieee_etsrec_tlv()
318 etscfg->tcbwtable[i] = buf[offset++]; in i40e_parse_cee_pgcfg_tlv()
615 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in i40e_cee_to_dcb_v1_config()
696 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in i40e_cee_to_dcb_config()
1041 buf[offset++] = etscfg->tcbwtable[i]; in i40e_add_ieee_ets_tlv()
1105 buf[offset++] = etsrec->tcbwtable[i]; in i40e_add_ieee_etsrec_tlv()
Di40e_debugfs.c1091 cfg->etscfg.tcbwtable[i], in i40e_dbg_command_write()
1097 cfg->etsrec.tcbwtable[i], in i40e_dbg_command_write()
1120 r_cfg->etscfg.tcbwtable[i], in i40e_dbg_command_write()
1126 r_cfg->etsrec.tcbwtable[i], in i40e_dbg_command_write()
Di40e_type.h493 u8 tcbwtable[I40E_MAX_TRAFFIC_CLASS]; member
Di40e_main.c6949 new_cfg->etscfg.tcbwtable[i]; in i40e_hw_dcb_config()
7008 i40e_dcb_hw_rx_ets_bw_config(hw, new_cfg->etscfg.tcbwtable, mode, in i40e_hw_dcb_config()
7092 pf->tmp_cfg.etscfg.tcbwtable[0] = I40E_IEEE_DEFAULT_ETS_TCBW; in i40e_dcb_sw_default_config()
7127 dcb_cfg->etscfg.tcbwtable[0] = I40E_IEEE_DEFAULT_ETS_TCBW; in i40e_dcb_sw_default_config()
9341 if (memcmp(&new_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig()
9342 &old_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig()
9343 sizeof(new_cfg->etscfg.tcbwtable))) in i40e_dcb_need_reconfig()