openggsn: Add patch to reduce queue depth / memory usage

This commit is contained in:
Harald Welte 2013-03-24 09:07:25 +01:00
parent 3a01a4f2bc
commit 558d76a412
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/gtp/queue.h b/gtp/queue.h
index 556b6ef..d59a1a3 100644
--- a/gtp/queue.h
+++ b/gtp/queue.h
@@ -19,7 +19,7 @@
#define QUEUE_DEBUG 0 /* Print debug information */
-#define QUEUE_SIZE 1024 /* Size of retransmission queue */
+#define QUEUE_SIZE 32 /* Size of retransmission queue */
#define QUEUE_HASH_SIZE 65536 /* Size of hash table (2^16) */
struct qmsg_t { /* Holder for queued packets */

View File

@ -2,11 +2,12 @@ DESCRITOPN = "OpenGGSN a Free Software GGSN"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
PV = "0.91+gitr${SRCPV}"
PR = "r11"
PR = "r12"
SRCREV = "95848bafcef145d776d70a73f7bdc3fe37e85724"
SRC_URI = "git://ggsn.git.sourceforge.net/gitroot/ggsn/ggsn \
file://openggsn.init \
file://libgtp-queue_depth_32.patch \
"
S = "${WORKDIR}/git"