aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-08-18 12:21:17 +0200
committerlaforge <laforge@osmocom.org>2020-08-20 08:40:17 +0000
commitda5b2f809427976a4d732313fa207c09175578da (patch)
tree964d329fb0ee003c13d4fab2929713886f2a21e2
parent6624c22d8387226d758507c8d8cf58e9af6cb496 (diff)
Support setting rt-prio and cpu-affinity mask through VTY
Depends: libosmocore.git Change-Id If76a4bd2cc7b3c7adf5d84790a944d78be70e10a Depends: osmo-gsm-masnuals.git Change-Id Icd75769ef630c3fa985fc5e2154d5521689cdd3c Related: SYS#4986 Change-Id: Ie68883666657fc8faa76e2422335c0ceb98c5a88
-rw-r--r--TODO-RELEASE6
-rw-r--r--configure.ac8
-rw-r--r--debian/control2
-rw-r--r--doc/manuals/osmobsc-usermanual.adoc2
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c2
5 files changed, 10 insertions, 10 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index b822f8a20..f5d70c2b4 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,9 +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 struct gsm0808_diagnostics Depends on libosmocore > 1.3.0
-libosmocore gsm0808_diagnostics_octet_location_str() Depends on libosmocore > 1.3.0
-libosmocore gsm0808_diagnostics_bit_location_str() Depends on libosmocore > 1.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-bsc Mobile Identity Coding OsmoBSC is stricter in rejecting invalid coding of Mobile Identity IEs
diff --git a/configure.ac b/configure.ac
index 4a5807985..ed9b2cb3f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,10 +49,10 @@ AC_ARG_ENABLE([ipaccess-utils], [AS_HELP_STRING([--enable-ipaccess-utils], [Buil
AM_CONDITIONAL(BUILD_IPA_UTILS, test "x$osmo_ac_ipa_utils" = "xyes")
AC_SUBST(osmo_ac_ipa_utils)
-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 >= 0.10.0)
diff --git a/debian/control b/debian/control
index d1adc4b04..d2ecea0ad 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>=9),
python3-minimal,
libcdk5-dev,
libtalloc-dev,
- libosmocore-dev (>= 1.3.0),
+ libosmocore-dev (>= 1.4.0),
libosmo-sccp-dev (>= 0.10.0),
libosmo-sigtran-dev (>= 0.10.0),
libosmo-abis-dev (>= 0.6.0),
diff --git a/doc/manuals/osmobsc-usermanual.adoc b/doc/manuals/osmobsc-usermanual.adoc
index cb939cc90..a34d3d422 100644
--- a/doc/manuals/osmobsc-usermanual.adoc
+++ b/doc/manuals/osmobsc-usermanual.adoc
@@ -42,6 +42,8 @@ include::{srcdir}/chapters/control.adoc[]
include::{srcdir}/chapters/osmux_bsc.adoc[]
+include::./common/chapters/vty_cpu_sched.adoc[]
+
include::./common/chapters/port_numbers.adoc[]
include::./common/chapters/bibliography.adoc[]
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 84b44f70d..95eab4ac5 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -53,6 +53,7 @@
#include <osmocom/vty/ports.h>
#include <osmocom/vty/logging.h>
#include <osmocom/vty/command.h>
+#include <osmocom/vty/cpu_sched_vty.h>
#include <osmocom/mgcp_client/mgcp_client_endpoint_fsm.h>
@@ -843,6 +844,7 @@ int main(int argc, char **argv)
vty_init(&vty_info);
bsc_vty_init(bsc_gsmnet);
ctrl_vty_init(tall_bsc_ctx);
+ osmo_cpu_sched_vty_init(tall_bsc_ctx);
logging_vty_add_deprecated_subsys(tall_bsc_ctx, "cc");
logging_vty_add_deprecated_subsys(tall_bsc_ctx, "mgcp");
logging_vty_add_deprecated_subsys(tall_bsc_ctx, "nat");