Lines Matching refs:pfc
401 struct ieee_pfc *pfc) in mlx4_en_dcbnl_ieee_getpfc() argument
405 pfc->pfc_cap = IEEE_8021QAZ_MAX_TCS; in mlx4_en_dcbnl_ieee_getpfc()
406 pfc->pfc_en = priv->prof->tx_ppp; in mlx4_en_dcbnl_ieee_getpfc()
412 struct ieee_pfc *pfc) in mlx4_en_dcbnl_ieee_setpfc() argument
421 pfc->pfc_cap, in mlx4_en_dcbnl_ieee_setpfc()
422 pfc->pfc_en, in mlx4_en_dcbnl_ieee_setpfc()
423 pfc->mbc, in mlx4_en_dcbnl_ieee_setpfc()
424 pfc->delay); in mlx4_en_dcbnl_ieee_setpfc()
426 rx_pause = prof->rx_pause && !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
427 tx_pause = prof->tx_pause && !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
428 rx_ppp = pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
429 tx_ppp = pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
461 struct ieee_pfc pfc = {0}; in mlx4_en_dcbnl_setdcbx() local
475 pfc.pfc_cap = IEEE_8021QAZ_MAX_TCS; in mlx4_en_dcbnl_setdcbx()
480 if (mlx4_en_dcbnl_ieee_setpfc(dev, &pfc)) in mlx4_en_dcbnl_setdcbx()
488 if (mlx4_en_dcbnl_ieee_setpfc(dev, &pfc)) in mlx4_en_dcbnl_setdcbx()