aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/odp_schedule_eventdev.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2019-08-19 13:01:33 +0300
committerMatias Elo <matias.elo@nokia.com>2019-08-22 15:40:49 +0300
commitc8a26865c31254b6e0c1f9534544f8f985d4e6a6 (patch)
treee5de02c50fa315aef89be28568996c5f1f5957f2 /platform/linux-dpdk/odp_schedule_eventdev.c
parent73a1ff195fbfdd07ccd428c938d2c6861a8392c7 (diff)
Port d1df2b551 "linux-gen: queue: configure max number of plain/scheduled queues"
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/odp_schedule_eventdev.c')
-rw-r--r--platform/linux-dpdk/odp_schedule_eventdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-dpdk/odp_schedule_eventdev.c b/platform/linux-dpdk/odp_schedule_eventdev.c
index f4752a914..249bddeb1 100644
--- a/platform/linux-dpdk/odp_schedule_eventdev.c
+++ b/platform/linux-dpdk/odp_schedule_eventdev.c
@@ -1002,7 +1002,7 @@ static int schedule_capability(odp_schedule_capability_t *capa)
max_sched = RTE_MAX(RTE_MAX(eventdev_gbl->event_queue.num_atomic,
eventdev_gbl->event_queue.num_ordered),
eventdev_gbl->event_queue.num_parallel);
- capa->max_queues = RTE_MIN(ODP_CONFIG_QUEUES, max_sched);
+ capa->max_queues = RTE_MIN(CONFIG_MAX_SCHED_QUEUES, max_sched);
capa->max_queue_size = eventdev_gbl->config.nb_events_limit;
capa->max_ordered_locks = schedule_max_ordered_locks();
capa->max_groups = schedule_num_grps();