diff mbox

[PATCHv2,1/2] api: queue: add odp_queue_sched_prio and odp_queue_sched_group

Message ID 1418650605-8410-2-git-send-email-ciprian.barbu@linaro.org
State New
Headers show

Commit Message

Ciprian Barbu Dec. 15, 2014, 1:36 p.m. UTC
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
---
 platform/linux-generic/include/api/odp_queue.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox

Patch

diff --git a/platform/linux-generic/include/api/odp_queue.h b/platform/linux-generic/include/api/odp_queue.h
index b8ac4bb..3f3b2e9 100644
--- a/platform/linux-generic/include/api/odp_queue.h
+++ b/platform/linux-generic/include/api/odp_queue.h
@@ -222,6 +222,24 @@  odp_queue_type_t odp_queue_type(odp_queue_t queue);
 odp_schedule_sync_t odp_queue_sched_type(odp_queue_t queue);
 
 /**
+ * Queue priority
+ *
+ * @param queue   Queue handle
+ *
+ * @return Queue schedule priority
+ */
+odp_schedule_prio_t odp_queue_sched_prio(odp_queue_t queue);
+
+/**
+ * Queue group
+ *
+ * @param queue   Queue handle
+ *
+ * @return Queue schedule group
+ */
+odp_schedule_group_t odp_queue_sched_group(odp_queue_t queue);
+
+/**
  * @}
  */