summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/lconf.h
diff options
context:
space:
mode:
authorXavier Simonart <xavier.simonart@intel.com>2019-06-28 15:47:55 +0200
committerXavier Simonart <xavier.simonart@intel.com>2019-08-28 08:28:08 +0000
commit9ada1609d84cc954c9235e6bd056850c10dfccc5 (patch)
treebe27eea2041420f194d87df7f6c8053e943dbe47 /VNFs/DPPD-PROX/lconf.h
parentcefc6fd66b13e3f3a7b9635a8bd474fd329e1d62 (diff)
Add option to change scheduler policy to SCHED_RR and increase scheduler priority
Set "realtime scheduling=yes" option to change Linux scheduler policy to SCHED_RR and increase the priority to the maximum possible for the policy. Change-Id: I3ecef5cbc3816cf2b56364bb4e806ae5ac093c23 Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/lconf.h')
-rw-r--r--VNFs/DPPD-PROX/lconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/lconf.h b/VNFs/DPPD-PROX/lconf.h
index 4bfa705d..8ac1112e 100644
--- a/VNFs/DPPD-PROX/lconf.h
+++ b/VNFs/DPPD-PROX/lconf.h
@@ -52,6 +52,7 @@ struct lconf_msg {
#define LCONF_FLAG_TX_DISTR_ACTIVE 0x00000004
#define LCONF_FLAG_RX_BW_ACTIVE 0x00000008
#define LCONF_FLAG_TX_BW_ACTIVE 0x00000010
+#define LCONF_FLAG_SCHED_RR 0x00000020
struct lcore_cfg {
/* All tasks running at the moment. This is empty when the core is stopped. */