aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/odp_schedule_if.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-06-06 14:42:12 +0300
committerMatias Elo <matias.elo@nokia.com>2022-06-20 16:13:54 +0300
commit2156fa3a50bb7f9bef27954ae2f2db83ec1fbe26 (patch)
tree75cf744d65189852965a4e4e34bbfa043645bc45 /platform/linux-dpdk/odp_schedule_if.c
parentead42ed2ad0115084a2a48400c8a47be289c0f2c (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/odp_schedule_if.c')
-rw-r--r--platform/linux-dpdk/odp_schedule_if.c5
1 files changed, 5 insertions, 0 deletions
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();