Home
last modified time | relevance | path

Searched refs:etscfg (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/ixl/
H A Di40e_dcb.c69 struct i40e_dcb_ets_config *etscfg; in i40e_parse_ieee_etscfg_tlv() local
82 etscfg = &dcbcfg->etscfg; in i40e_parse_ieee_etscfg_tlv()
83 etscfg->willing = (u8)((buf[offset] & I40E_IEEE_ETS_WILLING_MASK) >> in i40e_parse_ieee_etscfg_tlv()
85 etscfg->cbs = (u8)((buf[offset] & I40E_IEEE_ETS_CBS_MASK) >> in i40e_parse_ieee_etscfg_tlv()
87 etscfg->maxtcs = (u8)((buf[offset] & I40E_IEEE_ETS_MAXTC_MASK) >> in i40e_parse_ieee_etscfg_tlv()
104 etscfg->prioritytable[i * 2] = priority; in i40e_parse_ieee_etscfg_tlv()
107 etscfg->prioritytable[i * 2 + 1] = priority; in i40e_parse_ieee_etscfg_tlv()
118 etscfg->tcbwtable[i] = buf[offset++]; in i40e_parse_ieee_etscfg_tlv()
127 etscfg->tsatable[i] = buf[offset++]; in i40e_parse_ieee_etscfg_tlv()
311 struct i40e_dcb_ets_config *etscfg; in i40e_parse_cee_pgcfg_tlv() local
[all …]
H A Di40e_type.h678 struct i40e_dcb_ets_config etscfg; member
/freebsd/sys/dev/ice/
H A Dice_dcb.c345 struct ice_dcb_ets_cfg *etscfg; in ice_parse_ieee_etscfg_tlv() local
355 etscfg = &dcbcfg->etscfg; in ice_parse_ieee_etscfg_tlv()
356 etscfg->willing = ((buf[0] & ICE_IEEE_ETS_WILLING_M) >> in ice_parse_ieee_etscfg_tlv()
358 etscfg->cbs = ((buf[0] & ICE_IEEE_ETS_CBS_M) >> ICE_IEEE_ETS_CBS_S); in ice_parse_ieee_etscfg_tlv()
359 etscfg->maxtcs = ((buf[0] & ICE_IEEE_ETS_MAXTC_M) >> in ice_parse_ieee_etscfg_tlv()
363 ice_parse_ieee_ets_common_tlv(&buf[1], etscfg); in ice_parse_ieee_etscfg_tlv()
512 struct ice_dcb_ets_cfg *etscfg; in ice_parse_cee_pgcfg_tlv() local
517 etscfg = &dcbcfg->etscfg; in ice_parse_cee_pgcfg_tlv()
1358 struct ice_dcb_ets_cfg *etscfg; ice_add_ieee_ets_tlv() local
1578 struct ice_dcb_ets_cfg *etscfg; ice_add_dscp_tc_bw_tlv() local
[all...]
H A Dice_lib.c4127 sbuf_printf(sbuf, "%d", local_dcbx_cfg->etscfg.tcbwtable[i]); in ice_sysctl_up2tc_map()
4157 memcpy(local_dcbx_cfg->etscfg.tcbwtable, new_ets_table, in ice_sysctl_up2tc_map()
4163 local_dcbx_cfg->etscfg.tsatable[i] = 2; in ice_sysctl_up2tc_map()
4165 local_dcbx_cfg->etscfg.tsatable[i] = 0; in ice_sysctl_up2tc_map()
4167 local_dcbx_cfg->etscfg.willing = 0; in ice_sysctl_up2tc_map()
4168 local_dcbx_cfg->etsrec = local_dcbx_cfg->etscfg; in ice_sysctl_up2tc_map()
4238 sbuf_printf(sbuf, "%d", local_dcbx_cfg->etscfg.prio_table[i]);
4264 memcpy(local_dcbx_cfg->etscfg.prio_table, new_up2tc, in ice_sysctl_pfc_config()
8580 tc_map |= BIT(dcbcfg->etscfg.prio_table[i]); in ice_vsi_setup_q_map()
8691 if (memcmp(&new_cfg->etscfg, in ice_pf_vsi_cfg_tc()
[all...]
H A Dice_rdma.c385 num_tc |= BIT(dcbx_cfg->etscfg.prio_table[j]); in ice_rdma_cp_qos_info()
400 qos_info->tc_info[j].rel_bw = dcbx_cfg->etscfg.tcbwtable[j]; in ice_rdma_cp_qos_info()
H A Dice_iflib_txrx.c597 tc = local_dcbx_cfg->etscfg.prio_table[up];
H A Dice_type.h925 struct ice_dcb_ets_cfg etscfg;
904 struct ice_dcb_ets_cfg etscfg; global() member