Lines Matching full:pfc
495 /* No IEEE PFC settings available */ in ixgbe_dcbnl_ieee_getets()
561 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_getpfc() argument
567 pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_ieee_getpfc()
569 /* No IEEE PFC settings available */ in ixgbe_dcbnl_ieee_getpfc()
573 pfc->pfc_en = my_pfc->pfc_en; in ixgbe_dcbnl_ieee_getpfc()
574 pfc->mbc = my_pfc->mbc; in ixgbe_dcbnl_ieee_getpfc()
575 pfc->delay = my_pfc->delay; in ixgbe_dcbnl_ieee_getpfc()
578 pfc->requests[i] = adapter->stats.pxoffrxc[i]; in ixgbe_dcbnl_ieee_getpfc()
579 pfc->indications[i] = adapter->stats.pxofftxc[i]; in ixgbe_dcbnl_ieee_getpfc()
586 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_setpfc() argument
604 memcpy(adapter->ixgbe_ieee_pfc, pfc, sizeof(*adapter->ixgbe_ieee_pfc)); in ixgbe_dcbnl_ieee_setpfc()
606 /* Enable link flow control parameters if PFC is disabled */ in ixgbe_dcbnl_ieee_setpfc()
607 if (pfc->pfc_en) in ixgbe_dcbnl_ieee_setpfc()
608 err = ixgbe_dcb_hw_pfc_config(hw, pfc->pfc_en, prio_tc); in ixgbe_dcbnl_ieee_setpfc()
717 struct ieee_pfc pfc = {0}; in ixgbe_dcbnl_setdcbx() local
731 /* ETS and PFC defaults */ in ixgbe_dcbnl_setdcbx()
733 pfc.pfc_cap = 8; in ixgbe_dcbnl_setdcbx()
737 ixgbe_dcbnl_ieee_setpfc(dev, &pfc); in ixgbe_dcbnl_setdcbx()
748 ixgbe_dcbnl_ieee_setpfc(dev, &pfc); in ixgbe_dcbnl_setdcbx()