summaryrefslogtreecommitdiff
path: root/src/ipcpd/config.h.in
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-21 14:36:12 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-09-21 14:47:29 +0200
commit2c1d03ac383c1a4380aa540a29d95c1b788d2439 (patch)
tree5465553caae2fbbc8d5878902559c89e5133dba8 /src/ipcpd/config.h.in
parent6b6f82c8a58b2edbd029909be2ba1057c00cd6ed (diff)
downloadouroboros-2c1d03ac383c1a4380aa540a29d95c1b788d2439.tar.gz
ouroboros-2c1d03ac383c1a4380aa540a29d95c1b788d2439.zip
ipcpd: Use the kernel scheduler for QoS
This revises the sdu_scheduler of the normal IPCP to create a scheduler thread per QoS cube and let the kernel scheduler schedule them based on a priority. Priorities can be set at build time in a range of 0-100, which will be mapped onto a suitable priority for the kernel scheduler. The current scheduler policy is fixed to SCHED_RR since it is the most suitable scheduler defined by POSIX.
Diffstat (limited to 'src/ipcpd/config.h.in')
-rw-r--r--src/ipcpd/config.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ipcpd/config.h.in b/src/ipcpd/config.h.in
index 6fb409b7..04be22ba 100644
--- a/src/ipcpd/config.h.in
+++ b/src/ipcpd/config.h.in
@@ -36,7 +36,9 @@
#define IPCP_ADD_THREADS @IPCP_ADD_THREADS@
/* normal IPCP */
-#define IPCP_SCHED_THREADS @IPCP_SCHED_THREADS@
+#define QOS_PRIO_BE @IPCP_QOS_CUBE_BE_PRIO@
+#define QOS_PRIO_VIDEO @IPCP_QOS_CUBE_VIDEO_PRIO@
+#define QOS_PRIO_VOICE @IPCP_QOS_CUBE_VOICE_PRIO@
#define PFT_SIZE @PFT_SIZE@
/* shim-udp */