summaryrefslogtreecommitdiff
path: root/app/test-eventdev/evt_options.h
diff options
context:
space:
mode:
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>2017-10-25 20:20:29 +0530
committerThomas Monjalon <thomas@monjalon.net>2017-10-27 00:53:07 +0200
commit57305d794e03b0ce7f103a99c27148564b31fd05 (patch)
tree23ec59af93b731b57ddf4a497072bcc6d787c153 /app/test-eventdev/evt_options.h
parent4c2fd9791db24f31b76aa187e212a6c8dd325fb0 (diff)
downloaddpdk-next-eventdev-57305d794e03b0ce7f103a99c27148564b31fd05.zip
dpdk-next-eventdev-57305d794e03b0ce7f103a99c27148564b31fd05.tar.gz
dpdk-next-eventdev-57305d794e03b0ce7f103a99c27148564b31fd05.tar.xz
app/testeventdev: use service cores
Use service cores for offloading event scheduling in case of centralized scheduling instead of calling the schedule api directly. This removes the dependency on dedicated scheduler core specified by giving command line option --slcore. Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Diffstat (limited to 'app/test-eventdev/evt_options.h')
-rw-r--r--app/test-eventdev/evt_options.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/test-eventdev/evt_options.h b/app/test-eventdev/evt_options.h
index d8a9fdc..a9a9125 100644
--- a/app/test-eventdev/evt_options.h
+++ b/app/test-eventdev/evt_options.h
@@ -47,7 +47,6 @@
#define EVT_VERBOSE ("verbose")
#define EVT_DEVICE ("dev")
#define EVT_TEST ("test")
-#define EVT_SCHED_LCORE ("slcore")
#define EVT_PROD_LCORES ("plcores")
#define EVT_WORK_LCORES ("wlcores")
#define EVT_NB_FLOWS ("nb_flows")
@@ -67,7 +66,6 @@ struct evt_options {
bool plcores[RTE_MAX_LCORE];
bool wlcores[RTE_MAX_LCORE];
uint8_t sched_type_list[EVT_MAX_STAGES];
- int slcore;
uint32_t nb_flows;
int socket_id;
int pool_sz;
@@ -219,12 +217,6 @@ evt_dump_nb_flows(struct evt_options *opt)
}
static inline void
-evt_dump_scheduler_lcore(struct evt_options *opt)
-{
- evt_dump("scheduler lcore", "%d", opt->slcore);
-}
-
-static inline void
evt_dump_worker_dequeue_depth(struct evt_options *opt)
{
evt_dump("worker deq depth", "%d", opt->wkr_deq_dep);