| /f-stack/dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_dcb.c | 21 uint32_t pause_time; in txgbe_dcb_pfc_enable() local 27 if (!hw->fc.pause_time) { in txgbe_dcb_pfc_enable() 139 pause_time = TXGBE_RXFCFSH_TIME(hw->fc.pause_time); in txgbe_dcb_pfc_enable() 141 wr32(hw, TXGBE_FCXOFFTM(i), pause_time * 0x00010001); in txgbe_dcb_pfc_enable() 144 wr32(hw, TXGBE_RXFCRFSH, pause_time / 2); in txgbe_dcb_pfc_enable()
|
| H A D | txgbe_dcb_hw.c | 246 reg = hw->fc.pause_time | (hw->fc.pause_time << 16); in txgbe_dcb_config_pfc_raptor() 251 wr32(hw, TXGBE_RXFCRFSH, hw->fc.pause_time / 2); in txgbe_dcb_config_pfc_raptor()
|
| H A D | txgbe_hw.c | 945 u32 pause_time; in txgbe_fc_enable() local 952 if (!hw->fc.pause_time) { in txgbe_fc_enable() 1054 pause_time = TXGBE_RXFCFSH_TIME(hw->fc.pause_time); in txgbe_fc_enable() 1056 wr32(hw, TXGBE_FCXOFFTM(i), pause_time * 0x00010001); in txgbe_fc_enable() 1059 wr32(hw, TXGBE_RXFCRFSH, hw->fc.pause_time / 2); in txgbe_fc_enable()
|
| H A D | txgbe_type.h | 237 u16 pause_time; /* Flow Control Pause timer */ member
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_dcb.c | 1137 else if (pause_time >= PAUSE_TIME_MIN_VALUE && in hns3_pause_param_setup_hw() 1142 pause_time = PAUSE_TIME_MIN_VALUE; in hns3_pause_param_setup_hw() 1147 pause_trans_gap, pause_time); in hns3_pause_param_setup_hw() 1304 ret = hns3_pause_param_setup_hw(hw, pf->pause_time); in hns3_dcb_pause_setup_hw() 1621 pf->pause_time = HNS3_DEFAULT_PAUSE_TRANS_TIME; in hns3_dcb_init() 1725 uint16_t pause_time = pf->pause_time; in hns3_dcb_pfc_enable() local 1728 pf->pause_time = pfc_conf->fc.pause_time; in hns3_dcb_pfc_enable() 1753 pf->pause_time = pause_time; in hns3_dcb_pfc_enable() 1776 uint16_t pause_time = pf->pause_time; in hns3_fc_enable() local 1779 pf->pause_time = fc_conf->pause_time; in hns3_fc_enable() [all …]
|
| H A D | hns3_ethdev.c | 5066 fc_conf->pause_time = pf->pause_time; in hns3_flow_ctrl_get() 5132 if (!fc_conf->pause_time) { in hns3_flow_ctrl_set() 5134 fc_conf->pause_time); in hns3_flow_ctrl_set() 5147 pf->pause_time == fc_conf->pause_time) in hns3_flow_ctrl_set() 5185 if (pfc_conf->fc.pause_time == 0) { in hns3_priority_flow_ctrl_set() 5187 pfc_conf->fc.pause_time); in hns3_priority_flow_ctrl_set() 5202 pfc_conf->fc.pause_time == pf->pause_time) in hns3_priority_flow_ctrl_set()
|
| H A D | hns3_ethdev.h | 712 uint16_t pause_time; member
|
| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_dcb_82598.c | 267 reg = hw->fc.pause_time | (hw->fc.pause_time << 16); in ixgbe_dcb_config_pfc_82598() 272 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_config_pfc_82598()
|
| H A D | ixgbe_dcb_82599.c | 333 reg = hw->fc.pause_time | (hw->fc.pause_time << 16); in ixgbe_dcb_config_pfc_82599() 338 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_config_pfc_82599()
|
| H A D | ixgbe_82598.c | 392 if (!hw->fc.pause_time) { in ixgbe_fc_enable_82598() 508 reg = hw->fc.pause_time * 0x00010001; in ixgbe_fc_enable_82598() 513 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_fc_enable_82598()
|
| /f-stack/dpdk/drivers/net/axgbe/ |
| H A D | axgbe_ethdev.c | 1209 fc.pause_time[0] = AXGMAC_GET_BITS(reg_val, MAC_Q0TFCR, PT); in axgbe_flow_ctrl_get() 1223 fc_conf->pause_time = fc.pause_time[0]; in axgbe_flow_ctrl_get() 1245 AXGMAC_SET_BITS(reg_val, MAC_Q0TFCR, PT, fc_conf->pause_time); in axgbe_flow_ctrl_set() 1303 PSTC0, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set() 1307 PSTC1, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set() 1311 PSTC2, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set() 1315 PSTC3, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set() 1319 PSTC4, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set() 1323 PSTC5, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set() 1327 PSTC6, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set() [all …]
|
| H A D | axgbe_ethdev.h | 501 uint16_t pause_time[AXGBE_PRIORITY_QUEUES]; member
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/MAC/ |
| H A D | fman_tgec.c | 211 void fman_tgec_set_tx_pause_frames(struct tgec_regs *regs, uint16_t pause_time) in fman_tgec_set_tx_pause_frames() argument 213 iowrite32be((uint32_t)pause_time, ®s->pause_quant); in fman_tgec_set_tx_pause_frames()
|
| H A D | fman_memac.c | 282 uint16_t pause_time, in fman_memac_set_tx_pause_frames() argument 311 tmp |= ((uint32_t)pause_time << (16 * (priority % 2))); in fman_memac_set_tx_pause_frames()
|
| /f-stack/dpdk/drivers/net/e1000/ |
| H A D | em_ethdev.c | 838 hw->fc.pause_time = UINT16_MAX; in em_hardware_init() 840 hw->fc.pause_time = EM_FC_PAUSE_TIME; in em_hardware_init() 858 hw->fc.pause_time = 0x0650; in em_hardware_init() 1667 fc_conf->pause_time = hw->fc.pause_time; in eth_em_flow_ctrl_get() 1731 hw->fc.pause_time = fc_conf->pause_time; in eth_em_flow_ctrl_set()
|
| /f-stack/dpdk/drivers/net/dpaa/ |
| H A D | dpaa_ethdev.c | 1348 if (fc_conf->pause_time) in dpaa_flow_ctrl_set() 1350 fc_conf->pause_time); in dpaa_flow_ctrl_set() 1354 net_fc->pause_time = fc_conf->pause_time; in dpaa_flow_ctrl_set() 1376 fc_conf->pause_time = net_fc->pause_time; in dpaa_flow_ctrl_get() 1388 fc_conf->pause_time = in dpaa_flow_ctrl_get() 1648 fc_conf->pause_time = fman_if_get_fc_quanta(fman_intf); in dpaa_fc_set_default()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_flow_ctrl.c | 153 if (fc_conf->high_water || fc_conf->low_water || fc_conf->pause_time || in otx2_nix_flow_ctrl_set()
|
| /f-stack/freebsd/contrib/ncsw/inc/flib/ |
| H A D | fsl_fman_tgec.h | 410 void fman_tgec_set_tx_pause_frames(struct tgec_regs *regs, uint16_t pause_time);
|
| /f-stack/dpdk/drivers/net/octeontx/ |
| H A D | octeontx_ethdev_ops.c | 248 if (fc_conf->pause_time || fc_conf->mac_ctrl_frame_fwd || in octeontx_dev_flow_ctrl_set()
|
| /f-stack/dpdk/drivers/net/e1000/base/ |
| H A D | e1000_82542.c | 329 E1000_WRITE_REG(hw, E1000_FCTTV, hw->fc.pause_time); in e1000_setup_link_82542()
|
| H A D | e1000_hw.h | 864 u16 pause_time; /* Flow control pause timer */ member
|
| /f-stack/dpdk/drivers/net/igc/ |
| H A D | igc_ethdev.c | 893 hw->fc.pause_time = IGC_FC_PAUSE_TIME; in igc_hardware_init() 2146 fc_conf->pause_time = hw->fc.pause_time; in eth_igc_flow_ctrl_get() 2223 hw->fc.pause_time = fc_conf->pause_time; in eth_igc_flow_ctrl_set()
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.c | 549 hw->fc.pause_time = TXGBE_FC_PAUSE_TIME; in eth_txgbe_dev_init() 2882 fc_conf->pause_time = hw->fc.pause_time; in txgbe_flow_ctrl_get() 2953 hw->fc.pause_time = fc_conf->pause_time; in txgbe_flow_ctrl_set() 3013 hw->fc.pause_time = pfc_conf->fc.pause_time; in txgbe_priority_flow_ctrl_set()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.c | 1139 hw->fc.pause_time = IXGBE_FC_PAUSE; in eth_ixgbe_dev_init() 4702 fc_conf->pause_time = hw->fc.pause_time; in ixgbe_flow_ctrl_get() 4780 hw->fc.pause_time = fc_conf->pause_time; in ixgbe_flow_ctrl_set() 4812 if (!hw->fc.pause_time) { in ixgbe_dcb_pfc_enable_generic() 4922 reg = hw->fc.pause_time * 0x00010001; in ixgbe_dcb_pfc_enable_generic() 4927 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_pfc_enable_generic() 4985 hw->fc.pause_time = pfc_conf->fc.pause_time; in ixgbe_priority_flow_ctrl_set()
|
| /f-stack/dpdk/drivers/net/dpaa/fmlib/ |
| H A D | fm_port_ext.h | 870 uint16_t pause_time; member
|