Home
last modified time | relevance | path

Searched refs:dcbcfg (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/ixl/
H A Di40e_dcb.c67 struct i40e_dcbx_config *dcbcfg) in i40e_parse_ieee_etscfg_tlv() argument
82 etscfg = &dcbcfg->etscfg; in i40e_parse_ieee_etscfg_tlv()
138 struct i40e_dcbx_config *dcbcfg) in i40e_parse_ieee_etsrec_tlv() argument
159 dcbcfg->etsrec.prioritytable[i*2] = priority; in i40e_parse_ieee_etsrec_tlv()
162 dcbcfg->etsrec.prioritytable[i*2 + 1] = priority; in i40e_parse_ieee_etsrec_tlv()
173 dcbcfg->etsrec.tcbwtable[i] = buf[offset++]; in i40e_parse_ieee_etsrec_tlv()
182 dcbcfg->etsrec.tsatable[i] = buf[offset++]; in i40e_parse_ieee_etsrec_tlv()
193 struct i40e_dcbx_config *dcbcfg) in i40e_parse_ieee_pfccfg_tlv() argument
203 dcbcfg->pfc.willing = (u8)((buf[0] & I40E_IEEE_PFC_WILLING_MASK) >> in i40e_parse_ieee_pfccfg_tlv()
205 dcbcfg->pfc.mbc = (u8)((buf[0] & I40E_IEEE_PFC_MBC_MASK) >> in i40e_parse_ieee_pfccfg_tlv()
[all …]
H A Di40e_dcb.h224 struct i40e_dcbx_config *dcbcfg);
227 struct i40e_dcbx_config *dcbcfg);
236 struct i40e_dcbx_config *dcbcfg);
/freebsd/sys/dev/ice/
H A Dice_dcb.c337 * @dcbcfg: Local store to update ETS CFG data
343 struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_etscfg_tlv() argument
355 etscfg = &dcbcfg->etscfg; in ice_parse_ieee_etscfg_tlv()
369 * @dcbcfg: Local store to update ETS REC data
375 struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_etsrec_tlv() argument
380 ice_parse_ieee_ets_common_tlv(&buf[1], &dcbcfg->etsrec); in ice_parse_ieee_etsrec_tlv()
386 * @dcbcfg: Local store to update PFC CFG data
392 struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_pfccfg_tlv() argument
402 dcbcfg->pfc.willing = ((buf[0] & ICE_IEEE_PFC_WILLING_M) >> in ice_parse_ieee_pfccfg_tlv()
404 dcbcfg in ice_parse_ieee_pfccfg_tlv()
419 ice_parse_ieee_app_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_parse_ieee_app_tlv() argument
475 ice_parse_ieee_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_parse_ieee_tlv() argument
510 ice_parse_cee_pgcfg_tlv(struct ice_cee_feat_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_parse_cee_pgcfg_tlv() argument
569 ice_parse_cee_pfccfg_tlv(struct ice_cee_feat_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_parse_cee_pfccfg_tlv() argument
593 ice_parse_cee_app_tlv(struct ice_cee_feat_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_parse_cee_app_tlv() argument
647 ice_parse_cee_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_parse_cee_tlv() argument
707 ice_parse_org_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_parse_org_tlv() argument
733 ice_lldp_to_dcb_cfg(u8 * lldpmib,struct ice_dcbx_cfg * dcbcfg) ice_lldp_to_dcb_cfg() argument
785 ice_aq_get_dcb_cfg(struct ice_hw * hw,u8 mib_type,u8 bridgetype,struct ice_dcbx_cfg * dcbcfg) ice_aq_get_dcb_cfg() argument
1017 struct ice_dcbx_cfg *cmp_dcbcfg, *dcbcfg; ice_cee_to_dcb_cfg() local
1356 ice_add_ieee_ets_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_add_ieee_ets_tlv() argument
1398 ice_add_ieee_etsrec_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_add_ieee_etsrec_tlv() argument
1428 ice_add_ieee_pfc_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_add_ieee_pfc_tlv() argument
1467 ice_add_ieee_app_pri_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_add_ieee_app_pri_tlv() argument
1515 ice_add_dscp_up_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_add_dscp_up_tlv() argument
1576 ice_add_dscp_tc_bw_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_add_dscp_tc_bw_tlv() argument
1624 ice_add_dscp_pfc_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg) ice_add_dscp_pfc_tlv() argument
1651 ice_add_dcb_tlv(struct ice_lldp_org_tlv * tlv,struct ice_dcbx_cfg * dcbcfg,u16 tlvid) ice_add_dcb_tlv() argument
1700 ice_dcb_cfg_to_lldp(u8 * lldpmib,u16 * miblen,struct ice_dcbx_cfg * dcbcfg) ice_dcb_cfg_to_lldp() argument
1734 struct ice_dcbx_cfg *dcbcfg; ice_set_dcb_cfg() local
[all...]
H A Dice_dcb.h244 int ice_lldp_to_dcb_cfg(u8 *lldpmib, struct ice_dcbx_cfg *dcbcfg);
248 struct ice_dcbx_cfg *dcbcfg);
254 void ice_dcb_cfg_to_lldp(u8 *lldpmib, u16 *miblen, struct ice_dcbx_cfg *dcbcfg);
H A Dice_lib.c165 static u8 ice_dcb_get_num_tc(struct ice_dcbx_cfg *dcbcfg);
183 static bool ice_dscp_is_mapped(struct ice_dcbx_cfg *dcbcfg);
3962 ice_dscp_is_mapped(struct ice_dcbx_cfg *dcbcfg) in ice_dscp_is_mapped() argument
3965 if (dcbcfg->dscp_map[i] != 0) in ice_dscp_is_mapped()
8570 ice_dcb_get_tc_map(const struct ice_dcbx_cfg *dcbcfg) in ice_dcb_get_tc_map() argument
8575 switch (dcbcfg->pfc_mode) { in ice_dcb_get_tc_map()
8582 tc_map |= BIT(dcbcfg->etscfg.prio_table[i]); in ice_dcb_get_tc_map()
8586 tc_map |= BIT(dcbcfg->dscp_map[i]); in ice_dcb_get_tc_map()
8607 ice_dcb_get_num_tc(struct ice_dcbx_cfg *dcbcfg) in ice_dcb_get_num_tc() argument
8611 tc_map = ice_dcb_get_tc_map(dcbcfg); in ice_dcb_get_num_tc()
[all …]
H A Dice_lib.h1030 u8 ice_dcb_get_tc_map(const struct ice_dcbx_cfg *dcbcfg);