diff options
author | Matias Elo <matias.elo@nokia.com> | 2019-01-07 15:58:12 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2019-01-07 15:58:12 +0200 |
commit | dcb462d6b201e06f459ca62fd0549c2d0cb371b5 (patch) | |
tree | 5c5331cae002ad77c2dd448e990908935aade1b1 /platform | |
parent | 5da10be46bbe23a41f638aae554ca4278a9129fc (diff) |
Port 2aee8a584 "linux-gen: queue, schedule: move scheduled queue capabilities to sched"
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/linux-dpdk/odp_queue_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-dpdk/odp_queue_basic.c b/platform/linux-dpdk/odp_queue_basic.c index 0afca7eed..6c1c27439 100644 --- a/platform/linux-dpdk/odp_queue_basic.c +++ b/platform/linux-dpdk/odp_queue_basic.c @@ -57,10 +57,10 @@ static int queue_capa(odp_queue_capability_t *capa, int sched ODP_UNUSED) capa->plain.max_size = queue_glb->config.max_queue_size; capa->plain.lockfree.max_num = queue_glb->queue_lf_num; capa->plain.lockfree.max_size = queue_glb->queue_lf_size; +#if ODP_DEPRECATED_API capa->sched.max_num = capa->max_queues; capa->sched.max_size = queue_glb->config.max_queue_size; -#if ODP_DEPRECATED_API if (sched) { capa->max_ordered_locks = sched_fn->max_ordered_locks(); capa->max_sched_groups = sched_fn->num_grps(); |