Searched refs:my_pfc (Results 1 – 5 of 5) sorted by relevance
550 struct ieee_pfc *my_pfc = bp->ieee_pfc; in bnxt_dcbnl_ieee_getpfc() local556 if (!my_pfc) { in bnxt_dcbnl_ieee_getpfc()560 my_pfc = kzalloc(sizeof(*my_pfc), GFP_KERNEL); in bnxt_dcbnl_ieee_getpfc()561 if (!my_pfc) in bnxt_dcbnl_ieee_getpfc()563 bp->ieee_pfc = my_pfc; in bnxt_dcbnl_ieee_getpfc()564 rc = bnxt_hwrm_queue_pfc_qcfg(bp, my_pfc); in bnxt_dcbnl_ieee_getpfc()569 pfc->pfc_en = my_pfc->pfc_en; in bnxt_dcbnl_ieee_getpfc()570 pfc->mbc = my_pfc->mbc; in bnxt_dcbnl_ieee_getpfc()571 pfc->delay = my_pfc->delay; in bnxt_dcbnl_ieee_getpfc()589 struct ieee_pfc *my_pfc = bp->ieee_pfc; in bnxt_dcbnl_ieee_setpfc() local[all …]
564 struct ieee_pfc *my_pfc = adapter->ixgbe_ieee_pfc; in ixgbe_dcbnl_ieee_getpfc() local570 if (!my_pfc) 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()
535 struct ieee_pfc *my_pfc = mlxsw_sp_port->dcb.pfc; in mlxsw_sp_port_pfc_cnt_get() local545 my_pfc->requests[prio] = mlxsw_reg_ppcnt_tx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()546 my_pfc->indications[prio] = mlxsw_reg_ppcnt_rx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
823 struct ieee_pfc *my_pfc) in __mlxsw_sp_port_headroom_set() argument826 u8 pfc_en = !!my_pfc ? my_pfc->pfc_en : 0; in __mlxsw_sp_port_headroom_set()827 u16 delay = !!my_pfc ? my_pfc->delay : 0; in __mlxsw_sp_port_headroom_set()868 struct ieee_pfc *my_pfc; in mlxsw_sp_port_headroom_set() local872 my_pfc = dcb_en ? mlxsw_sp_port->dcb.pfc : NULL; in mlxsw_sp_port_headroom_set()875 pause_en, my_pfc); in mlxsw_sp_port_headroom_set()
342 struct ieee_pfc *my_pfc);