Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 169) sorted by relevance

1234567

/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_ha_mgr.c489 int32_t timeout; in ulp_ha_mgr_close() local
534 timeout = ULP_HA_WAIT_TIMEOUT; in ulp_ha_mgr_close()
544 timeout -= ULP_HA_WAIT_TIME; in ulp_ha_mgr_close()
547 timeout); in ulp_ha_mgr_close()
550 if (timeout <= 0) { in ulp_ha_mgr_close()
574 timeout = ULP_HA_WAIT_TIMEOUT; in ulp_ha_mgr_close()
585 timeout -= ULP_HA_WAIT_TIME; in ulp_ha_mgr_close()
588 timeout); in ulp_ha_mgr_close()
590 timeout >= 0); in ulp_ha_mgr_close()
592 if (timeout <= 0) { in ulp_ha_mgr_close()
[all …]
/dpdk/drivers/crypto/caam_jr/
H A Dcaam_jr_hw.c134 unsigned int timeout = SEC_TIMEOUT; in hw_shutdown_job_ring() local
165 JRINT_ERR_HALT_INPROGRESS) && --timeout); in hw_shutdown_job_ring()
169 timeout == 0) { in hw_shutdown_job_ring()
170 CAAM_JR_ERR("0x%x, %d", tmp, timeout); in hw_shutdown_job_ring()
178 timeout = SEC_TIMEOUT; in hw_shutdown_job_ring()
184 } while ((tmp & JR_REG_JRCR_VAL_RESET) && --timeout); in hw_shutdown_job_ring()
187 if (timeout == 0) { in hw_shutdown_job_ring()
/dpdk/drivers/net/igc/base/
H A Digc_i225.c297 while (i < timeout) { in igc_acquire_swfw_sync_i225()
315 if (i == timeout) { in igc_acquire_swfw_sync_i225()
406 if (i == timeout) { in igc_get_hw_semaphore_i225()
423 if (i == timeout) { in igc_get_hw_semaphore_i225()
442 if (i == timeout) { in igc_get_hw_semaphore_i225()
844 while (timeout) { in igc_write_erase_flash_command_i225()
849 timeout--; in igc_write_erase_flash_command_i225()
852 if (!timeout) { in igc_write_erase_flash_command_i225()
1231 while (timeout) { in igc_get_cfg_done_i225()
1235 timeout--; in igc_get_cfg_done_i225()
[all …]
/dpdk/drivers/net/e1000/base/
H A De1000_i210.c68 while (i < timeout) { in e1000_acquire_swfw_sync_i210()
87 if (i == timeout) { in e1000_acquire_swfw_sync_i210()
141 while (i < timeout) { in e1000_get_hw_semaphore_i210()
150 if (i == timeout) { in e1000_get_hw_semaphore_i210()
167 if (i == timeout) { in e1000_get_hw_semaphore_i210()
174 for (i = 0; i < timeout; i++) { in e1000_get_hw_semaphore_i210()
185 if (i == timeout) { in e1000_get_hw_semaphore_i210()
904 s32 timeout = PHY_CFG_TIMEOUT; in e1000_get_cfg_done_i210() local
909 while (timeout) { in e1000_get_cfg_done_i210()
913 timeout--; in e1000_get_cfg_done_i210()
[all …]
H A De1000_vf.c234 u32 timeout = E1000_VF_INIT_TIMEOUT; in e1000_reset_hw_vf() local
246 while (!mbx->ops.check_for_rst(hw, 0) && timeout) { in e1000_reset_hw_vf()
247 timeout--; in e1000_reset_hw_vf()
251 if (timeout) { in e1000_reset_hw_vf()
253 mbx->timeout = E1000_VF_MBX_INIT_TIMEOUT; in e1000_reset_hw_vf()
524 if (!mbx->ops.check_for_rst(hw, 0) || !mbx->timeout) in e1000_check_for_link_vf()
550 if (!mbx->timeout) { in e1000_check_for_link_vf()
H A De1000_mbx.c160 int countdown = mbx->timeout; in e1000_poll_for_msg()
176 mbx->timeout = 0; in e1000_poll_for_msg()
191 int countdown = mbx->timeout; in e1000_poll_for_ack()
207 mbx->timeout = 0; in e1000_poll_for_ack()
259 if (!mbx->ops.write || !mbx->timeout) in e1000_write_posted_mbx()
518 mbx->timeout = 0; in e1000_init_mbx_params_vf()
744 mbx->timeout = 0; in e1000_init_mbx_params_pf()
/dpdk/drivers/event/dlb2/
H A Ddlb2_selftest.c819 uint64_t timeout; in test_load_balanced_traffic() local
902 timeout = 0xFFFFFFFFF; in test_load_balanced_traffic()
943 uint64_t timeout; in test_directed_traffic() local
1029 timeout = 0xFFFFFFFFF; in test_directed_traffic()
1076 uint64_t timeout; in test_deferred_sched() local
1191 timeout = 0xFFFFFFFFF; in test_deferred_sched()
1229 uint64_t timeout; in test_delayed_pop() local
1327 timeout = 0xFFFFFFFFF; in test_delayed_pop()
1347 timeout = 0x10000; in test_delayed_pop()
1349 ret = rte_event_dequeue_burst(evdev, 0, &ev, 1, timeout); in test_delayed_pop()
[all …]
/dpdk/app/test-cmdline/
H A Dcmdline_test.py36 child.expect("History buffer size: \\d+", timeout=1)
45 child.expect(str(i + 100000000), timeout=1)
49 child.expect("100000000", timeout=1)
/dpdk/drivers/net/ngbe/base/
H A Dngbe_eeprom.c69 u32 timeout = 2000; in ngbe_get_eeprom_semaphore() local
74 for (i = 0; i < timeout; i++) { in ngbe_get_eeprom_semaphore()
87 if (i == timeout) { in ngbe_get_eeprom_semaphore()
110 for (i = 0; i < timeout; i++) { in ngbe_get_eeprom_semaphore()
130 if (i >= timeout) { in ngbe_get_eeprom_semaphore()
/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_mgmt.c410 void *buf_out, u16 *out_size, u32 timeout) in hinic_pf_to_mgmt_sync() argument
432 timeo = msecs_to_jiffies(timeout ? timeout : MGMT_MSG_TIMEOUT); in hinic_pf_to_mgmt_sync()
484 void *buf_out, u16 *out_size, u32 timeout) in hinic_msg_to_mgmt_sync() argument
493 buf_out, out_size, timeout); in hinic_msg_to_mgmt_sync()
496 buf_out, out_size, timeout); in hinic_msg_to_mgmt_sync()
708 int hinic_aeq_poll_msg(struct hinic_eq *eq, u32 timeout, void *param) in hinic_aeq_poll_msg() argument
719 for (i = 0; ((timeout == 0) && (i < eq->eq_len)) || in hinic_aeq_poll_msg()
720 ((timeout > 0) && (done != HINIC_OK) && (i < eq->eq_len)); i++) { in hinic_aeq_poll_msg()
722 end = jiffies + msecs_to_jiffies(timeout); in hinic_aeq_poll_msg()
739 if (timeout != 0) in hinic_aeq_poll_msg()
H A Dhinic_pmd_mgmt.h110 int hinic_aeq_poll_msg(struct hinic_eq *eq, u32 timeout, void *param);
114 void *buf_out, u16 *out_size, u32 timeout);
/dpdk/examples/l2fwd-keepalive/ka-agent/
H A Dmain.c52 struct timespec timeout = { .tv_nsec = 0 }; in main() local
73 timeout.tv_sec = time(NULL) + SEM_TIMEOUT_SECS; in main()
74 if (sem_timedwait(&shm->core_died, &timeout) == -1) { in main()
/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_vf.c105 u32 timeout = TXGBE_VF_INIT_TIMEOUT; in txgbe_reset_hw_vf() local
117 mbx->timeout = TXGBE_VF_MBX_INIT_TIMEOUT; in txgbe_reset_hw_vf()
130 while (!mbx->check_for_rst(hw, 0) && timeout) { in txgbe_reset_hw_vf()
131 timeout--; in txgbe_reset_hw_vf()
136 if (!timeout) in txgbe_reset_hw_vf()
143 mbx->timeout = TXGBE_VF_MBX_INIT_TIMEOUT; in txgbe_reset_hw_vf()
476 if (!mbx->check_for_rst(hw, 0) || !mbx->timeout) in txgbe_check_mac_link_vf()
533 if (!mbx->timeout) { in txgbe_check_mac_link_vf()
H A Dtxgbe_eeprom.c75 u32 timeout = 2000; in txgbe_get_eeprom_semaphore() local
80 for (i = 0; i < timeout; i++) { in txgbe_get_eeprom_semaphore()
93 if (i == timeout) { in txgbe_get_eeprom_semaphore()
116 for (i = 0; i < timeout; i++) { in txgbe_get_eeprom_semaphore()
136 if (i >= timeout) { in txgbe_get_eeprom_semaphore()
H A Dtxgbe_mbx.c122 int countdown = mbx->timeout; in txgbe_poll_for_msg()
151 int countdown = mbx->timeout; in txgbe_poll_for_ack()
214 if (!mbx->write || !mbx->timeout) in txgbe_write_posted_mbx()
438 mbx->timeout = 0; in txgbe_init_mbx_params_vf()
639 mbx->timeout = 0; in txgbe_init_mbx_params_pf()
/dpdk/drivers/net/ena/base/
H A Dena_plat_dpdk.h160 #define ENA_WAIT_EVENT_WAIT(waitevent, timeout) \ argument
163 typeof(timeout) _tmo = (timeout); \
202 #define ENA_TIME_EXPIRE(timeout) (timeout < rte_get_timer_cycles()) argument
284 #define ENA_TIME_EXPIRE(timeout) (timeout < rte_get_timer_cycles()) argument
/dpdk/drivers/common/cnxk/
H A Droc_mbox.c268 uint32_t timeout = 0, sleep = 1; in mbox_poll() local
277 if (timeout >= wait_us) in mbox_poll()
281 timeout += sleep; in mbox_poll()
326 uint32_t timeout = 0, sleep = 1; in mbox_wait() local
331 timeout += sleep; in mbox_wait()
332 if (timeout >= rst_timo) { in mbox_wait()
344 devid, timeout, mdev->num_msgs, in mbox_wait()
/dpdk/lib/eal/windows/
H A Deal_interrupts.c242 int maxevents, int timeout) in rte_epoll_wait() argument
247 RTE_SET_USED(timeout); in rte_epoll_wait()
254 int maxevents, int timeout) in rte_epoll_wait_interruptible() argument
259 RTE_SET_USED(timeout); in rte_epoll_wait_interruptible()
/dpdk/lib/eal/include/
H A Drte_epoll.h69 int maxevents, int timeout);
91 int maxevents, int timeout);
/dpdk/drivers/crypto/octeontx/
H A Dotx_cryptodev_mbox.c88 int timeout = OTX_CPT_MBOX_MSG_TIMEOUT; in otx_cpt_send_msg_to_pf_timeout() local
104 timeout -= sleep_ms; in otx_cpt_send_msg_to_pf_timeout()
105 if (!timeout) { in otx_cpt_send_msg_to_pf_timeout()
/dpdk/app/test/
H A Dtest_pmd_perf.c515 uint64_t timeout = 10000; in main_loop() local
525 timeout--; in main_loop()
526 } while (nb_free != pkt_per_port && timeout != 0); in main_loop()
555 uint64_t timeout = MAX_IDLE; in poll_burst() local
589 timeout--; in poll_burst()
590 if (unlikely(timeout == 0)) in poll_burst()
591 goto timeout; in poll_burst()
599 timeout: in poll_burst()
603 total, MAX_IDLE - timeout); in poll_burst()
/dpdk/drivers/crypto/bcmfs/hw/
H A Dbcmfs5_rm.c536 int timeout; in bcmfs5_start_qp() local
567 timeout = 1000; in bcmfs5_start_qp()
582 } while (--timeout); in bcmfs5_start_qp()
583 if (!timeout) { in bcmfs5_start_qp()
589 timeout = 1000; in bcmfs5_start_qp()
596 } while (--timeout); in bcmfs5_start_qp()
597 if (!timeout) { in bcmfs5_start_qp()
H A Dbcmfs4_rm.c603 int timeout; in bcmfs4_start_qp() local
636 timeout = 1000; in bcmfs4_start_qp()
651 } while (--timeout); in bcmfs4_start_qp()
652 if (!timeout) { in bcmfs4_start_qp()
658 timeout = 1000; in bcmfs4_start_qp()
665 } while (--timeout); in bcmfs4_start_qp()
666 if (!timeout) { in bcmfs4_start_qp()
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_vf.c147 u32 timeout = IXGBE_VF_INIT_TIMEOUT; in ixgbe_reset_hw_vf() local
168 while (!mbx->ops.check_for_rst(hw, 0) && timeout) { in ixgbe_reset_hw_vf()
169 timeout--; in ixgbe_reset_hw_vf()
173 if (!timeout) in ixgbe_reset_hw_vf()
180 mbx->timeout = IXGBE_VF_MBX_INIT_TIMEOUT; in ixgbe_reset_hw_vf()
559 if (!mbx->ops.check_for_rst(hw, 0) || !mbx->timeout) in ixgbe_check_mac_link_vf()
627 if (!mbx->timeout) { in ixgbe_check_mac_link_vf()
/dpdk/drivers/net/fm10k/base/
H A Dfm10k_mbx.c752 u32 countdown = mbx->timeout; in fm10k_mbx_enqueue_tx()
776 mbx->timeout = 0; in fm10k_mbx_enqueue_tx()
1421 int timeout = mbx->timeout ? FM10K_MBX_DISCONNECT_TIMEOUT : 0; in fm10k_mbx_disconnect() local
1434 timeout -= FM10K_MBX_POLL_DELAY; in fm10k_mbx_disconnect()
1435 } while ((timeout > 0) && (mbx->state != FM10K_STATE_CLOSED)); in fm10k_mbx_disconnect()
1472 mbx->timeout = FM10K_MBX_INIT_TIMEOUT; in fm10k_mbx_connect()
1623 mbx->timeout = 0; in fm10k_pfvf_mbx_init()
1738 mbx->timeout = FM10K_MBX_INIT_TIMEOUT; in fm10k_sm_mbx_connect()
1774 int timeout = mbx->timeout ? FM10K_MBX_DISCONNECT_TIMEOUT : 0; in fm10k_sm_mbx_disconnect() local
1787 timeout -= FM10K_MBX_POLL_DELAY; in fm10k_sm_mbx_disconnect()
[all …]

1234567