Searched refs:pfc_en (Results 1 – 10 of 10) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb.c | 181 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()
|
D | ixgbe_dcb_82599.c | 212 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()
|
D | ixgbe_dcb_82598.c | 191 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()
|
D | ixgbe_dcb_82598.h | 74 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,
|
D | ixgbe_dcb_82599.h | 96 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,
|
D | ixgbe_dcb.h | 143 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);
|
D | ixgbe_dcb_nl.c | 416 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()
|
D | ixgbe_main.c | 3590 adapter->ixgbe_ieee_pfc->pfc_en, in ixgbe_configure_dcb()
|
/linux-3.4.99/include/linux/ |
D | dcbnl.h | 83 __u8 pfc_en; member 124 __u8 pfc_en; member
|
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.c | 2474 pfc->pfc_en = bp->dcbx_remote_feat.pfc.pri_en_bitmap; in bnx2x_cee_peer_getpfc()
|