Home
last modified time | relevance | path

Searched refs:pfc_en (Results 1 – 10 of 10) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c181 void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en) in ixgbe_dcb_unpack_pfc() argument
185 *pfc_en = 0; in ixgbe_dcb_unpack_pfc()
187 *pfc_en |= !!(cfg->tc_config[i].dcb_pfc & 0xF) << i; in ixgbe_dcb_unpack_pfc()
257 u8 pfc_en; in ixgbe_dcb_hw_config() local
265 ixgbe_dcb_unpack_pfc(dcb_config, &pfc_en); in ixgbe_dcb_hw_config()
274 ret = ixgbe_dcb_hw_config_82598(hw, pfc_en, refill, max, in ixgbe_dcb_hw_config()
279 ret = ixgbe_dcb_hw_config_82599(hw, pfc_en, refill, max, in ixgbe_dcb_hw_config()
289 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_hw_pfc_config() argument
295 ret = ixgbe_dcb_config_pfc_82598(hw, pfc_en); in ixgbe_dcb_hw_pfc_config()
299 ret = ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); in ixgbe_dcb_hw_pfc_config()
Dixgbe_dcb_82599.c212 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_config_pfc_82599() argument
233 if ((prio_tc[j] == i) && (pfc_en & (1 << j))) { in ixgbe_dcb_config_pfc_82599()
251 if (pfc_en) { in ixgbe_dcb_config_pfc_82599()
275 reg |= pfc_en << IXGBE_MFLCN_RPFCE_SHIFT; in ixgbe_dcb_config_pfc_82599()
362 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82599() argument
371 ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); in ixgbe_dcb_hw_config_82599()
Dixgbe_dcb_82598.c191 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) in ixgbe_dcb_config_pfc_82598() argument
196 if (pfc_en) { in ixgbe_dcb_config_pfc_82598()
223 int enabled = pfc_en & (1 << i); in ixgbe_dcb_config_pfc_82598()
283 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82598() argument
291 ixgbe_dcb_config_pfc_82598(hw, pfc_en); in ixgbe_dcb_hw_config_82598()
Dixgbe_dcb_82598.h74 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *, u8 pfc_en);
94 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
Dixgbe_dcb_82599.h96 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc);
119 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
Dixgbe_dcb.h143 void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en);
158 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio);
Dixgbe_dcb_nl.c416 u8 pfc_en; in ixgbe_dcbnl_set_all() local
421 ixgbe_dcb_unpack_pfc(&adapter->dcb_cfg, &pfc_en); in ixgbe_dcbnl_set_all()
422 ixgbe_dcb_hw_pfc_config(&adapter->hw, pfc_en, prio_tc); in ixgbe_dcbnl_set_all()
634 pfc->pfc_en = my_pfc->pfc_en; in ixgbe_dcbnl_ieee_getpfc()
664 return ixgbe_dcb_hw_pfc_config(&adapter->hw, pfc->pfc_en, prio_tc); in ixgbe_dcbnl_ieee_setpfc()
Dixgbe_main.c3590 adapter->ixgbe_ieee_pfc->pfc_en, in ixgbe_configure_dcb()
/linux-3.4.99/include/linux/
Ddcbnl.h83 __u8 pfc_en; member
124 __u8 pfc_en; member
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c2474 pfc->pfc_en = bp->dcbx_remote_feat.pfc.pri_en_bitmap; in bnx2x_cee_peer_getpfc()