From da5b2f809427976a4d732313fa207c09175578da Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 18 Aug 2020 12:21:17 +0200 Subject: [PATCH] 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 --- TODO-RELEASE | 6 +----- configure.ac | 8 ++++---- debian/control | 2 +- doc/manuals/osmobsc-usermanual.adoc | 2 ++ src/osmo-bsc/osmo_bsc_main.c | 2 ++ 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 #include #include +#include #include @@ -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");