Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/intel/ice/
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()
88 new_cfg->etsrec.tcbwtable[i] = ets->tc_reco_bw[i]; in ice_dcbnl_setets()
101 new_cfg->etscfg.tcbwtable[0] = 100; in ice_dcbnl_setets()
104 new_cfg->etsrec.tcbwtable[0] = 100; in ice_dcbnl_setets()
484 *bw_pct = pi->qos_cfg.local_dcbx_cfg.etscfg.tcbwtable[pgid]; in ice_dcbnl_get_pg_bwg_cfg_tx()
510 new_cfg->etscfg.tcbwtable[pgid] = bw_pct; in ice_dcbnl_set_pg_bwg_cfg_tx()
793 new_cfg->etscfg.tcbwtable[0] = 100; in ice_dcbnl_setapp()
[all …]
Dice_dcb_lib.c326 etscfg->tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_bwchk()
331 total_bw += etscfg->tcbwtable[i]; in ice_dcb_bwchk()
334 etscfg->tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_bwchk()
465 dcbcfg->etsrec.tcbwtable[i] = i ? 0 : 100; in ice_cfg_etsrec_defaults()
495 if (memcmp(&new_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
496 &old_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
497 sizeof(new_cfg->etscfg.tcbwtable))) in ice_dcb_need_recfg()
578 err_cfg->etscfg.tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_rebuild()
645 dcbcfg->etscfg.tcbwtable[0] = 100; in ice_dcb_sw_dflt_cfg()
Dice_dcb.c195 ets_cfg->tcbwtable[i] = buf[offset]; in ice_parse_ieee_ets_common_tlv()
414 etscfg->tcbwtable[i] = buf[offset++]; in ice_parse_cee_pgcfg_tlv()
814 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in ice_cee_to_dcb_cfg()
1078 buf[offset] = ets_cfg->tcbwtable[i]; in ice_add_ieee_ets_common_tlv()
1348 buf[offset] = etscfg->tcbwtable[i]; in ice_add_dscp_tc_bw_tlv()
Dice_idc.c220 qos->tc_info[i].rel_bw = dcbx_cfg->etscfg.tcbwtable[i]; in ice_get_qos_params()
Dice_type.h623 u8 tcbwtable[ICE_MAX_TRAFFIC_CLASS]; member
/linux-5.19.10/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.c6811 new_cfg->etscfg.tcbwtable[i]; in i40e_hw_dcb_config()
6870 i40e_dcb_hw_rx_ets_bw_config(hw, new_cfg->etscfg.tcbwtable, mode, in i40e_hw_dcb_config()
6954 pf->tmp_cfg.etscfg.tcbwtable[0] = I40E_IEEE_DEFAULT_ETS_TCBW; in i40e_dcb_sw_default_config()
6989 dcb_cfg->etscfg.tcbwtable[0] = I40E_IEEE_DEFAULT_ETS_TCBW; in i40e_dcb_sw_default_config()
9204 if (memcmp(&new_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig()
9205 &old_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig()
9206 sizeof(new_cfg->etscfg.tcbwtable))) in i40e_dcb_need_reconfig()