pfc_en 219 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c pfc->pfc_en = pdata->pfc->pfc_en; pfc_en 234 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c pfc->pfc_cap, pfc->pfc_en, pfc->mbc, pfc->delay); pfc_en 237 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c if (pfc->pfc_en & ~((1 << pdata->hw_feat.tc_cnt) - 1)) { pfc_en 476 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (pdata->pfc->pfc_en & (1 << tc)) pfc_en 619 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (pdata->tx_pause || (pfc && pfc->pfc_en)) pfc_en 631 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (pdata->rx_pause || (pfc && pfc->pfc_en)) pfc_en 647 drivers/net/ethernet/amd/xgbe/xgbe-dev.c (pfc && pfc->pfc_en) ? 1 : 0); pfc_en 2452 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (!pdata->pfc->pfc_en) pfc_en 2585 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (pdata->pfc && pdata->ets && pdata->pfc->pfc_en) { pfc_en 2550 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c pfc->pfc_en = bp->dcbx_remote_feat.pfc.pri_en_bitmap; pfc_en 246 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if ((pfc->pfc_en & (1 << pri)) && pfc_en 298 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c pfc->pfc_en = pri_mask; pfc_en 574 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c pfc->pfc_en = my_pfc->pfc_en; pfc_en 1012 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pfc->pfc_en = bitswap_1(dcb->pfcen); pfc_en 1235 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pfc->pfc_en = bitswap_1(pi->dcb.pfcen); pfc_en 296 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c pfc->pfc_en |= BIT(j); pfc_en 327 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c if (pfc->pfc_en == hdev->tm_info.pfc_en) pfc_en 335 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c if ((prio_tc[j] == i) && (pfc->pfc_en & BIT(j))) { pfc_en 343 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c hdev->tm_info.pfc_en = pfc->pfc_en; pfc_en 347 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c pfc->pfc_en, pfc_map, hdev->tm_info.num_tc); pfc_en 359 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u8 pfc_en; /* PFC enabled or not for user priority */ pfc_en 608 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c if (hdev->tm_info.num_tc > 1 || hdev->tm_info.pfc_en) pfc_en 1244 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c hdev->tm_info.pfc_en); pfc_en 1400 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c if (hdev->tm_info.num_tc > 1 || hdev->tm_info.pfc_en) pfc_en 387 drivers/net/ethernet/intel/fm10k/fm10k.h u8 pfc_en; pfc_en 83 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c pfc->pfc_en = interface->pfc_en; pfc_en 98 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c interface->pfc_en = pfc->pfc_en; pfc_en 1023 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->pfc_en) pfc_en 1024 drivers/net/ethernet/intel/fm10k/fm10k_pci.c rx_pause = interface->pfc_en; pfc_en 1068 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->pfc_en) pfc_en 1069 drivers/net/ethernet/intel/fm10k/fm10k_pci.c rx_pause = interface->pfc_en; pfc_en 83 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c pfc->pfc_en = dcbxcfg->pfc.pfcenable; pfc_en 162 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en) pfc_en 167 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c for (*pfc_en = 0, tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) { pfc_en 169 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c *pfc_en |= BIT(tc); pfc_en 253 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c u8 pfc_en; pfc_en 261 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c ixgbe_dcb_unpack_pfc(dcb_config, &pfc_en); pfc_en 270 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c return ixgbe_dcb_hw_config_82598(hw, pfc_en, refill, max, pfc_en 277 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c return ixgbe_dcb_hw_config_82599(hw, pfc_en, refill, max, pfc_en 286 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) pfc_en 290 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c return ixgbe_dcb_config_pfc_82598(hw, pfc_en); pfc_en 296 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); pfc_en 118 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.h void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en); pfc_en 134 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.h s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio); pfc_en 174 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) pfc_en 189 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c if (pfc_en) pfc_en 196 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c if (!(pfc_en & BIT(i))) { pfc_en 263 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, pfc_en 271 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c ixgbe_dcb_config_pfc_82598(hw, pfc_en); pfc_en 49 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.h s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *, u8 pfc_en); pfc_en 69 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.h s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, pfc_en 190 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) pfc_en 210 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c reg |= pfc_en << IXGBE_MFLCN_RPFCE_SHIFT; pfc_en 212 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c if (pfc_en) pfc_en 228 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c if ((prio_tc[j] == i) && (pfc_en & BIT(j))) { pfc_en 333 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, pfc_en 342 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); pfc_en 73 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc); pfc_en 96 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, pfc_en 348 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c u8 pfc_en; pfc_en 352 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_pfc(dcb_cfg, &pfc_en); pfc_en 353 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_hw_pfc_config(hw, pfc_en, prio_tc); pfc_en 573 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c pfc->pfc_en = my_pfc->pfc_en; pfc_en 607 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (pfc->pfc_en) pfc_en 608 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c err = ixgbe_dcb_hw_pfc_config(hw, pfc->pfc_en, prio_tc); pfc_en 966 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; pfc_en 969 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); pfc_en 971 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!(adapter->flags & IXGBE_FLAG_DCB_ENABLED) || !pfc_en) { pfc_en 3681 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; pfc_en 3684 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); pfc_en 3696 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c !(adapter->hw.fc.current_mode & ixgbe_fc_tx_pause) && !pfc_en)) { pfc_en 5071 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->ixgbe_ieee_pfc->pfc_en, pfc_en 7365 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; pfc_en 7379 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); pfc_en 7381 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (link_up && !((adapter->flags & IXGBE_FLAG_DCB_ENABLED) && pfc_en)) { pfc_en 406 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c pfc->pfc_en = priv->prof->tx_ppp; pfc_en 422 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c pfc->pfc_en, pfc_en 426 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c rx_pause = prof->rx_pause && !pfc->pfc_en; pfc_en 427 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c tx_pause = prof->tx_pause && !pfc->pfc_en; pfc_en 428 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c rx_ppp = pfc->pfc_en; pfc_en 429 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c tx_ppp = pfc->pfc_en; pfc_en 192 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c u8 pfc_en, u8 *buffer, u32 xoff, pfc_en 213 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c lossy_count += !(pfc_en & (1 << prio)); pfc_en 238 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c static int fill_pfc_en(struct mlx5_core_dev *mdev, u8 *pfc_en) pfc_en 251 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c *pfc_en = 0xff; pfc_en 253 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c err = mlx5_query_port_pfc(mdev, pfc_en, NULL); pfc_en 295 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c err = update_buffer_lossy(max_mtu, pfc->pfc_en, buffer, xoff, pfc_en 349 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c return mlx5_query_port_pfc(mdev, &pfc->pfc_en, NULL); pfc_en 365 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (pfc->pfc_en != curr_pfc_en) { pfc_en 366 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ret = mlx5_set_port_pfc(mdev, pfc->pfc_en, pfc->pfc_en); pfc_en 381 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c pfc_new.pfc_en = (changed & MLX5E_PORT_BUFFER_PFC) ? pfc->pfc_en : curr_pfc_en; pfc_en 394 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c __func__, pfc->pfc_en); pfc_en 653 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c pfc.pfc_en = 0; pfc_en 656 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c pfc.pfc_en |= cee_cfg->pfc_setting[i] << i; pfc_en 794 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c *setting = (pfc.pfc_en >> priority) & 0x01; pfc_en 882 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c return pfc.pfc_en ? MLX5E_CEE_STATE_UP : MLX5E_CEE_STATE_DOWN; pfc_en 4559 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pfcc_prio_pack(char *payload, u8 pfc_en) pfc_en 4563 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pfcc_pfctx_set(payload, pfc_en); pfc_en 4564 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pfcc_pfcrx_set(payload, pfc_en); pfc_en 923 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 pfc_en = !!my_pfc ? my_pfc->pfc_en : 0; pfc_en 947 drivers/net/ethernet/mellanox/mlxsw/spectrum.c pfc = pfc_en & BIT(j); pfc_en 1975 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (mlxsw_sp_port->dcb.pfc && mlxsw_sp_port->dcb.pfc->pfc_en) { pfc_en 579 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_pfcc_prio_pack(pfcc_pl, pfc->pfc_en); pfc_en 592 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c if (pause_en && pfc->pfc_en) { pfc_en 2027 drivers/net/ethernet/qlogic/qed/qed_dcbx.c pfc->pfc_en |= BIT(i); pfc_en 2031 drivers/net/ethernet/qlogic/qed/qed_dcbx.c pfc->pfc_en, pfc->tcs_supported); pfc_en 2092 drivers/net/ethernet/qlogic/qed/qed_dcbx.c pfc->pfc_en = 0; pfc_en 2095 drivers/net/ethernet/qlogic/qed/qed_dcbx.c pfc->pfc_en |= BIT(i); pfc_en 2134 drivers/net/ethernet/qlogic/qed/qed_dcbx.c dcbx_set.config.params.pfc.prio[i] = !!(pfc->pfc_en & BIT(i)); pfc_en 1105 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c pfc->pfc_en = 0; pfc_en 1119 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c pfc->pfc_en |= QLC_DCB_GET_MAP(i); pfc_en 159 include/uapi/linux/dcbnl.h __u8 pfc_en; pfc_en 210 include/uapi/linux/dcbnl.h __u8 pfc_en;