summaryrefslogtreecommitdiff
path: root/app/test-eventdev/test_order_common.h
diff options
context:
space:
mode:
authorJerin Jacob <jerin.jacob@caviumnetworks.com>2017-07-04 10:23:10 +0530
committerJerin Jacob <jerin.jacob@caviumnetworks.com>2017-07-07 09:33:22 +0200
commit33b7483db1707e948afd545f16867ce0a867026e (patch)
tree3c863195551e975d6fd46767de5818e1a806ff3f /app/test-eventdev/test_order_common.h
parent5710e751813e345145c292915429787bfc97afe4 (diff)
downloaddpdk-next-eventdev-33b7483db1707e948afd545f16867ce0a867026e.zip
dpdk-next-eventdev-33b7483db1707e948afd545f16867ce0a867026e.tar.gz
dpdk-next-eventdev-33b7483db1707e948afd545f16867ce0a867026e.tar.xz
app/testeventdev: launch order lcores
The event producer and master lcore's test end and failure detection logic are common for the queue and all types queue test.Move them as the common function. Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Diffstat (limited to 'app/test-eventdev/test_order_common.h')
-rw-r--r--app/test-eventdev/test_order_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/test-eventdev/test_order_common.h b/app/test-eventdev/test_order_common.h
index 1659318..a760b94 100644
--- a/app/test-eventdev/test_order_common.h
+++ b/app/test-eventdev/test_order_common.h
@@ -94,6 +94,8 @@ int order_test_result(struct evt_test *test, struct evt_options *opt);
int order_opt_check(struct evt_options *opt);
int order_test_setup(struct evt_test *test, struct evt_options *opt);
int order_mempool_setup(struct evt_test *test, struct evt_options *opt);
+int order_launch_lcores(struct evt_test *test, struct evt_options *opt,
+ int (*worker)(void *));
int order_event_dev_port_setup(struct evt_test *test, struct evt_options *opt,
uint8_t nb_workers, uint8_t nb_queues);
void order_test_destroy(struct evt_test *test, struct evt_options *opt);