Adjust run-on-all-cores test case to use legacy APIs. Signed-off-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> Reviewed-by: Gavin Hu <gavin...@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