Searched refs:pfc_en (Results 1 - 19 of 19) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c177 void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en) ixgbe_dcb_unpack_pfc() argument
182 for (*pfc_en = 0, tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) { ixgbe_dcb_unpack_pfc()
184 *pfc_en |= 1 << tc; ixgbe_dcb_unpack_pfc()
268 u8 pfc_en; ixgbe_dcb_hw_config() local
276 ixgbe_dcb_unpack_pfc(dcb_config, &pfc_en); ixgbe_dcb_hw_config()
285 return ixgbe_dcb_hw_config_82598(hw, pfc_en, refill, max, ixgbe_dcb_hw_config()
291 return ixgbe_dcb_hw_config_82599(hw, pfc_en, refill, max, ixgbe_dcb_hw_config()
300 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) ixgbe_dcb_hw_pfc_config() argument
304 return ixgbe_dcb_config_pfc_82598(hw, pfc_en); ixgbe_dcb_hw_pfc_config()
309 return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); ixgbe_dcb_hw_pfc_config()
H A Dixgbe_dcb_82599.c208 * @pfc_en: enabled pfc bitmask
213 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) ixgbe_dcb_config_pfc_82599() argument
233 reg |= pfc_en << IXGBE_MFLCN_RPFCE_SHIFT; ixgbe_dcb_config_pfc_82599()
235 if (pfc_en) ixgbe_dcb_config_pfc_82599()
251 if ((prio_tc[j] == i) && (pfc_en & (1 << j))) { ixgbe_dcb_config_pfc_82599()
345 * @pfc_en: enabled pfc bitmask
349 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, ixgbe_dcb_hw_config_82599() argument
358 ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); ixgbe_dcb_hw_config_82599()
H A Dixgbe_dcb_82598.c191 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) ixgbe_dcb_config_pfc_82598() argument
206 if (pfc_en) ixgbe_dcb_config_pfc_82598()
213 if (!(pfc_en & (1 << i))) { ixgbe_dcb_config_pfc_82598()
276 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, ixgbe_dcb_hw_config_82598() argument
284 ixgbe_dcb_config_pfc_82598(hw, pfc_en); ixgbe_dcb_hw_config_82598()
H A 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,
H A Dixgbe_dcb_82599.h98 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc);
121 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
H A Dixgbe_dcb.h143 void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en);
159 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio);
H A Dixgbe_dcb_nl.c373 u8 pfc_en; ixgbe_dcbnl_set_all() local
377 ixgbe_dcb_unpack_pfc(dcb_cfg, &pfc_en); ixgbe_dcbnl_set_all()
378 ixgbe_dcb_hw_pfc_config(hw, pfc_en, prio_tc); ixgbe_dcbnl_set_all()
598 pfc->pfc_en = my_pfc->pfc_en; ixgbe_dcbnl_ieee_getpfc()
632 if (pfc->pfc_en) ixgbe_dcbnl_ieee_setpfc()
633 err = ixgbe_dcb_hw_pfc_config(hw, pfc->pfc_en, prio_tc); ixgbe_dcbnl_ieee_setpfc()
H A Dixgbe_main.c962 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; ixgbe_update_xoff_received() local
965 pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); ixgbe_update_xoff_received()
967 if (!(adapter->flags & IXGBE_FLAG_DCB_ENABLED) || !pfc_en) { ixgbe_update_xoff_received()
3176 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; ixgbe_set_rx_drop_en() local
3179 pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); ixgbe_set_rx_drop_en()
3191 !(adapter->hw.fc.current_mode & ixgbe_fc_tx_pause) && !pfc_en)) { ixgbe_set_rx_drop_en()
4255 adapter->ixgbe_ieee_pfc->pfc_en, ixgbe_configure_dcb()
6246 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; ixgbe_watchdog_update_link() local
6260 pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); ixgbe_watchdog_update_link()
6262 if (link_up && !((adapter->flags & IXGBE_FLAG_DCB_ENABLED) && pfc_en)) { ixgbe_watchdog_update_link()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_dcbnl.c101 pfc->pfc_en = interface->pfc_en; fm10k_dcbnl_ieee_getpfc()
116 interface->pfc_en = pfc->pfc_en; fm10k_dcbnl_ieee_setpfc()
H A Dfm10k.h334 u8 pfc_en; member in struct:fm10k_intfc
H A Dfm10k_pci.c655 if (interface->pfc_en) fm10k_configure_rx_ring()
656 rx_pause = interface->pfc_en; fm10k_configure_rx_ring()
694 if (interface->pfc_en) fm10k_update_rx_drop_en()
695 rx_pause = interface->pfc_en; fm10k_update_rx_drop_en()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_dcb_nl.c198 pfc->pfc_en = priv->prof->tx_ppp; mlx4_en_dcbnl_ieee_getpfc()
213 pfc->pfc_en, mlx4_en_dcbnl_ieee_setpfc()
217 prof->rx_pause = !pfc->pfc_en; mlx4_en_dcbnl_ieee_setpfc()
218 prof->tx_pause = !pfc->pfc_en; mlx4_en_dcbnl_ieee_setpfc()
219 prof->rx_ppp = pfc->pfc_en; mlx4_en_dcbnl_ieee_setpfc()
220 prof->tx_ppp = pfc->pfc_en; mlx4_en_dcbnl_ieee_setpfc()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dcb.c204 pfc->pfc_en = pdata->pfc->pfc_en; xgbe_dcb_ieee_getpfc()
218 pfc->pfc_cap, pfc->pfc_en, pfc->mbc, pfc->delay); xgbe_dcb_ieee_setpfc()
H A Dxgbe-dev.c567 if (pdata->tx_pause || (pfc && pfc->pfc_en)) xgbe_config_tx_flow_control()
579 if (pdata->rx_pause || (pfc && pfc->pfc_en)) xgbe_config_rx_flow_control()
595 (pfc && pfc->pfc_en) ? 1 : 0); xgbe_config_flow_control()
1356 if ((pfc->pfc_en & (1 << prio)) && xgbe_config_dcb_pfc()
/linux-4.1.27/include/uapi/linux/
H A Ddcbnl.h149 * @pfc_en: bitmap indicating pfc enabled traffic classes
158 __u8 pfc_en; member in struct:ieee_pfc
193 * @pfc_en: bitmap indicating pfc enabled traffic classes
199 __u8 pfc_en; member in struct:cee_pfc
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c106 pfc->pfc_en = dcbxcfg->pfc.pfcenable; i40e_dcbnl_ieee_getpfc()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_dcb.c1105 pfc->pfc_en = 0; qlcnic_dcb_cee_peer_get_pfc()
1119 pfc->pfc_en |= QLC_DCB_GET_MAP(i); qlcnic_dcb_cee_peer_get_pfc()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_dcb.c978 pfc->pfc_en = bitswap_1(dcb->pfcen); cxgb4_ieee_get_pfc()
1199 pfc->pfc_en = bitswap_1(pi->dcb.pfcen); cxgb4_cee_peer_getpfc()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c2517 pfc->pfc_en = bp->dcbx_remote_feat.pfc.pri_en_bitmap; bnx2x_cee_peer_getpfc()

Completed in 459 milliseconds