Searched refs:etsrec (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_lib.c | 422 memcpy(&curr_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg() 423 memcpy(&new_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg() 466 if (dcbcfg->etsrec.maxtcs) in ice_cfg_etsrec_defaults() 470 dcbcfg->etsrec.maxtcs = 1; in ice_cfg_etsrec_defaults() 472 dcbcfg->etsrec.tcbwtable[i] = i ? 0 : 100; in ice_cfg_etsrec_defaults() 473 dcbcfg->etsrec.tsatable[i] = i ? ICE_IEEE_TSA_STRICT : in ice_cfg_etsrec_defaults() 587 memcpy(&err_cfg->etsrec, &err_cfg->etscfg, sizeof(err_cfg->etsrec)); in ice_dcb_rebuild() 655 memcpy(&dcbcfg->etsrec, &dcbcfg->etscfg, in ice_dcb_sw_dflt_cfg() 656 sizeof(dcbcfg->etsrec)); in ice_dcb_sw_dflt_cfg() 657 dcbcfg->etsrec.willing = 0; in ice_dcb_sw_dflt_cfg()
|
D | ice_dcb_nl.c | 47 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in ice_dcbnl_getets() 49 memcpy(ets->tc_reco_tsa, dcbxcfg->etsrec.tsatable, in ice_dcbnl_getets() 91 new_cfg->etsrec.prio_table[i] = ets->reco_prio_tc[i]; in ice_dcbnl_setets() 93 new_cfg->etsrec.tcbwtable[i] = ets->tc_reco_bw[i]; in ice_dcbnl_setets() 95 new_cfg->etsrec.tsatable[i] = ets->tc_reco_tsa[i]; in ice_dcbnl_setets() 109 new_cfg->etsrec.tcbwtable[0] = 100; in ice_dcbnl_setets()
|
D | ice_dcb.c | 243 ice_parse_ieee_ets_common_tlv(&buf[1], &dcbcfg->etsrec); in ice_parse_ieee_etsrec_tlv() 1160 struct ice_dcb_ets_cfg *etsrec; in ice_add_ieee_etsrec_tlv() local 1173 etsrec = &dcbcfg->etsrec; in ice_add_ieee_etsrec_tlv() 1177 ice_add_ieee_ets_common_tlv(&buf[1], etsrec); in ice_add_ieee_etsrec_tlv()
|
D | ice_type.h | 711 struct ice_dcb_ets_cfg etsrec; member
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb.c | 124 dcbcfg->etsrec.prioritytable[i * 2] = priority; in i40e_parse_ieee_etsrec_tlv() 126 dcbcfg->etsrec.prioritytable[(i * 2) + 1] = priority; in i40e_parse_ieee_etsrec_tlv() 137 dcbcfg->etsrec.tcbwtable[i] = buf[offset++]; in i40e_parse_ieee_etsrec_tlv() 146 dcbcfg->etsrec.tsatable[i] = buf[offset++]; in i40e_parse_ieee_etsrec_tlv() 1026 struct i40e_dcb_ets_config *etsrec; in i40e_add_ieee_etsrec_tlv() local 1040 etsrec = &dcbcfg->etsrec; in i40e_add_ieee_etsrec_tlv() 1054 priority0 = etsrec->prioritytable[i * 2] & 0xF; in i40e_add_ieee_etsrec_tlv() 1055 priority1 = etsrec->prioritytable[i * 2 + 1] & 0xF; in i40e_add_ieee_etsrec_tlv() 1068 buf[offset++] = etsrec->tcbwtable[i]; in i40e_add_ieee_etsrec_tlv() 1077 buf[offset++] = etsrec->tsatable[i]; in i40e_add_ieee_etsrec_tlv()
|
D | i40e_dcb_nl.c | 55 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in i40e_dcbnl_ieee_getets() 57 memcpy(ets->tc_reco_tsa, dcbxcfg->etsrec.tsatable, in i40e_dcbnl_ieee_getets() 128 pf->tmp_cfg.etsrec.tcbwtable[i] = ets->tc_reco_bw[i]; in i40e_dcbnl_ieee_setets() 129 pf->tmp_cfg.etsrec.tsatable[i] = ets->tc_reco_tsa[i]; in i40e_dcbnl_ieee_setets() 130 pf->tmp_cfg.etsrec.prioritytable[i] = ets->reco_prio_tc[i]; in i40e_dcbnl_ieee_setets()
|
D | i40e_debugfs.c | 1081 i, cfg->etsrec.prioritytable[i], in i40e_dbg_command_write() 1082 cfg->etsrec.tcbwtable[i], in i40e_dbg_command_write() 1083 cfg->etsrec.tsatable[i]); in i40e_dbg_command_write() 1110 i, r_cfg->etsrec.prioritytable[i], in i40e_dbg_command_write() 1111 r_cfg->etsrec.tcbwtable[i], in i40e_dbg_command_write() 1112 r_cfg->etsrec.tsatable[i]); in i40e_dbg_command_write()
|
D | i40e_type.h | 476 struct i40e_dcb_ets_config etsrec; member
|
D | i40e_main.c | 6941 old_cfg->etsrec = old_cfg->etscfg; in i40e_hw_set_dcb_config()
|