Change in osmo-ggsn[master]: doc/manuals: describe GTP-U kernel module

laforge gerrit-no-reply at
Tue Mar 2 11:22:51 UTC 2021

laforge has submitted this change. ( )

Change subject: doc/manuals: describe GTP-U kernel module

doc/manuals: describe GTP-U kernel module

Related: OS#3209
Change-Id: Ib45cbfe03077960f216a83cf500ab3203d02cb3b
M doc/manuals/chapters/running.adoc
1 file changed, 44 insertions(+), 0 deletions(-)

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

diff --git a/doc/manuals/chapters/running.adoc b/doc/manuals/chapters/running.adoc
index 51b8ae2..e3f6bbc 100644
--- a/doc/manuals/chapters/running.adoc
+++ b/doc/manuals/chapters/running.adoc
@@ -80,3 +80,47 @@
 ggsn ggsn0
  gtp bind-ip
+=== GTP-U kernel module
+WARNING: As of writing, the kernel module does not support IPv6.
+OsmoGGSN has support to use the Linux kernel GTP-U tunnel driver to accelerate
+the data/user plane while still implementing the control plane (GTP-C) in
+userspace in OsmoGGSN. The kernel module is included in Linux 4.7.0 and higher.
+Notably the Debian GNU/Linux distribution has it enabled by default.
+In order to use this feature, make sure that your Linux kernel was configured
+to support it (`CONFIG_GTP=m` or `=y`). Furthermore, `osmo-ggsn` must have been
+built with `./configure` argument `--enable-gtp-linux` (which requires libgtpnl
+to be installed).
+Load the kernel module with:
+$ sudo modprobe gtp
+Then start OsmoGGSN with a configuration file that uses `gtpu-mode kernel-gtp`.
+A full example configuration is in `osmo-ggsn-kernel-gtp.cfg`.
+$ sudo osmo-ggsn -c /usr/share/doc/osmo-ggsn/examples/osmo-ggsn-kernel-gtp.cfg
+.Example: APN with kernel-gtp
+ggsn ggsn0
+ gtp state-dir /tmp
+ gtp bind-ip
+ apn internet
+  gtpu-mode kernel-gtp
+  tun-device tun4
+  type-support v4
+  ip prefix dynamic
+  ip dns 0
+  ip dns 1
+  ip ifconfig
+  no shutdown

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ib45cbfe03077960f216a83cf500ab3203d02cb3b
Gerrit-Change-Number: 23159
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at>
Gerrit-CC: pespin <pespin at>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list