diff mbox

[3/6] netdev-odp: Increase packet pool size

Message ID 1426792426-12507-4-git-send-email-zoltan.kiss@linaro.org
State New
Headers show

Commit Message

Zoltan Kiss March 19, 2015, 7:13 p.m. UTC
DPDK needs this otherwise it saturates the whole pool too fast. For some reason
it doesn't work properly if the pool size is too small.

Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
---
 lib/netdev-odp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/lib/netdev-odp.c b/lib/netdev-odp.c
index 385401f..0b13f7f 100644
--- a/lib/netdev-odp.c
+++ b/lib/netdev-odp.c
@@ -49,7 +49,7 @@ 
 
 VLOG_DEFINE_THIS_MODULE(odp);
 
-#define SHM_PKT_POOL_NUM_BUFS  512
+#define SHM_PKT_POOL_NUM_BUFS  32768
 #define SHM_PKT_POOL_BUF_SIZE  1856
 
 #define SHM_OFPBUF_NUM_BUFS      512