Home
last modified time | relevance | path

Searched refs:my_pfc (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.c601 if (!my_pfc) { in bnxt_dcbnl_ieee_getpfc()
605 my_pfc = kzalloc(sizeof(*my_pfc), GFP_KERNEL); in bnxt_dcbnl_ieee_getpfc()
606 if (!my_pfc) in bnxt_dcbnl_ieee_getpfc()
608 bp->ieee_pfc = my_pfc; in bnxt_dcbnl_ieee_getpfc()
615 pfc->mbc = my_pfc->mbc; in bnxt_dcbnl_ieee_getpfc()
616 pfc->delay = my_pfc->delay; in bnxt_dcbnl_ieee_getpfc()
642 if (!my_pfc) { in bnxt_dcbnl_ieee_setpfc()
643 my_pfc = kzalloc(sizeof(*my_pfc), GFP_KERNEL); in bnxt_dcbnl_ieee_setpfc()
644 if (!my_pfc) in bnxt_dcbnl_ieee_setpfc()
646 bp->ieee_pfc = my_pfc; in bnxt_dcbnl_ieee_setpfc()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c562 struct ieee_pfc *my_pfc = adapter->ixgbe_ieee_pfc; in ixgbe_dcbnl_ieee_getpfc() local
568 if (!my_pfc) 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_dcb.c481 struct ieee_pfc *my_pfc = mlxsw_sp_port->dcb.pfc; in mlxsw_sp_port_pfc_cnt_get() local
491 my_pfc->requests[prio] = mlxsw_reg_ppcnt_tx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
492 my_pfc->indications[prio] = mlxsw_reg_ppcnt_rx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()