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.k...@linaro.org>
---
 lib/netdev-odp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.9.1


_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to