Home
last modified time | relevance | path

Searched refs:pause_time (Results 1 – 25 of 41) sorted by relevance

12

/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_dcb.c21 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 Dtxgbe_dcb_hw.c246 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 Dtxgbe_hw.c945 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 Dtxgbe_type.h237 u16 pause_time; /* Flow Control Pause timer */ member
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_dcb.c1137 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 Dhns3_ethdev.c5066 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 Dhns3_ethdev.h712 uint16_t pause_time; member
/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_dcb_82598.c267 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 Dixgbe_dcb_82599.c333 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 Dixgbe_82598.c392 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 Daxgbe_ethdev.c1209 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 Daxgbe_ethdev.h501 uint16_t pause_time[AXGBE_PRIORITY_QUEUES]; member
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_tgec.c211 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, &regs->pause_quant); in fman_tgec_set_tx_pause_frames()
H A Dfman_memac.c282 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 Dem_ethdev.c838 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 Ddpaa_ethdev.c1348 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 Dotx2_flow_ctrl.c153 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 Dfsl_fman_tgec.h410 void fman_tgec_set_tx_pause_frames(struct tgec_regs *regs, uint16_t pause_time);
/f-stack/dpdk/drivers/net/octeontx/
H A Docteontx_ethdev_ops.c248 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 De1000_82542.c329 E1000_WRITE_REG(hw, E1000_FCTTV, hw->fc.pause_time); in e1000_setup_link_82542()
H A De1000_hw.h864 u16 pause_time; /* Flow control pause timer */ member
/f-stack/dpdk/drivers/net/igc/
H A Digc_ethdev.c893 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 Dtxgbe_ethdev.c549 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 Dixgbe_ethdev.c1139 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 Dfm_port_ext.h870 uint16_t pause_time; member

12