diff options
author | Matias Elo <matias.elo@nokia.com> | 2019-12-18 15:24:41 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2019-12-20 15:04:25 +0200 |
commit | bea99bbeda910e8e7cc613dda92b640f3cb3ffbc (patch) | |
tree | 4c199ecf807374a3de3dc4dea19e778021dc3fc4 /platform/linux-dpdk/odp_schedule_eventdev.c | |
parent | 083844ea0e84086335e6ede81033e2ee13f4fd42 (diff) |
linux-dpdk: eventdev: use eventdev priority value in queue create
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.c | 2 |
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 c3cddd057..ef80d2916 100644 --- a/platform/linux-dpdk/odp_schedule_eventdev.c +++ b/platform/linux-dpdk/odp_schedule_eventdev.c @@ -366,7 +366,7 @@ static int schedule_create_queue(uint32_t qi, odp_thrmask_t mask; uint8_t dev_id = eventdev_gbl->dev_id; uint8_t queue_id = queue->s.index; - uint8_t priority = sched_param->prio; + uint8_t priority = queue->s.eventdev.prio; int thr; odp_ticketlock_lock(&eventdev_gbl->grp_lock); |