Lines Matching full:dcb

10  * @dcbcfg: DCB config to evaluate for enabled TCs
83 * ice_dcb_get_mode - gets the DCB mode
125 pr_err("Non-contiguous TCs - Disabling DCB\n"); in ice_dcb_get_num_tc()
145 * When DCB is enabled, first droptc information is derived from enabled_tc
147 * TC without DCB (tc0)
177 * ice_vsi_set_dcb_tc_cfg - Set VSI's TC based on DCB configuration
213 * ice_vsi_cfg_dcb_rings - Update rings to reflect DCB TC
255 /* When DCB is configured, TC for ADQ queues (which are really in ice_vsi_cfg_dcb_rings()
273 * ice_dcb_ena_dis_vsi - disable certain VSIs for DCB config/reconfig
278 * Before a new DCB configuration can be applied, VSIs of type PF, SWITCHDEV
279 * and CHNL need to be brought down. Following completion of DCB configuration
310 * @dcbcfg: pointer to DCB config structure
345 * ice_pf_dcb_cfg - Apply new DCB configuration
365 /* Enable DCB tagging only when more than one TC */ in ice_pf_dcb_cfg()
367 dev_dbg(dev, "DCB tagging enabled (num TC > 1)\n"); in ice_pf_dcb_cfg()
369 dev_err(dev, "Custom Tx scheduler feature enabled, can't configure DCB\n"); in ice_pf_dcb_cfg()
376 dev_dbg(dev, "DCB tagging disabled (num TC = 1)\n"); in ice_pf_dcb_cfg()
381 dev_dbg(dev, "No change in DCB config required\n"); in ice_pf_dcb_cfg()
393 dev_info(dev, "Commit DCB Configuration to the hardware\n"); in ice_pf_dcb_cfg()
418 /* disable VSIs affected by DCB changes */ in ice_pf_dcb_cfg()
431 dev_err(dev, "Set DCB Config failed\n"); in ice_pf_dcb_cfg()
457 * ice_cfg_etsrec_defaults - Set default ETS recommended DCB config
465 /* Ensure ETS recommended DCB configuration is not already set */ in ice_cfg_etsrec_defaults()
479 * ice_dcb_need_recfg - Check if DCB needs reconfig
481 * @old_cfg: current DCB config
482 * @new_cfg: new DCB config
525 dev_dbg(dev, "dcb need_reconfig=%d\n", need_reconfig); in ice_dcb_need_recfg()
530 * ice_dcb_rebuild - rebuild DCB post reset
553 dev_err(dev, "Failed to set DCB config in rebuild\n"); in ice_dcb_rebuild()
565 dev_info(dev, "DCB info restored\n"); in ice_dcb_rebuild()
577 dev_err(dev, "Disabling DCB until new settings occur\n"); in ice_dcb_rebuild()
601 * ice_dcb_init_cfg - set the initial DCB config in SW
619 dev_info(ice_pf_to_dev(pf), "Configuring initial DCB values\n"); in ice_dcb_init_cfg()
629 * ice_dcb_sw_dflt_cfg - Apply a default DCB config
704 * ice_dcb_noncontig_cfg - Configure DCB for non-contiguous TCs
707 * If non-contiguous TCs, then configure SW DCB with TC0 and ETS non-willing
715 /* Configure SW DCB default with ETS non-willing */ in ice_dcb_noncontig_cfg()
718 dev_err(dev, "Failed to set local DCB config %d\n", ret); in ice_dcb_noncontig_cfg()
726 dev_err(dev, "Failed to set DCB to unwilling\n"); in ice_dcb_noncontig_cfg()
737 * calling this function. Reconfiguring DCB based on
799 * ice_init_pf_dcb - initialize DCB for a PF
800 * @pf: PF to initialize DCB for
814 dev_err(dev, "Error initializing DCB %d\n", err); in ice_init_pf_dcb()
818 dev_info(dev, "DCB is enabled in the hardware, max number of TCs supported on this port are %d\n", in ice_init_pf_dcb()
833 dev_err(dev, "Failed to set local DCB config %d\n", in ice_init_pf_dcb()
844 dev_err(dev, "Failed to set local DCB config\n"); in ice_init_pf_dcb()
867 dev_err(dev, "DCB init failed\n"); in ice_init_pf_dcb()
872 * ice_update_dcb_stats - Update DCB stats counters
914 * ice_tx_prepare_vlan_flags_dcb - prepare VLAN tagging for DCB
976 /* Not DCB capable or capability disabled */ in ice_dcb_process_lldp_set_mib_change()
1015 dev_dbg(dev, "Failed to get remote DCB config\n"); in ice_dcb_process_lldp_set_mib_change()
1020 /* That a DCB change has happened is now determined */ in ice_dcb_process_lldp_set_mib_change()
1036 dev_err(dev, "Failed to get DCB config\n"); in ice_dcb_process_lldp_set_mib_change()
1056 /* Enable DCB tagging only when more than one TC */ in ice_dcb_process_lldp_set_mib_change()
1058 dev_dbg(dev, "DCB tagging enabled (num TC > 1)\n"); in ice_dcb_process_lldp_set_mib_change()
1061 dev_dbg(dev, "DCB tagging disabled (num TC = 1)\n"); in ice_dcb_process_lldp_set_mib_change()
1072 /* disable VSIs affected by DCB changes */ in ice_dcb_process_lldp_set_mib_change()