/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ethtool.c | 218 if (mlxsw_sp_port->dcb.pfc && mlxsw_sp_port->dcb.pfc->pfc_en) {
|
H A D | reg.h | 5168 static inline void mlxsw_reg_pfcc_prio_pack(char *payload, u8 pfc_en) argument 5172 mlxsw_reg_pfcc_pfctx_set(payload, pfc_en); 5173 mlxsw_reg_pfcc_pfcrx_set(payload, pfc_en);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_vf.c | 763 if (vf->pfc_en) { 764 vf->pfc_en = 0;
|
H A D | otx2_pf.c | 1536 if (pf->pfc_en) { 1560 if (pf->pfc_en) { 1623 if (pf->pfc_en) 3275 if (pf->pfc_en) { 3276 pf->pfc_en = 0;
|
H A D | otx2_flows.c | 1018 pfvf->pfc_en && req->op != NIX_RX_ACTIONOP_RSS) { 1026 if (pfvf->pfc_en & BIT(vlan_prio)) {
|
H A D | otx2_common.h | 523 u8 pfc_en; member in struct:otx2_nic 979 int otx2_txschq_config(struct otx2_nic *pfvf, int lvl, int prio, bool pfc_en);
|
H A D | otx2_common.c | 1697 req->chan_cnt = pfvf->pfc_en ? IEEE_8021QAZ_MAX_TCS : 1; 1698 req->bpid_per_chan = pfvf->pfc_en ? 1 : 0;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cgx.c | 1248 u8 rx_pause, u16 pfc_en) 1281 return mac_ops->pfc_config(cgxd, lmac_id, tx_pause, rx_pause, pfc_en); 1305 req->rx_pause, req->pfc_en); 1247 rvu_cgx_prio_flow_ctrl_cfg(struct rvu *rvu, u16 pcifunc, u8 tx_pause, u8 rx_pause, u16 pfc_en) argument
|
H A D | rpm.h | 132 u16 pfc_en);
|
H A D | mbox.h | 712 u16 pfc_en; /* bitmap indicating pfc enabled traffic classes */ member in struct:cgx_pfc_cfg
|
H A D | rpm.c | 210 unsigned long pfc_en, 217 for_each_set_bit(i, &pfc_en, 16) { 629 int rpm_lmac_pfc_config(void *rpmd, int lmac_id, u8 tx_pause, u8 rx_pause, u16 pfc_en) argument 642 pfc_en |= FIELD_GET(RPM_PFC_CLASS_MASK, class_en); 653 rpm_cfg_pfc_quanta_thresh(rpm, lmac_id, pfc_en, true); 655 class_en = FIELD_SET(RPM_PFC_CLASS_MASK, pfc_en, class_en); 209 rpm_cfg_pfc_quanta_thresh(rpm_t *rpm, int lmac_id, unsigned long pfc_en, bool enable) argument
|
H A D | cgx.h | 182 u16 pfc_en);
|
H A D | lmac_common.h | 126 u8 tx_pause, u8 rx_pause, u16 pfc_en);
|
H A D | cgx.c | 952 u8 rx_pause, u16 pfc_en) 961 if (tx_pause && !pfc_en) 965 pfc_en |= FIELD_GET(CGX_PFC_CLASS_MASK, cfg); 979 cfg = FIELD_SET(CGX_PFC_CLASS_MASK, pfc_en, cfg); 951 cgx_lmac_pfc_config(void *cgxd, int lmac_id, u8 tx_pause, u8 rx_pause, u16 pfc_en) argument
|
H A D | rvu.h | 965 u16 pfc_en);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 968 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; local 971 pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); 973 if (!(adapter->flags & IXGBE_FLAG_DCB_ENABLED) || !pfc_en) { 3693 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; local 3696 pfc_en |= !!(adapter->ixgbe_ieee_pfc->pfc_en); 3708 !(adapter->hw.fc.current_mode & ixgbe_fc_tx_pause) && !pfc_en)) { 5099 adapter->ixgbe_ieee_pfc->pfc_en, 7475 bool pfc_en local [all...] |
H A D | ixgbe_dcb_82599.c | 185 * @pfc_en: enabled pfc bitmask 190 int ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) argument 210 reg |= pfc_en << IXGBE_MFLCN_RPFCE_SHIFT; 212 if (pfc_en) 228 if ((prio_tc[j] == i) && (pfc_en & BIT(j))) { 324 * @pfc_en: enabled pfc bitmask 333 int ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, argument 342 ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc);
|
H A D | ixgbe_dcb_82599.h | 73 int ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc); 87 int ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
|
H A D | ixgbe_dcb_82598.h | 49 int ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *, u8 pfc_en); 61 int ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
|
H A D | ixgbe_dcb.c | 162 void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en) argument 167 for (*pfc_en = 0, tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) { 169 *pfc_en |= BIT(tc); 253 u8 pfc_en; local 261 ixgbe_dcb_unpack_pfc(dcb_config, &pfc_en); 270 return ixgbe_dcb_hw_config_82598(hw, pfc_en, refill, max, 277 return ixgbe_dcb_hw_config_82599(hw, pfc_en, refill, max, 286 int ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) argument 290 return ixgbe_dcb_config_pfc_82598(hw, pfc_en); 296 return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_t [all...] |
H A D | ixgbe_dcb.h | 118 void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en); 134 int ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio);
|
H A D | ixgbe_dcb_82598.c | 162 * @pfc_en: enabled pfc bitmask 166 int ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) argument 181 if (pfc_en) 188 if (!(pfc_en & BIT(i))) { 247 * @pfc_en: enabled pfc bitmask 255 int ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, argument 263 ixgbe_dcb_config_pfc_82598(hw, pfc_en);
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_pci.c | 1023 if (interface->pfc_en) 1024 rx_pause = interface->pfc_en; 1068 if (interface->pfc_en) 1069 rx_pause = interface->pfc_en;
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 390 u8 pfc_en; /* PFC enabled or not for user priority */ member in struct:hclge_tm_info
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 85 pfc->pfc_en = dcbxcfg->pfc.pfcenable; 171 pf->tmp_cfg.pfc.pfcenable = pfc->pfc_en;
|