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

laforge gerrit-no-reply at lists.osmocom.org
Wed Mar 3 15:36:34 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gbproxy/+/23214 )

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

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

Related: SYS#4986
Change-Id: Id08f858b7f1bc79cc2958af4ffac3e11d644f210
---
M doc/manuals/osmogbproxy-usermanual.adoc
M src/gb_proxy_main.c
2 files changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/doc/manuals/osmogbproxy-usermanual.adoc b/doc/manuals/osmogbproxy-usermanual.adoc
index f4da954..bf2404d 100644
--- a/doc/manuals/osmogbproxy-usermanual.adoc
+++ b/doc/manuals/osmogbproxy-usermanual.adoc
@@ -27,6 +27,8 @@
 
 include::{srcdir}/chapters/counters_generated.adoc[]
 
+include::./common/chapters/vty_cpu_sched.adoc[]
+
 include::./common/chapters/port_numbers.adoc[]
 
 include::./common/chapters/bibliography.adoc[]
diff --git a/src/gb_proxy_main.c b/src/gb_proxy_main.c
index 6bd8bd8..b9ff2f1 100644
--- a/src/gb_proxy_main.c
+++ b/src/gb_proxy_main.c
@@ -55,6 +55,7 @@
 #include <osmocom/vty/stats.h>
 #include <osmocom/vty/ports.h>
 #include <osmocom/vty/misc.h>
+#include <osmocom/vty/cpu_sched_vty.h>
 
 #include "../bscconfig.h"
 
@@ -284,6 +285,7 @@
 	osmo_talloc_vty_add_cmds();
 	osmo_stats_vty_add_cmds();
 	osmo_fsm_vty_add_cmds();
+	osmo_cpu_sched_vty_init(tall_sgsn_ctx);
 	gbproxy_vty_init();
 
 	handle_options(argc, argv);

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

Gerrit-Project: osmo-gbproxy
Gerrit-Branch: master
Gerrit-Change-Id: Id08f858b7f1bc79cc2958af4ffac3e11d644f210
Gerrit-Change-Number: 23214
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210303/551ba75b/attachment.htm>


More information about the gerrit-log mailing list