Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 62) sorted by relevance

123

/dpdk/drivers/net/enic/base/
H A Dvnic_dev.c307 int wait) in _vnic_dev_cmd() argument
540 int wait = 1000; in vnic_dev_fw_info() local
573 int wait = 1000; in vnic_dev_capable_adv_filters() local
584 int wait = 1000; in vnic_dev_flowman_cmd() local
721 int wait = 1000; in vnic_dev_capable_udp_rss_weak() local
736 int wait = 1000; in vnic_dev_capable() local
748 int wait = 1000; in vnic_dev_spec() local
780 int wait = 1000; in vnic_dev_stats_clear() local
788 int wait = 1000; in vnic_dev_stats_dump() local
803 int wait = 1000; in vnic_dev_close() local
[all …]
H A Dvnic_rq.c105 unsigned int wait; in vnic_rq_disable() local
110 for (wait = 0; wait < 1000; wait++) { in vnic_rq_disable()
H A Dvnic_wq.c132 unsigned int wait; in vnic_wq_disable() local
137 for (wait = 0; wait < 1000; wait++) { in vnic_wq_disable()
H A Dvnic_dev.h104 uint64_t *a0, uint64_t *a1, int wait);
106 uint64_t *args, int nargs, int wait);
/dpdk/lib/eal/unix/
H A Deal_unix_timer.c12 struct timespec wait[2]; in rte_delay_us_sleep() local
15 wait[0].tv_sec = 0; in rte_delay_us_sleep()
17 wait[0].tv_sec = us / US_PER_S; in rte_delay_us_sleep()
18 us -= wait[0].tv_sec * US_PER_S; in rte_delay_us_sleep()
20 wait[0].tv_nsec = 1000 * us; in rte_delay_us_sleep()
22 while (nanosleep(&wait[ind], &wait[1 - ind]) && errno == EINTR) { in rte_delay_us_sleep()
/dpdk/lib/rcu/
H A Drte_rcu_qsbr.h535 __func__, t, wait, bmap, id + j); in __rte_rcu_qsbr_check_selective()
541 __func__, t, wait, c, id+j); in __rte_rcu_qsbr_check_selective()
549 if (!wait) in __rte_rcu_qsbr_check_selective()
588 __rte_rcu_qsbr_check_all(struct rte_rcu_qsbr *v, uint64_t t, bool wait) in __rte_rcu_qsbr_check_all() argument
598 __func__, t, wait, i); in __rte_rcu_qsbr_check_all()
603 __func__, t, wait, c, i); in __rte_rcu_qsbr_check_all()
612 if (!wait) in __rte_rcu_qsbr_check_all()
668 rte_rcu_qsbr_check(struct rte_rcu_qsbr *v, uint64_t t, bool wait) in rte_rcu_qsbr_check() argument
676 __func__, t, wait); in rte_rcu_qsbr_check()
684 return __rte_rcu_qsbr_check_all(v, t, wait); in rte_rcu_qsbr_check()
[all …]
/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_nsp.c165 struct timespec wait; in nfp_nsp_wait_reg() local
169 wait.tv_sec = 0; in nfp_nsp_wait_reg()
170 wait.tv_nsec = 25000000; in nfp_nsp_wait_reg()
181 nanosleep(&wait, 0); in nfp_nsp_wait_reg()
354 struct timespec wait; in nfp_nsp_wait() local
358 wait.tv_sec = 0; in nfp_nsp_wait()
359 wait.tv_nsec = 25000000; in nfp_nsp_wait()
367 nanosleep(&wait, 0); in nfp_nsp_wait()
H A Dnfp_hwinfo.c133 struct timespec wait; in nfp_hwinfo_fetch() local
137 wait.tv_sec = 0; in nfp_hwinfo_fetch()
138 wait.tv_nsec = 10000000; in nfp_hwinfo_fetch()
146 nanosleep(&wait, NULL); in nfp_hwinfo_fetch()
H A Dnfp_resource.c157 struct timespec wait; in nfp_resource_acquire() local
176 wait.tv_sec = 0; in nfp_resource_acquire()
177 wait.tv_nsec = 1000000; in nfp_resource_acquire()
193 nanosleep(&wait, NULL); in nfp_resource_acquire()
/dpdk/drivers/net/cnxk/
H A Dcnxk_link.c32 uint16_t wait = 1000; in nix_wait_for_link_cfg() local
38 wait--; in nix_wait_for_link_cfg()
40 } while (wait); in nix_wait_for_link_cfg()
42 return wait ? 0 : -1; in nix_wait_for_link_cfg()
/dpdk/drivers/raw/ifpga/base/
H A Difpga_compat.h40 int wait = 0; \
43 for (; wait <= _timeout; wait += _invl) { \
H A Dopae_osdep.h84 int wait = 0; \
85 for (; wait <= timeout; wait += invl) { \
/dpdk/drivers/net/enic/
H A Denic_res.c248 int wait = 1000; in enic_set_nic_cfg() local
257 return vnic_dev_cmd(enic->vdev, cmd, &a0, &a1, wait); in enic_set_nic_cfg()
263 int wait = 1000; in enic_set_rss_key() local
265 return vnic_dev_cmd(enic->vdev, CMD_RSS_KEY, &a0, &a1, wait); in enic_set_rss_key()
271 int wait = 1000; in enic_set_rss_cpu() local
273 return vnic_dev_cmd(enic->vdev, CMD_RSS_CPU, &a0, &a1, wait); in enic_set_rss_cpu()
/dpdk/drivers/event/sw/
H A Dsw_evdev_worker.c142 uint64_t wait) in sw_event_dequeue_burst() argument
144 RTE_SET_USED(wait); in sw_event_dequeue_burst()
183 sw_event_dequeue(void *port, struct rte_event *ev, uint64_t wait) in sw_event_dequeue() argument
185 return sw_event_dequeue_burst(port, ev, 1, wait); in sw_event_dequeue()
H A Dsw_evdev.h295 uint16_t sw_event_dequeue(void *port, struct rte_event *ev, uint64_t wait);
297 uint64_t wait);
/dpdk/drivers/common/octeontx/
H A Docteontx_mbox.c122 int res = 0, wait; in mbox_wait_response() local
129 wait = MBOX_WAIT_TIME_SEC * 1000 * 10; in mbox_wait_response()
130 while (wait > 0) { in mbox_wait_response()
135 --wait; in mbox_wait_response()
142 if (wait <= 0) { in mbox_wait_response()
/dpdk/app/test/
H A Dtest_debug.c55 wait(&status); in test_panic()
85 wait(&status); in test_exit_val()
H A Dtest_rcu_qsbr_perf.c98 bool wait = (bool)arg; in test_rcu_qsbr_writer_perf() local
107 if (wait) in test_rcu_qsbr_writer_perf()
111 rte_rcu_qsbr_check(t[0], token, wait); in test_rcu_qsbr_writer_perf()
/dpdk/drivers/net/axgbe/
H A Daxgbe_i2c.c28 unsigned int wait = AXGBE_ABORT_COUNT; in axgbe_i2c_abort() local
36 while (wait--) { in axgbe_i2c_abort()
47 unsigned int wait = AXGBE_DISABLE_COUNT; in axgbe_i2c_set_enable() local
50 while (wait--) { in axgbe_i2c_set_enable()
/dpdk/drivers/net/ark/
H A Dark_ddm.c53 ark_ddm_stop(struct ark_ddm_t *ddm, const int wait) in ark_ddm_stop() argument
59 while (wait && (ddm->cfg.stop_flushed & 0x01) == 0) { in ark_ddm_stop()
H A Dark_udm.c32 ark_udm_stop(struct ark_udm_t *udm, const int wait) in ark_udm_stop() argument
40 while (wait && (udm->cfg.stop_flushed & 0x01) == 0) { in ark_udm_stop()
/dpdk/drivers/net/ena/base/
H A Dena_plat_dpdk.h165 struct timespec wait; \
169 wait.tv_sec = now.tv_sec + _tmo / 1000000UL; \
171 wait.tv_nsec = (now.tv_usec + timeout_us) * 1000UL; \
175 &_we->mutex, &wait); \
/dpdk/drivers/event/opdl/
H A Dopdl_evdev.h282 uint16_t opdl_event_dequeue(void *port, struct rte_event *ev, uint64_t wait);
284 uint16_t num, uint64_t wait);
H A Dopdl_evdev.c59 uint64_t wait) in opdl_event_dequeue_burst() argument
63 RTE_SET_USED(wait); in opdl_event_dequeue_burst()
75 uint64_t wait) in opdl_event_dequeue() argument
82 RTE_SET_USED(wait); in opdl_event_dequeue()
/dpdk/drivers/event/dsw/
H A Ddsw_evdev.h271 uint16_t dsw_event_dequeue(void *port, struct rte_event *ev, uint64_t wait);
273 uint16_t num, uint64_t wait);

123