Lines Matching refs:pfc
586 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_getpfc() argument
592 pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_ieee_getpfc()
598 pfc->pfc_en = my_pfc->pfc_en; in ixgbe_dcbnl_ieee_getpfc()
599 pfc->mbc = my_pfc->mbc; in ixgbe_dcbnl_ieee_getpfc()
600 pfc->delay = my_pfc->delay; in ixgbe_dcbnl_ieee_getpfc()
603 pfc->requests[i] = adapter->stats.pxoffrxc[i]; in ixgbe_dcbnl_ieee_getpfc()
604 pfc->indications[i] = adapter->stats.pxofftxc[i]; in ixgbe_dcbnl_ieee_getpfc()
611 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_setpfc() argument
629 memcpy(adapter->ixgbe_ieee_pfc, pfc, sizeof(*adapter->ixgbe_ieee_pfc)); in ixgbe_dcbnl_ieee_setpfc()
632 if (pfc->pfc_en) in ixgbe_dcbnl_ieee_setpfc()
633 err = ixgbe_dcb_hw_pfc_config(hw, pfc->pfc_en, prio_tc); in ixgbe_dcbnl_ieee_setpfc()
742 struct ieee_pfc pfc = {0}; in ixgbe_dcbnl_setdcbx() local
758 pfc.pfc_cap = 8; in ixgbe_dcbnl_setdcbx()
762 ixgbe_dcbnl_ieee_setpfc(dev, &pfc); in ixgbe_dcbnl_setdcbx()
773 ixgbe_dcbnl_ieee_setpfc(dev, &pfc); in ixgbe_dcbnl_setdcbx()