Home
last modified time | relevance | path

Searched refs:etsrec (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c324 memcpy(&curr_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg()
325 memcpy(&new_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg()
367 if (dcbcfg->etsrec.maxtcs) in ice_cfg_etsrec_defaults()
371 dcbcfg->etsrec.maxtcs = 1; in ice_cfg_etsrec_defaults()
373 dcbcfg->etsrec.tcbwtable[i] = i ? 0 : 100; in ice_cfg_etsrec_defaults()
374 dcbcfg->etsrec.tsatable[i] = i ? ICE_IEEE_TSA_STRICT : in ice_cfg_etsrec_defaults()
488 memcpy(&err_cfg->etsrec, &err_cfg->etscfg, sizeof(err_cfg->etsrec)); in ice_dcb_rebuild()
555 memcpy(&dcbcfg->etsrec, &dcbcfg->etscfg, in ice_dcb_sw_dflt_cfg()
556 sizeof(dcbcfg->etsrec)); in ice_dcb_sw_dflt_cfg()
557 dcbcfg->etsrec.willing = 0; in ice_dcb_sw_dflt_cfg()
Dice_dcb_nl.c51 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in ice_dcbnl_getets()
53 memcpy(ets->tc_reco_tsa, dcbxcfg->etsrec.tsatable, in ice_dcbnl_getets()
90 new_cfg->etsrec.tcbwtable[i] = ets->tc_reco_bw[i]; in ice_dcbnl_setets()
92 new_cfg->etsrec.tsatable[i] = ets->tc_reco_tsa[i]; in ice_dcbnl_setets()
93 new_cfg->etsrec.prio_table[i] = ets->reco_prio_tc[i]; in ice_dcbnl_setets()
109 new_cfg->etsrec.tcbwtable[0] = 100; in ice_dcbnl_setets()
Dice_dcb.c247 ice_parse_ieee_ets_common_tlv(&buf[1], &dcbcfg->etsrec); in ice_parse_ieee_etsrec_tlv()
1080 struct ice_dcb_ets_cfg *etsrec; in ice_add_ieee_etsrec_tlv() local
1093 etsrec = &dcbcfg->etsrec; in ice_add_ieee_etsrec_tlv()
1097 ice_add_ieee_ets_common_tlv(&buf[1], etsrec); in ice_add_ieee_etsrec_tlv()
Dice_type.h507 struct ice_dcb_ets_cfg etsrec; member
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c53 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in i40e_dcbnl_ieee_getets()
55 memcpy(ets->tc_reco_tsa, dcbxcfg->etsrec.tsatable, in i40e_dcbnl_ieee_getets()
Di40e_dcb.c129 dcbcfg->etsrec.prioritytable[i*2] = priority; in i40e_parse_ieee_etsrec_tlv()
132 dcbcfg->etsrec.prioritytable[i*2 + 1] = priority; in i40e_parse_ieee_etsrec_tlv()
143 dcbcfg->etsrec.tcbwtable[i] = buf[offset++]; in i40e_parse_ieee_etsrec_tlv()
152 dcbcfg->etsrec.tsatable[i] = buf[offset++]; in i40e_parse_ieee_etsrec_tlv()
Di40e_debugfs.c1087 i, cfg->etsrec.prioritytable[i], in i40e_dbg_command_write()
1088 cfg->etsrec.tcbwtable[i], in i40e_dbg_command_write()
1089 cfg->etsrec.tsatable[i]); in i40e_dbg_command_write()
1116 i, r_cfg->etsrec.prioritytable[i], in i40e_dbg_command_write()
1117 r_cfg->etsrec.tcbwtable[i], in i40e_dbg_command_write()
1118 r_cfg->etsrec.tsatable[i]); in i40e_dbg_command_write()
Di40e_type.h523 struct i40e_dcb_ets_config etsrec; member