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
net/i40e: fix L4 checksum flag
[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
222d62b
..
f9ca63b
100644
(file)
--- a/
app/test/test_ring_stress_impl.h
+++ b/
app/test/test_ring_stress_impl.h
@@
-6,7
+6,7
@@
/**
* Stress test for ring enqueue/dequeue operations.
/**
* Stress test for ring enqueue/dequeue operations.
- * Performs the following pattern on each
slave
worker:
+ * Performs the following pattern on each worker:
* dequeue/read-write data from the dequeued objects/enqueue.
* Serves as both functional and performance test of ring
* enqueue/dequeue operations under high contention
* dequeue/read-write data from the dequeued objects/enqueue.
* Serves as both functional and performance test of ring
* enqueue/dequeue operations under high contention
@@
-159,7
+159,7
@@
check_updt_elem(struct ring_elem *elm[], uint32_t num,
"offending object: %p\n",
__func__, rte_lcore_id(), num, i, elm[i]);
rte_memdump(stdout, "expected", check, sizeof(*check));
"offending object: %p\n",
__func__, rte_lcore_id(), num, i, elm[i]);
rte_memdump(stdout, "expected", check, sizeof(*check));
- rte_memdump(stdout, "result", elm[i], sizeof(elm[i]));
+ rte_memdump(stdout, "result", elm[i], sizeof(
*
elm[i]));
rte_spinlock_unlock(&dump_lock);
return -EINVAL;
}
rte_spinlock_unlock(&dump_lock);
return -EINVAL;
}
@@
-348,8
+348,8
@@
test_mt1(int (*test)(void *))
memset(arg, 0, sizeof(arg));
memset(arg, 0, sizeof(arg));
- /* launch on all
slave
s */
- RTE_LCORE_FOREACH_
SLAVE
(lc) {
+ /* launch on all
worker
s */
+ RTE_LCORE_FOREACH_
WORKER
(lc) {
arg[lc].rng = r;
arg[lc].stats = init_stat;
rte_eal_remote_launch(test, &arg[lc], lc);
arg[lc].rng = r;
arg[lc].stats = init_stat;
rte_eal_remote_launch(test, &arg[lc], lc);
@@
-365,12
+365,12
@@
test_mt1(int (*test)(void *))
wrk_cmd = WRK_CMD_STOP;
rte_smp_wmb();
wrk_cmd = WRK_CMD_STOP;
rte_smp_wmb();
- /* wait for
slave
s and collect stats. */
+ /* wait for
worker
s and collect stats. */
mc = rte_lcore_id();
arg[mc].stats = init_stat;
rc = 0;
mc = rte_lcore_id();
arg[mc].stats = init_stat;
rc = 0;
- RTE_LCORE_FOREACH_
SLAVE
(lc) {
+ RTE_LCORE_FOREACH_
WORKER
(lc) {
rc |= rte_eal_wait_lcore(lc);
lcore_stat_aggr(&arg[mc].stats, &arg[lc].stats);
if (verbose != 0)
rc |= rte_eal_wait_lcore(lc);
lcore_stat_aggr(&arg[mc].stats, &arg[lc].stats);
if (verbose != 0)