X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=app%2Ftest%2Ftest_hash_readwrite.c;h=4376b099b3619db9debf2bbfc93e0bc686b1fd89;hp=480ae97d857d454a4a63ca7d2e09a6ad788135cb;hb=e0f4a0ed4237e273b78728b7c7a3bf71d2d5218f;hpb=ce33e2eaff61ca89c64d04e1775cc8b29f11c2e6 diff --git a/app/test/test_hash_readwrite.c b/app/test/test_hash_readwrite.c index 480ae97d85..4376b099b3 100644 --- a/app/test/test_hash_readwrite.c +++ b/app/test/test_hash_readwrite.c @@ -618,10 +618,9 @@ test_hash_readwrite_main(void) int use_htm, use_ext, reader_faster; unsigned int i = 0, core_id = 0; - if (rte_lcore_count() <= 2) { - printf("More than two lcores are required " - "to do read write test\n"); - return -1; + if (rte_lcore_count() < 3) { + printf("Not enough cores for hash_readwrite_autotest, expecting at least 3\n"); + return TEST_SKIPPED; } RTE_LCORE_FOREACH_SLAVE(core_id) {