Lines Matching refs:pfc
74 struct ieee_pfc *pfc) in i40e_dcbnl_ieee_getpfc() argument
85 pfc->pfc_cap = dcbxcfg->pfc.pfccap; in i40e_dcbnl_ieee_getpfc()
86 pfc->pfc_en = dcbxcfg->pfc.pfcenable; in i40e_dcbnl_ieee_getpfc()
87 pfc->mbc = dcbxcfg->pfc.mbc; in i40e_dcbnl_ieee_getpfc()
88 i40e_get_pfc_delay(hw, &pfc->delay); in i40e_dcbnl_ieee_getpfc()
92 pfc->requests[i] = pf->stats.priority_xoff_tx[i]; in i40e_dcbnl_ieee_getpfc()
93 pfc->indications[i] = pf->stats.priority_xoff_rx[i]; in i40e_dcbnl_ieee_getpfc()
155 struct ieee_pfc *pfc) in i40e_dcbnl_ieee_setpfc() argument
168 if (pfc->pfc_cap) in i40e_dcbnl_ieee_setpfc()
169 pf->tmp_cfg.pfc.pfccap = pfc->pfc_cap; in i40e_dcbnl_ieee_setpfc()
171 pf->tmp_cfg.pfc.pfccap = I40E_MAX_TRAFFIC_CLASS; in i40e_dcbnl_ieee_setpfc()
172 pf->tmp_cfg.pfc.pfcenable = pfc->pfc_en; in i40e_dcbnl_ieee_setpfc()
587 pf->tmp_cfg.pfc.pfccap = I40E_MAX_TRAFFIC_CLASS; in i40e_dcbnl_set_pfc_cfg()
589 pf->tmp_cfg.pfc.pfcenable |= BIT(prio); in i40e_dcbnl_set_pfc_cfg()
591 pf->tmp_cfg.pfc.pfcenable &= ~BIT(prio); in i40e_dcbnl_set_pfc_cfg()
594 prio, setting, pf->tmp_cfg.pfc.pfcenable); in i40e_dcbnl_set_pfc_cfg()
617 *setting = (pf->hw.local_dcbx_config.pfc.pfcenable >> prio) & 0x1; in i40e_dcbnl_get_pfc_cfg()
620 prio, *setting, pf->hw.local_dcbx_config.pfc.pfcenable); in i40e_dcbnl_get_pfc_cfg()
727 if (pf->hw.local_dcbx_config.pfc.pfcenable) in i40e_dcbnl_getpfcstate()