Lines Matching full:pfc
244 bnxt_hwrm_queue_pfc_cfg(struct bnxt_softc *softc, struct bnxt_ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg() argument
257 if ((pfc->pfc_en & (1 << pri)) && in bnxt_hwrm_queue_pfc_cfg()
270 "to configure PFC (cap %d)\n", lltc_count, softc->max_lltc); in bnxt_hwrm_queue_pfc_cfg()
295 bnxt_hwrm_queue_pfc_qcfg(struct bnxt_softc *softc, struct bnxt_ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg() argument
311 pfc->pfc_en = pri_mask; in bnxt_hwrm_queue_pfc_qcfg()
673 bnxt_dcb_ieee_getpfc(struct bnxt_softc *softc, struct bnxt_ieee_pfc *pfc) in bnxt_dcb_ieee_getpfc() argument
681 pfc->pfc_cap = softc->max_lltc; in bnxt_dcb_ieee_getpfc()
687 pfc->pfc_en = my_pfc->pfc_en; in bnxt_dcb_ieee_getpfc()
688 pfc->mbc = my_pfc->mbc; in bnxt_dcb_ieee_getpfc()
689 pfc->delay = my_pfc->delay; in bnxt_dcb_ieee_getpfc()
695 bnxt_dcb_ieee_setpfc(struct bnxt_softc *softc, struct bnxt_ieee_pfc *pfc) in bnxt_dcb_ieee_setpfc() argument
708 rc = bnxt_hwrm_queue_pfc_cfg(softc, pfc); in bnxt_dcb_ieee_setpfc()
710 memcpy(my_pfc, pfc, sizeof(*my_pfc)); in bnxt_dcb_ieee_setpfc()
830 struct bnxt_ieee_pfc pfc = {0}; in bnxt_dcb_init() local
853 bnxt_dcb_ieee_setpfc(softc, &pfc); in bnxt_dcb_init()