Searched refs:tcbwtable (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_lib.c | 249 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()
|
D | ice_dcb_nl.c | 43 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()
|
D | ice_dcb.c | 196 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()
|
D | ice_idc.c | 235 qos->tc_info[i].rel_bw = dcbx_cfg->etscfg.tcbwtable[i]; in ice_get_qos_params()
|
D | ice_type.h | 587 u8 tcbwtable[ICE_MAX_TRAFFIC_CLASS]; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb_nl.c | 48 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()
|
D | i40e_dcb.c | 88 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()
|
D | i40e_debugfs.c | 1091 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()
|
D | i40e_type.h | 493 u8 tcbwtable[I40E_MAX_TRAFFIC_CLASS]; member
|
D | i40e_main.c | 6949 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()
|