Home
last modified time | relevance | path

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

/linux-6.12.1/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()
85 new_cfg->etscfg.tcbwtable[i] = ets->tc_tx_bw[i]; in ice_dcbnl_setets()
93 new_cfg->etsrec.tcbwtable[i] = ets->tc_reco_bw[i]; in ice_dcbnl_setets()
106 new_cfg->etscfg.tcbwtable[0] = 100; in ice_dcbnl_setets()
109 new_cfg->etsrec.tcbwtable[0] = 100; in ice_dcbnl_setets()
514 *bw_pct = pi->qos_cfg.local_dcbx_cfg.etscfg.tcbwtable[pgid]; in ice_dcbnl_get_pg_bwg_cfg_tx()
545 new_cfg->etscfg.tcbwtable[pgid] = bw_pct; in ice_dcbnl_set_pg_bwg_cfg_tx()
833 new_cfg->etscfg.tcbwtable[0] = 100; in ice_dcbnl_setapp()
[all …]
Dice_dcb_lib.c327 etscfg->tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_bwchk()
332 total_bw += etscfg->tcbwtable[i]; in ice_dcb_bwchk()
335 etscfg->tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_bwchk()
472 dcbcfg->etsrec.tcbwtable[i] = i ? 0 : 100; in ice_cfg_etsrec_defaults()
502 if (memcmp(&new_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
503 &old_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
504 sizeof(new_cfg->etscfg.tcbwtable))) in ice_dcb_need_recfg()
585 err_cfg->etscfg.tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_rebuild()
652 dcbcfg->etscfg.tcbwtable[0] = 100; in ice_dcb_sw_dflt_cfg()
Dice_dcb.c194 ets_cfg->tcbwtable[i] = buf[offset]; in ice_parse_ieee_ets_common_tlv()
404 etscfg->tcbwtable[i] = buf[offset++]; in ice_parse_cee_pgcfg_tlv()
802 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in ice_cee_to_dcb_cfg()
1102 buf[offset] = ets_cfg->tcbwtable[i]; in ice_add_ieee_ets_common_tlv()
1372 buf[offset] = etscfg->tcbwtable[i]; in ice_add_dscp_tc_bw_tlv()
Dice_idc.c222 qos->tc_info[i].rel_bw = dcbx_cfg->etscfg.tcbwtable[i]; in ice_get_qos_params()
Dice_type.h674 u8 tcbwtable[ICE_MAX_TRAFFIC_CLASS]; member
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c47 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
49 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
55 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in i40e_dcbnl_ieee_getets()
125 pf->tmp_cfg.etscfg.tcbwtable[i] = ets->tc_tx_bw[i]; in i40e_dcbnl_ieee_setets()
128 pf->tmp_cfg.etsrec.tcbwtable[i] = ets->tc_reco_bw[i]; in i40e_dcbnl_ieee_setets()
414 pf->tmp_cfg.etscfg.tcbwtable[pgid] = bw_pct; in i40e_dcbnl_set_pg_bwg_cfg_tx()
511 *bw_pct = pf->hw.local_dcbx_config.etscfg.tcbwtable[pgid]; in i40e_dcbnl_get_pg_bwg_cfg_tx()
Di40e_dcb.c84 etscfg->tcbwtable[i] = buf[offset++]; in i40e_parse_ieee_etscfg_tlv()
137 dcbcfg->etsrec.tcbwtable[i] = buf[offset++]; in i40e_parse_ieee_etsrec_tlv()
303 etscfg->tcbwtable[i] = buf[offset++]; in i40e_parse_cee_pgcfg_tlv()
591 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in i40e_cee_to_dcb_v1_config()
668 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in i40e_cee_to_dcb_config()
1004 buf[offset++] = etscfg->tcbwtable[i]; in i40e_add_ieee_ets_tlv()
1068 buf[offset++] = etsrec->tcbwtable[i]; in i40e_add_ieee_etsrec_tlv()
Di40e_debugfs.c1076 cfg->etscfg.tcbwtable[i], in i40e_dbg_command_write()
1082 cfg->etsrec.tcbwtable[i], in i40e_dbg_command_write()
1105 r_cfg->etscfg.tcbwtable[i], in i40e_dbg_command_write()
1111 r_cfg->etsrec.tcbwtable[i], in i40e_dbg_command_write()
Di40e_type.h448 u8 tcbwtable[I40E_MAX_TRAFFIC_CLASS]; member
Di40e_main.c7017 new_cfg->etscfg.tcbwtable[i]; in i40e_hw_dcb_config()
7076 i40e_dcb_hw_rx_ets_bw_config(hw, new_cfg->etscfg.tcbwtable, mode, in i40e_hw_dcb_config()
7162 pf->tmp_cfg.etscfg.tcbwtable[0] = I40E_IEEE_DEFAULT_ETS_TCBW; in i40e_dcb_sw_default_config()
7197 dcb_cfg->etscfg.tcbwtable[0] = I40E_IEEE_DEFAULT_ETS_TCBW; in i40e_dcb_sw_default_config()
9427 if (memcmp(&new_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig()
9428 &old_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig()
9429 sizeof(new_cfg->etscfg.tcbwtable))) in i40e_dcb_need_reconfig()