git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/testpmd: fix use of indirect action after port close
[dpdk.git]
/
app
/
test
/
test_ring_stress_impl.h
diff --git
a/app/test/test_ring_stress_impl.h
b/app/test/test_ring_stress_impl.h
index
2825a9d
..
62f046a
100644
(file)
--- a/
app/test/test_ring_stress_impl.h
+++ b/
app/test/test_ring_stress_impl.h
@@
-360,7
+360,7
@@
test_mt1(int (*test)(void *))
/* signal worker to start test */
__atomic_store_n(&wrk_cmd, WRK_CMD_RUN, __ATOMIC_RELEASE);
/* signal worker to start test */
__atomic_store_n(&wrk_cmd, WRK_CMD_RUN, __ATOMIC_RELEASE);
-
usleep
(run_time * US_PER_S);
+
rte_delay_us
(run_time * US_PER_S);
/* signal worker to start test */
__atomic_store_n(&wrk_cmd, WRK_CMD_STOP, __ATOMIC_RELEASE);
/* signal worker to start test */
__atomic_store_n(&wrk_cmd, WRK_CMD_STOP, __ATOMIC_RELEASE);