Lines Matching full:pfc
493 /* No IEEE PFC settings available */ in ixgbe_dcbnl_ieee_getets()
559 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_getpfc() argument
565 pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_ieee_getpfc()
567 /* No IEEE PFC settings available */ in ixgbe_dcbnl_ieee_getpfc()
571 pfc->pfc_en = my_pfc->pfc_en; in ixgbe_dcbnl_ieee_getpfc()
572 pfc->mbc = my_pfc->mbc; in ixgbe_dcbnl_ieee_getpfc()
573 pfc->delay = my_pfc->delay; in ixgbe_dcbnl_ieee_getpfc()
576 pfc->requests[i] = adapter->stats.pxoffrxc[i]; in ixgbe_dcbnl_ieee_getpfc()
577 pfc->indications[i] = adapter->stats.pxofftxc[i]; in ixgbe_dcbnl_ieee_getpfc()
584 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_setpfc() argument
602 memcpy(adapter->ixgbe_ieee_pfc, pfc, sizeof(*adapter->ixgbe_ieee_pfc)); in ixgbe_dcbnl_ieee_setpfc()
604 /* Enable link flow control parameters if PFC is disabled */ in ixgbe_dcbnl_ieee_setpfc()
605 if (pfc->pfc_en) in ixgbe_dcbnl_ieee_setpfc()
606 err = ixgbe_dcb_hw_pfc_config(hw, pfc->pfc_en, prio_tc); in ixgbe_dcbnl_ieee_setpfc()
715 struct ieee_pfc pfc = {0}; in ixgbe_dcbnl_setdcbx() local
729 /* ETS and PFC defaults */ in ixgbe_dcbnl_setdcbx()
731 pfc.pfc_cap = 8; in ixgbe_dcbnl_setdcbx()
735 ixgbe_dcbnl_ieee_setpfc(dev, &pfc); in ixgbe_dcbnl_setdcbx()
746 ixgbe_dcbnl_ieee_setpfc(dev, &pfc); in ixgbe_dcbnl_setdcbx()