Change in osmo-mgw[master]: Support setting rt-prio and cpu-affinity mask through VTY

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Aug 18 11:06:19 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/19691 )


Change subject: Support setting rt-prio and cpu-affinity mask through VTY
......................................................................

Support setting rt-prio and cpu-affinity mask through VTY

Change-Id: Icfafea073a0cdac289a651d61632b4c6af39c6a9
Depends: libosmocore.git Change-Id If76a4bd2cc7b3c7adf5d84790a944d78be70e10a
Depends: osmo-gsm-masnuals.git Change-Id Icd75769ef630c3fa985fc5e2154d5521689cdd3c
Related: SYS#4986
---
M TODO-RELEASE
M configure.ac
M debian/control
M doc/manuals/osmomgw-usermanual.adoc
M src/osmo-mgw/mgw_main.c
5 files changed, 11 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/91/19691/1

diff --git a/TODO-RELEASE b/TODO-RELEASE
index c5a3b36..e44305b 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -24,3 +24,4 @@
 # If any interfaces have been removed or changed since the last public release, a=0.
 #
 #library		what		description / commit summary line
+osmo-mgw        update osmo-gsm-manuals dependency to > 0.3.0 for vty_cpu_sched.adoc include
diff --git a/configure.ac b/configure.ac
index db44893..9aba2ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,10 +47,10 @@
 AC_SUBST(LIBRARY_DLSYM)
 
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.1.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.1.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.1.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.1.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.4.0)
 PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.6.0)
 PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.6.0)
 PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 0.6.0)
diff --git a/debian/control b/debian/control
index 00dcf38..83860df 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@
                dh-autoreconf,
                pkg-config,
                autotools-dev,
-               libosmocore-dev,
+               libosmocore-dev (>= 1.4.0),
                libosmo-netif-dev,
                libosmo-abis-dev,
                osmo-gsm-manuals-dev
diff --git a/doc/manuals/osmomgw-usermanual.adoc b/doc/manuals/osmomgw-usermanual.adoc
index 0c26449..36d4049 100644
--- a/doc/manuals/osmomgw-usermanual.adoc
+++ b/doc/manuals/osmomgw-usermanual.adoc
@@ -24,6 +24,8 @@
 
 //include::{srcdir}/chapters/counters.adoc[]
 
+include::./common/chapters/vty_cpu_sched.adoc[]
+
 include::./common/chapters/port_numbers.adoc[]
 
 include::./common/chapters/bibliography.adoc[]
diff --git a/src/osmo-mgw/mgw_main.c b/src/osmo-mgw/mgw_main.c
index d4bcb3a..af73380 100644
--- a/src/osmo-mgw/mgw_main.c
+++ b/src/osmo-mgw/mgw_main.c
@@ -60,6 +60,8 @@
 #include <osmocom/vty/command.h>
 #include <osmocom/vty/stats.h>
 #include <osmocom/vty/misc.h>
+#include <osmocom/vty/cpu_sched_vty.h>
+
 #include <osmocom/abis/abis.h>
 
 #include "../../bscconfig.h"
@@ -311,6 +313,7 @@
 	mgcp_vty_init();
 	ctrl_vty_init(cfg);
 	e1inp_vty_init();
+	osmo_cpu_sched_vty_init(tall_bsc_ctx);
 
 	handle_options(argc, argv);
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/19691
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Icfafea073a0cdac289a651d61632b4c6af39c6a9
Gerrit-Change-Number: 19691
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200818/f1c99a54/attachment.htm>


More information about the gerrit-log mailing list