[dpdk-dev] [PATCH v7 15/17] test/ring: adjust run-on-all-cores perf test cases
Honnappa Nagarahalli
honnappa.nagarahalli at arm.com
Fri Dec 20 05:45:22 CET 2019
Adjust run-on-all-cores test case to use legacy APIs.
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
Reviewed-by: Gavin Hu <gavin.hu at arm.com>
---
app/test/test_ring_perf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/test/test_ring_perf.c b/app/test/test_ring_perf.c
index b893b5779..fb95e4f2c 100644
--- a/app/test/test_ring_perf.c
+++ b/app/test/test_ring_perf.c
@@ -520,6 +520,9 @@ test_ring_perf(void)
dequeue_bulk) < 0)
return -1;
}
+ printf("\n### Testing using all slave nodes ###\n");
+ if (run_on_all_cores(r) < 0)
+ return -1;
rte_ring_free(r);
TEST_RING_CREATE(RING_NAME, 16, RING_SIZE, rte_socket_id(), 0, r);
@@ -567,9 +570,6 @@ test_ring_perf(void)
return -1;
}
- printf("\n### Testing using all slave nodes ###\n");
- run_on_all_cores(r);
-
rte_ring_free(r);
return 0;
--
2.17.1
More information about the dev
mailing list