/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb.c | 204 * @dcbcfg: Local store to update ETS CFG data 210 struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_etscfg_tlv() 222 etscfg = &dcbcfg->etscfg; in ice_parse_ieee_etscfg_tlv() 236 * @dcbcfg: Local store to update ETS REC data 242 struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_etsrec_tlv() 247 ice_parse_ieee_ets_common_tlv(&buf[1], &dcbcfg->etsrec); in ice_parse_ieee_etsrec_tlv() 253 * @dcbcfg: Local store to update PFC CFG data 259 struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_pfccfg_tlv() 269 dcbcfg->pfc.willing = ((buf[0] & ICE_IEEE_PFC_WILLING_M) >> in ice_parse_ieee_pfccfg_tlv() 271 dcbcfg in ice_parse_ieee_pfccfg_tlv() 209 ice_parse_ieee_etscfg_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_etscfg_tlv() argument 241 ice_parse_ieee_etsrec_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_etsrec_tlv() argument 258 ice_parse_ieee_pfccfg_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_pfccfg_tlv() argument 285 ice_parse_ieee_app_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_app_tlv() argument 342 ice_parse_ieee_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_tlv() argument 376 ice_parse_cee_pgcfg_tlv(struct ice_cee_feat_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_cee_pgcfg_tlv() argument 435 ice_parse_cee_pfccfg_tlv(struct ice_cee_feat_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_cee_pfccfg_tlv() argument 460 ice_parse_cee_app_tlv(struct ice_cee_feat_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_cee_app_tlv() argument 514 ice_parse_cee_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_cee_tlv() argument 574 ice_parse_org_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_org_tlv() argument 601 ice_lldp_to_dcb_cfg(u8 *lldpmib, struct ice_dcbx_cfg *dcbcfg) ice_lldp_to_dcb_cfg() argument 652 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 754 struct ice_dcbx_cfg *cmp_dcbcfg, *dcbcfg; ice_cee_to_dcb_cfg() local 1056 ice_add_ieee_ets_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_ieee_ets_tlv() argument 1097 ice_add_ieee_etsrec_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_ieee_etsrec_tlv() argument 1128 ice_add_ieee_pfc_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_ieee_pfc_tlv() argument 1166 ice_add_ieee_app_pri_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_ieee_app_pri_tlv() argument 1218 ice_add_dcb_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg, u16 tlvid) ice_add_dcb_tlv() argument 1248 ice_dcb_cfg_to_lldp(u8 *lldpmib, u16 *miblen, struct ice_dcbx_cfg *dcbcfg) ice_dcb_cfg_to_lldp() argument 1282 struct ice_dcbx_cfg *dcbcfg; ice_set_dcb_cfg() local [all...] |
H A D | ice_dcb_lib.c | 16 struct ice_dcbx_cfg *dcbcfg; in ice_vsi_cfg_netdev_tc() local 31 dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_vsi_cfg_netdev_tc() 41 u8 ets_tc = dcbcfg->etscfg.prio_table[i]; in ice_vsi_cfg_netdev_tc() 51 * @dcbcfg: DCB config to evaluate for enabled TCs 53 u8 ice_dcb_get_ena_tc(struct ice_dcbx_cfg *dcbcfg) in ice_dcb_get_ena_tc() argument 57 num_tc = ice_dcb_get_num_tc(dcbcfg); in ice_dcb_get_ena_tc() 145 * @dcbcfg: config to retrieve number of TCs from 147 u8 ice_dcb_get_num_tc(struct ice_dcbx_cfg *dcbcfg) in ice_dcb_get_num_tc() argument 158 num_tc |= BIT(dcbcfg->etscfg.prio_table[i]); in ice_dcb_get_num_tc() 232 * @dcbcfg 234 ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg) ice_dcb_bwchk() argument 363 struct ice_dcbx_cfg *dcbcfg = &pi->qos_cfg.local_dcbx_cfg; ice_cfg_etsrec_defaults() local 538 struct ice_dcbx_cfg *dcbcfg; ice_dcb_sw_dflt_cfg() local 612 struct ice_dcbx_cfg *dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; ice_dcb_noncontig_cfg() local 642 struct ice_dcbx_cfg *dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; ice_pf_dcb_recfg() local [all...] |
H A D | ice_dcb_lib.h | 18 u8 ice_dcb_get_ena_tc(struct ice_dcbx_cfg *dcbcfg); 19 u8 ice_dcb_get_num_tc(struct ice_dcbx_cfg *dcbcfg); 25 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg); 65 static inline u8 ice_dcb_get_ena_tc(struct ice_dcbx_cfg __always_unused *dcbcfg) in ice_dcb_get_ena_tc() argument 70 static inline u8 ice_dcb_get_num_tc(struct ice_dcbx_cfg __always_unused *dcbcfg) in ice_dcb_get_num_tc() argument
|
H A D | ice_dcb.h | 125 struct ice_dcbx_cfg *dcbcfg);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb.c | 32 * @dcbcfg: Local store to update ETS CFG data 37 struct i40e_dcbx_config *dcbcfg) in i40e_parse_ieee_etscfg_tlv() 52 etscfg = &dcbcfg->etscfg; in i40e_parse_ieee_etscfg_tlv() 103 * @dcbcfg: Local store to update ETS REC data 108 struct i40e_dcbx_config *dcbcfg) in i40e_parse_ieee_etsrec_tlv() 129 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() 158 * @dcbcfg 36 i40e_parse_ieee_etscfg_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_etscfg_tlv() argument 107 i40e_parse_ieee_etsrec_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_etsrec_tlv() argument 162 i40e_parse_ieee_pfccfg_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_pfccfg_tlv() argument 189 i40e_parse_ieee_app_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_app_tlv() argument 244 i40e_parse_ieee_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_tlv() argument 278 i40e_parse_cee_pgcfg_tlv(struct i40e_cee_feat_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_cee_pgcfg_tlv() argument 331 i40e_parse_cee_pfccfg_tlv(struct i40e_cee_feat_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_cee_pfccfg_tlv() argument 355 i40e_parse_cee_app_tlv(struct i40e_cee_feat_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_cee_app_tlv() argument 411 i40e_parse_cee_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_cee_tlv() argument 472 i40e_parse_org_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_org_tlv() argument 500 i40e_lldp_to_dcb_config(u8 *lldpmib, struct i40e_dcbx_config *dcbcfg) i40e_lldp_to_dcb_config() argument 554 i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, u8 bridgetype, struct i40e_dcbx_config *dcbcfg) i40e_aq_get_dcb_config() argument 589 i40e_cee_to_dcb_v1_config( struct i40e_aqc_get_cee_dcb_cfg_v1_resp *cee_cfg, struct i40e_dcbx_config *dcbcfg) i40e_cee_to_dcb_v1_config() argument 670 i40e_cee_to_dcb_config( struct i40e_aqc_get_cee_dcb_cfg_resp *cee_cfg, struct i40e_dcbx_config *dcbcfg) i40e_cee_to_dcb_config() argument [all...] |
H A D | i40e_dcb.h | 122 struct i40e_dcbx_config *dcbcfg); 125 struct i40e_dcbx_config *dcbcfg);
|
H A D | i40e_ethtool.c | 5101 struct i40e_dcbx_config *dcbcfg; in i40e_set_priv_flags() local 5106 dcbcfg = &pf->hw.local_dcbx_config; in i40e_set_priv_flags() 5107 dcbcfg->etscfg.willing = 1; in i40e_set_priv_flags() 5108 dcbcfg->etscfg.maxtcs = 0; in i40e_set_priv_flags() 5109 dcbcfg->etscfg.tcbwtable[0] = 100; in i40e_set_priv_flags() 5111 dcbcfg->etscfg.tcbwtable[i] = 0; in i40e_set_priv_flags() 5113 dcbcfg->etscfg.prioritytable[i] = 0; in i40e_set_priv_flags() 5114 dcbcfg->etscfg.tsatable[0] = I40E_IEEE_TSA_ETS; in i40e_set_priv_flags() 5115 dcbcfg->pfc.willing = 1; in i40e_set_priv_flags() 5116 dcbcfg in i40e_set_priv_flags() [all...] |
H A D | i40e_main.c | 5183 struct i40e_dcbx_config *dcbcfg = &hw->local_dcbx_config; in i40e_get_iscsi_tc_map() local 5185 for (i = 0; i < dcbcfg->numapps; i++) { in i40e_get_iscsi_tc_map() 5186 app = dcbcfg->app[i]; in i40e_get_iscsi_tc_map() 5189 tc = dcbcfg->etscfg.prioritytable[app.priority]; in i40e_get_iscsi_tc_map() 5200 * @dcbcfg: the corresponding DCBx configuration structure 5204 static u8 i40e_dcb_get_num_tc(struct i40e_dcbx_config *dcbcfg) in i40e_dcb_get_num_tc() argument 5215 num_tc |= BIT(dcbcfg->etscfg.prioritytable[i]); in i40e_dcb_get_num_tc() 5242 * @dcbcfg: the corresponding DCBx configuration structure 5247 static u8 i40e_dcb_get_enabled_tc(struct i40e_dcbx_config *dcbcfg) in i40e_dcb_get_enabled_tc() argument 5249 u8 num_tc = i40e_dcb_get_num_tc(dcbcfg); in i40e_dcb_get_enabled_tc() 5288 struct i40e_dcbx_config *dcbcfg = &hw->local_dcbx_config; i40e_pf_get_num_tc() local 5460 struct i40e_dcbx_config *dcbcfg = &hw->local_dcbx_config; i40e_vsi_config_netdev_tc() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb.c | 206 * @dcbcfg: Local store to update ETS CFG data 212 struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_etscfg_tlv() 224 etscfg = &dcbcfg->etscfg; in ice_parse_ieee_etscfg_tlv() 238 * @dcbcfg: Local store to update ETS REC data 244 struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_etsrec_tlv() 249 ice_parse_ieee_ets_common_tlv(&buf[1], &dcbcfg->etsrec); in ice_parse_ieee_etsrec_tlv() 255 * @dcbcfg: Local store to update PFC CFG data 261 struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_pfccfg_tlv() 271 dcbcfg->pfc.willing = ((buf[0] & ICE_IEEE_PFC_WILLING_M) >> in ice_parse_ieee_pfccfg_tlv() 273 dcbcfg in ice_parse_ieee_pfccfg_tlv() 211 ice_parse_ieee_etscfg_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_etscfg_tlv() argument 243 ice_parse_ieee_etsrec_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_etsrec_tlv() argument 260 ice_parse_ieee_pfccfg_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_pfccfg_tlv() argument 287 ice_parse_ieee_app_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_app_tlv() argument 344 ice_parse_ieee_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_ieee_tlv() argument 378 ice_parse_cee_pgcfg_tlv(struct ice_cee_feat_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_cee_pgcfg_tlv() argument 437 ice_parse_cee_pfccfg_tlv(struct ice_cee_feat_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_cee_pfccfg_tlv() argument 462 ice_parse_cee_app_tlv(struct ice_cee_feat_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_cee_app_tlv() argument 516 ice_parse_cee_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_cee_tlv() argument 576 ice_parse_org_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_parse_org_tlv() argument 602 ice_lldp_to_dcb_cfg(u8 *lldpmib, struct ice_dcbx_cfg *dcbcfg) ice_lldp_to_dcb_cfg() argument 653 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 794 struct ice_dcbx_cfg *cmp_dcbcfg, *dcbcfg; ice_cee_to_dcb_cfg() local 1131 ice_add_ieee_ets_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_ieee_ets_tlv() argument 1172 ice_add_ieee_etsrec_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_ieee_etsrec_tlv() argument 1203 ice_add_ieee_pfc_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_ieee_pfc_tlv() argument 1241 ice_add_ieee_app_pri_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_ieee_app_pri_tlv() argument 1290 ice_add_dscp_up_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_dscp_up_tlv() argument 1350 ice_add_dscp_tc_bw_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_dscp_tc_bw_tlv() argument 1399 ice_add_dscp_pfc_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) ice_add_dscp_pfc_tlv() argument 1426 ice_add_dcb_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg, u16 tlvid) ice_add_dcb_tlv() argument 1476 ice_dcb_cfg_to_lldp(u8 *lldpmib, u16 *miblen, struct ice_dcbx_cfg *dcbcfg) ice_dcb_cfg_to_lldp() argument 1510 struct ice_dcbx_cfg *dcbcfg; ice_set_dcb_cfg() local [all...] |
H A D | ice_dcb_lib.c | 10 * @dcbcfg: DCB config to evaluate for enabled TCs 12 static u8 ice_dcb_get_ena_tc(struct ice_dcbx_cfg *dcbcfg) in ice_dcb_get_ena_tc() argument 16 num_tc = ice_dcb_get_num_tc(dcbcfg); in ice_dcb_get_ena_tc() 104 * @dcbcfg: config to retrieve number of TCs from 106 u8 ice_dcb_get_num_tc(struct ice_dcbx_cfg *dcbcfg) in ice_dcb_get_num_tc() argument 117 num_tc |= BIT(dcbcfg->etscfg.prio_table[i]); in ice_dcb_get_num_tc() 310 * @dcbcfg: pointer to DCB config structure 312 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg) in ice_dcb_bwchk() argument 314 struct ice_dcb_ets_cfg *etscfg = &dcbcfg->etscfg; in ice_dcb_bwchk() 321 num_tc = ice_dcb_get_num_tc(dcbcfg); in ice_dcb_bwchk() 462 struct ice_dcbx_cfg *dcbcfg = &pi->qos_cfg.local_dcbx_cfg; ice_cfg_etsrec_defaults() local 637 struct ice_dcbx_cfg *dcbcfg; ice_dcb_sw_dflt_cfg() local 711 struct ice_dcbx_cfg *dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; ice_dcb_noncontig_cfg() local 742 struct ice_dcbx_cfg *dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; ice_pf_dcb_recfg() local [all...] |
H A D | ice_dcb_lib.h | 19 u8 ice_dcb_get_num_tc(struct ice_dcbx_cfg *dcbcfg); 25 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg); 75 static inline u8 ice_dcb_get_ena_tc(struct ice_dcbx_cfg __always_unused *dcbcfg) in ice_dcb_get_ena_tc() argument 80 static inline u8 ice_dcb_get_num_tc(struct ice_dcbx_cfg __always_unused *dcbcfg) in ice_dcb_get_num_tc() argument
|
H A D | ice_dcb.h | 144 struct ice_dcbx_cfg *dcbcfg);
|
H A D | ice_txrx.c | 2467 * @dcbcfg: DCB config that contains DSCP to UP/TC mapping 2472 static u8 ice_get_dscp_up(struct ice_dcbx_cfg *dcbcfg, struct sk_buff *skb) in ice_get_dscp_up() argument 2481 return dcbcfg->dscp_map[dscp]; in ice_get_dscp_up() 2489 struct ice_dcbx_cfg *dcbcfg; in ice_select_queue() local 2491 dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_select_queue() 2492 if (dcbcfg->pfc_mode == ICE_QOS_MODE_DSCP) in ice_select_queue() 2493 skb->priority = ice_get_dscp_up(dcbcfg, skb); in ice_select_queue()
|
H A D | ice_lib.c | 3257 struct ice_dcbx_cfg *dcbcfg; in ice_vsi_cfg_netdev_tc() local 3279 dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_vsi_cfg_netdev_tc() 3302 u8 ets_tc = dcbcfg->etscfg.prio_table[i]; in ice_vsi_cfg_netdev_tc()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb.c | 32 * @dcbcfg: Local store to update ETS CFG data 37 struct i40e_dcbx_config *dcbcfg) in i40e_parse_ieee_etscfg_tlv() 52 etscfg = &dcbcfg->etscfg; in i40e_parse_ieee_etscfg_tlv() 103 * @dcbcfg: Local store to update ETS REC data 108 struct i40e_dcbx_config *dcbcfg) in i40e_parse_ieee_etsrec_tlv() 129 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() 158 * @dcbcfg 36 i40e_parse_ieee_etscfg_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_etscfg_tlv() argument 107 i40e_parse_ieee_etsrec_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_etsrec_tlv() argument 162 i40e_parse_ieee_pfccfg_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_pfccfg_tlv() argument 189 i40e_parse_ieee_app_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_app_tlv() argument 244 i40e_parse_ieee_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_ieee_tlv() argument 278 i40e_parse_cee_pgcfg_tlv(struct i40e_cee_feat_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_cee_pgcfg_tlv() argument 331 i40e_parse_cee_pfccfg_tlv(struct i40e_cee_feat_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_cee_pfccfg_tlv() argument 355 i40e_parse_cee_app_tlv(struct i40e_cee_feat_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_cee_app_tlv() argument 411 i40e_parse_cee_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_cee_tlv() argument 472 i40e_parse_org_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_parse_org_tlv() argument 500 i40e_lldp_to_dcb_config(u8 *lldpmib, struct i40e_dcbx_config *dcbcfg) i40e_lldp_to_dcb_config() argument 554 i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, u8 bridgetype, struct i40e_dcbx_config *dcbcfg) i40e_aq_get_dcb_config() argument 589 i40e_cee_to_dcb_v1_config( struct i40e_aqc_get_cee_dcb_cfg_v1_resp *cee_cfg, struct i40e_dcbx_config *dcbcfg) i40e_cee_to_dcb_v1_config() argument 670 i40e_cee_to_dcb_config( struct i40e_aqc_get_cee_dcb_cfg_resp *cee_cfg, struct i40e_dcbx_config *dcbcfg) i40e_cee_to_dcb_config() argument 985 i40e_add_ieee_ets_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_add_ieee_ets_tlv() argument 1060 i40e_add_ieee_etsrec_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_add_ieee_etsrec_tlv() argument 1124 i40e_add_ieee_pfc_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_add_ieee_pfc_tlv() argument 1162 i40e_add_ieee_app_pri_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) i40e_add_ieee_app_pri_tlv() argument 1213 i40e_add_dcb_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg, u16 tlvid) i40e_add_dcb_tlv() argument 1243 struct i40e_dcbx_config *dcbcfg; i40e_set_dcb_config() local 1277 i40e_dcb_config_to_lldp(u8 *lldpmib, u16 *miblen, struct i40e_dcbx_config *dcbcfg) i40e_dcb_config_to_lldp() argument [all...] |
H A D | i40e_dcb.h | 270 struct i40e_dcbx_config *dcbcfg); 273 struct i40e_dcbx_config *dcbcfg); 282 struct i40e_dcbx_config *dcbcfg);
|
H A D | i40e_main.c | 5381 struct i40e_dcbx_config *dcbcfg = &hw->local_dcbx_config; in i40e_get_iscsi_tc_map() local 5383 for (i = 0; i < dcbcfg->numapps; i++) { in i40e_get_iscsi_tc_map() 5384 app = dcbcfg->app[i]; in i40e_get_iscsi_tc_map() 5387 tc = dcbcfg->etscfg.prioritytable[app.priority]; in i40e_get_iscsi_tc_map() 5398 * @dcbcfg: the corresponding DCBx configuration structure 5402 static u8 i40e_dcb_get_num_tc(struct i40e_dcbx_config *dcbcfg) in i40e_dcb_get_num_tc() argument 5413 num_tc |= BIT(dcbcfg->etscfg.prioritytable[i]); in i40e_dcb_get_num_tc() 5440 * @dcbcfg: the corresponding DCBx configuration structure 5445 static u8 i40e_dcb_get_enabled_tc(struct i40e_dcbx_config *dcbcfg) in i40e_dcb_get_enabled_tc() argument 5447 u8 num_tc = i40e_dcb_get_num_tc(dcbcfg); in i40e_dcb_get_enabled_tc() 5486 struct i40e_dcbx_config *dcbcfg = &hw->local_dcbx_config; i40e_pf_get_num_tc() local 5659 struct i40e_dcbx_config *dcbcfg = &hw->local_dcbx_config; i40e_vsi_config_netdev_tc() local [all...] |