[spp] [PATCH 1/5] shared: change socket buffer length

ogawa.yasufumi at lab.ntt.co.jp ogawa.yasufumi at lab.ntt.co.jp
Mon Oct 1 05:14:09 CEST 2018


From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>

Size of message via socket might exceed 1000 if network configuration is
complexed. This patch is for extending the size to 2048.

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
---
 src/shared/common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/common.h b/src/shared/common.h
index f39163d..f030ecd 100644
--- a/src/shared/common.h
+++ b/src/shared/common.h
@@ -27,7 +27,7 @@
 #include <rte_ring.h>
 
 #define MAX_CLIENT  99
-#define MSG_SIZE    1000
+#define MSG_SIZE 2048  /* socket buffer len */
 #define SOCK_RESET  -1
 #define PORT_RESET  UINT16_MAX
 
-- 
2.7.4



More information about the spp mailing list