/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb.c | 177 void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en) in ixgbe_dcb_unpack_pfc() argument 182 for (*pfc_en = 0, tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) { in ixgbe_dcb_unpack_pfc() 184 *pfc_en |= 1 << tc; in ixgbe_dcb_unpack_pfc() 268 u8 pfc_en; in ixgbe_dcb_hw_config() local 276 ixgbe_dcb_unpack_pfc(dcb_config, &pfc_en); in ixgbe_dcb_hw_config() 285 return ixgbe_dcb_hw_config_82598(hw, pfc_en, refill, max, in ixgbe_dcb_hw_config() 291 return ixgbe_dcb_hw_config_82599(hw, pfc_en, refill, max, in ixgbe_dcb_hw_config() 300 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_hw_pfc_config() argument 304 return ixgbe_dcb_config_pfc_82598(hw, pfc_en); in ixgbe_dcb_hw_pfc_config() 309 return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); in ixgbe_dcb_hw_pfc_config()
|
D | ixgbe_dcb_82599.c | 213 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_config_pfc_82599() argument 233 reg |= pfc_en << IXGBE_MFLCN_RPFCE_SHIFT; in ixgbe_dcb_config_pfc_82599() 235 if (pfc_en) in ixgbe_dcb_config_pfc_82599() 251 if ((prio_tc[j] == i) && (pfc_en & (1 << j))) { in ixgbe_dcb_config_pfc_82599() 355 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82599() argument 364 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 206 if (pfc_en) in ixgbe_dcb_config_pfc_82598() 213 if (!(pfc_en & (1 << i))) { in ixgbe_dcb_config_pfc_82598() 276 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82598() argument 284 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 | 98 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,
|
D | ixgbe_dcb.h | 143 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);
|
D | ixgbe_dcb_nl.c | 373 u8 pfc_en; in ixgbe_dcbnl_set_all() local 377 ixgbe_dcb_unpack_pfc(dcb_cfg, &pfc_en); in ixgbe_dcbnl_set_all() 378 ixgbe_dcb_hw_pfc_config(hw, pfc_en, prio_tc); in ixgbe_dcbnl_set_all() 598 pfc->pfc_en = my_pfc->pfc_en; in ixgbe_dcbnl_ieee_getpfc() 632 if (pfc->pfc_en) in ixgbe_dcbnl_ieee_setpfc() 633 err = ixgbe_dcb_hw_pfc_config(hw, pfc->pfc_en, prio_tc); in ixgbe_dcbnl_ieee_setpfc()
|
D | ixgbe_main.c | 976 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_update_xoff_received() local 979 pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); in ixgbe_update_xoff_received() 981 if (!(adapter->flags & IXGBE_FLAG_DCB_ENABLED) || !pfc_en) { in ixgbe_update_xoff_received() 3262 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_set_rx_drop_en() local 3265 pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); in ixgbe_set_rx_drop_en() 3277 !(adapter->hw.fc.current_mode & ixgbe_fc_tx_pause) && !pfc_en)) { in ixgbe_set_rx_drop_en() 4365 adapter->ixgbe_ieee_pfc->pfc_en, in ixgbe_configure_dcb() 6360 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_watchdog_update_link() local 6374 pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); in ixgbe_watchdog_update_link() 6376 if (link_up && !((adapter->flags & IXGBE_FLAG_DCB_ENABLED) && pfc_en)) { in ixgbe_watchdog_update_link()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_dcbnl.c | 101 pfc->pfc_en = interface->pfc_en; in fm10k_dcbnl_ieee_getpfc() 116 interface->pfc_en = pfc->pfc_en; in fm10k_dcbnl_ieee_setpfc()
|
D | fm10k_pci.c | 686 if (interface->pfc_en) in fm10k_configure_rx_ring() 687 rx_pause = interface->pfc_en; in fm10k_configure_rx_ring() 729 if (interface->pfc_en) in fm10k_update_rx_drop_en() 730 rx_pause = interface->pfc_en; in fm10k_update_rx_drop_en()
|
D | fm10k.h | 353 u8 pfc_en; member
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dcb.c | 207 pfc->pfc_en = pdata->pfc->pfc_en; in xgbe_dcb_ieee_getpfc() 222 pfc->pfc_cap, pfc->pfc_en, pfc->mbc, pfc->delay); in xgbe_dcb_ieee_setpfc()
|
D | xgbe-dev.c | 567 if (pdata->tx_pause || (pfc && pfc->pfc_en)) in xgbe_config_tx_flow_control() 579 if (pdata->rx_pause || (pfc && pfc->pfc_en)) in xgbe_config_rx_flow_control() 595 (pfc && pfc->pfc_en) ? 1 : 0); in xgbe_config_flow_control() 1347 if ((pfc->pfc_en & (1 << prio)) && in xgbe_config_dcb_pfc()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_dcb_nl.c | 198 pfc->pfc_en = priv->prof->tx_ppp; in mlx4_en_dcbnl_ieee_getpfc() 213 pfc->pfc_en, in mlx4_en_dcbnl_ieee_setpfc() 217 prof->rx_pause = !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc() 218 prof->tx_pause = !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc() 219 prof->rx_ppp = pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc() 220 prof->tx_ppp = pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
|
/linux-4.4.14/include/uapi/linux/ |
D | dcbnl.h | 158 __u8 pfc_en; member 199 __u8 pfc_en; member
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb_nl.c | 106 pfc->pfc_en = dcbxcfg->pfc.pfcenable; in i40e_dcbnl_ieee_getpfc()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.c | 1105 pfc->pfc_en = 0; in qlcnic_dcb_cee_peer_get_pfc() 1119 pfc->pfc_en |= QLC_DCB_GET_MAP(i); in qlcnic_dcb_cee_peer_get_pfc()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 990 pfc->pfc_en = bitswap_1(dcb->pfcen); in cxgb4_ieee_get_pfc() 1213 pfc->pfc_en = bitswap_1(pi->dcb.pfcen); in cxgb4_cee_peer_getpfc()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.c | 2521 pfc->pfc_en = bp->dcbx_remote_feat.pfc.pri_en_bitmap; in bnx2x_cee_peer_getpfc()
|