diff options
author | Matias Elo <matias.elo@nokia.com> | 2022-06-06 14:42:12 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-06-20 16:13:54 +0300 |
commit | 2156fa3a50bb7f9bef27954ae2f2db83ec1fbe26 (patch) | |
tree | 75cf744d65189852965a4e4e34bbfa043645bc45 /platform/linux-dpdk | |
parent | ead42ed2ad0115084a2a48400c8a47be289c0f2c (diff) |
Port be306d8c0 "linux-gen: schedule: implement odp_schedule_order_wait()"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'platform/linux-dpdk')
-rw-r--r-- | platform/linux-dpdk/odp_schedule_eventdev.c | 1 | ||||
-rw-r--r-- | platform/linux-dpdk/odp_schedule_if.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/platform/linux-dpdk/odp_schedule_eventdev.c b/platform/linux-dpdk/odp_schedule_eventdev.c index 8e2c2c034..3c715ae36 100644 --- a/platform/linux-dpdk/odp_schedule_eventdev.c +++ b/platform/linux-dpdk/odp_schedule_eventdev.c @@ -1117,5 +1117,6 @@ const schedule_api_t _odp_schedule_eventdev_api = { .schedule_order_unlock_lock = schedule_order_unlock_lock, .schedule_order_lock_start = schedule_order_lock_start, .schedule_order_lock_wait = schedule_order_lock_wait, + .schedule_order_wait = order_lock, .schedule_print = schedule_print }; diff --git a/platform/linux-dpdk/odp_schedule_if.c b/platform/linux-dpdk/odp_schedule_if.c index 73475ae88..d5b39b656 100644 --- a/platform/linux-dpdk/odp_schedule_if.c +++ b/platform/linux-dpdk/odp_schedule_if.c @@ -206,6 +206,11 @@ void odp_schedule_order_lock_wait(uint32_t lock_index) _odp_sched_api->schedule_order_lock_wait(lock_index); } +void odp_schedule_order_wait(void) +{ + _odp_sched_api->schedule_order_wait(); +} + void odp_schedule_print(void) { _odp_sched_api->schedule_print(); |