aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-08-18 13:36:01 +0200
committerlaforge <laforge@osmocom.org>2020-08-20 08:44:20 +0000
commit24a885608d5ffe5861b6a467d48f2e0ebd3f23a7 (patch)
tree716ef114e47a259e9150b3f48157f0899428fb54
parentd54e07f8bd83b4a4ddc2f90d91e77a98133431bf (diff)
Support setting rt-prio and cpu-affinity mask through VTY
Change-Id: I40cf8a86961c1e350b5cd74d6e2cf64a22b7a2b1 Depends: libosmocore.git Change-Id If76a4bd2cc7b3c7adf5d84790a944d78be70e10a Depends: osmo-gsm-masnuals.git Change-Id Icd75769ef630c3fa985fc5e2154d5521689cdd3c Related: SYS#4986
-rw-r--r--TODO-RELEASE3
-rw-r--r--configure.ac8
-rw-r--r--debian/control2
-rw-r--r--doc/manuals/osmomsc-usermanual.adoc2
-rw-r--r--src/osmo-msc/msc_main.c2
5 files changed, 10 insertions, 7 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 17dc17a83..78a03ff4d 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,6 +7,5 @@
# If any interfaces have been added since the last public release: c:r:a + 1.
# If any interfaces have been removed or changed since the last public release: c:r:0.
#library what description / commit summary line
-manual needs common chapter cs7-config.adoc from osmo-gsm-manuals > 0.3.0
-libosmocore osmo_mobile_identity Depends on libosmocore > 1.3.0
+manual needs common chapter cs7-config.adoc, vty_cpu_sched.adoc from osmo-gsm-manuals > 0.3.0
osmo-msc Mobile Identity Coding OsmoMSC is stricter in rejecting invalid coding of Mobile Identity IEs
diff --git a/configure.ac b/configure.ac
index 5244055d5..eea7f4ba4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,10 +40,10 @@ m4_ifdef([AX_CHECK_COMPILE_FLAG], [], [
])
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.3.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.3.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.3.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.3.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.4.0)
PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.6.0)
PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.6.0)
PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 1.1.0)
diff --git a/debian/control b/debian/control
index 606fbafb2..0f3da25fe 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>=9),
libtalloc-dev,
libsmpp34-dev (>= 1.14.0),
libasn1c-dev (>= 0.9.30),
- libosmocore-dev (>= 1.3.0),
+ libosmocore-dev (>= 1.4.0),
libosmo-sccp-dev (>= 1.1.0),
libosmo-sigtran-dev (>= 1.1.0),
libosmo-abis-dev (>= 0.6.0),
diff --git a/doc/manuals/osmomsc-usermanual.adoc b/doc/manuals/osmomsc-usermanual.adoc
index 848d9c0dd..7ba45d40f 100644
--- a/doc/manuals/osmomsc-usermanual.adoc
+++ b/doc/manuals/osmomsc-usermanual.adoc
@@ -36,6 +36,8 @@ include::./common/chapters/control_if.adoc[]
include::./common/chapters/gsup.adoc[]
+include::./common/chapters/vty_cpu_sched.adoc[]
+
include::./common/chapters/port_numbers.adoc[]
include::./common/chapters/bibliography.adoc[]
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index f2ccff551..98d29c3cc 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -53,6 +53,7 @@
#include <osmocom/vty/ports.h>
#include <osmocom/vty/logging.h>
#include <osmocom/vty/misc.h>
+#include <osmocom/vty/cpu_sched_vty.h>
#include <osmocom/msc/vty.h>
#include <osmocom/msc/mncc.h>
#include <osmocom/msc/rrlp.h>
@@ -549,6 +550,7 @@ int main(int argc, char **argv)
ctrl_vty_init(tall_msc_ctx);
logging_vty_add_cmds();
osmo_talloc_vty_add_cmds();
+ osmo_cpu_sched_vty_init(tall_msc_ctx);
/* Allocate global gsm_network struct.
* At first set the internal MNCC as default, may be changed below according to cfg or cmdline option. */