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/octeontx2: support flow action port ID
[dpdk.git]
/
app
/
test
/
test_hash_multiwriter.c
diff --git
a/app/test/test_hash_multiwriter.c
b/app/test/test_hash_multiwriter.c
index
50018db
..
afa3c7b
100644
(file)
--- a/
app/test/test_hash_multiwriter.c
+++ b/
app/test/test_hash_multiwriter.c
@@
-64,7
+64,7
@@
test_hash_multiwriter_worker(void *arg)
/*
* Calculate offset for entries based on the position of the
/*
* Calculate offset for entries based on the position of the
- * logical core, from the ma
ster
core (not counting not enabled cores)
+ * logical core, from the ma
in
core (not counting not enabled cores)
*/
offset = pos_core * tbl_multiwriter_test_params.nb_tsx_insertion;
*/
offset = pos_core * tbl_multiwriter_test_params.nb_tsx_insertion;
@@
-194,7
+194,7
@@
test_hash_multiwriter(void)
/* Fire all threads. */
rte_eal_mp_remote_launch(test_hash_multiwriter_worker,
/* Fire all threads. */
rte_eal_mp_remote_launch(test_hash_multiwriter_worker,
- enabled_core_ids, CALL_MA
STER
);
+ enabled_core_ids, CALL_MA
IN
);
rte_eal_mp_wait_lcore();
count = rte_hash_count(handle);
rte_eal_mp_wait_lcore();
count = rte_hash_count(handle);
@@
-260,12
+260,11
@@
err1:
static int
test_hash_multiwriter_main(void)
{
static int
test_hash_multiwriter_main(void)
{
- if (rte_lcore_count()
== 1
) {
- printf("
More than one lcore is required to do multiwriter test
\n");
- return
0
;
+ if (rte_lcore_count()
< 2
) {
+ printf("
Not enough cores for distributor_autotest, expecting at least 2
\n");
+ return
TEST_SKIPPED
;
}
}
-
setlocale(LC_NUMERIC, "");
setlocale(LC_NUMERIC, "");