diff --git a/inc/net/mbuf.h b/inc/net/mbuf.h index 06d6d228..c96fa595 100644 --- a/inc/net/mbuf.h +++ b/inc/net/mbuf.h @@ -15,7 +15,7 @@ #include #include -#define MBUF_DEFAULT_LEN 2048 +#define MBUF_DEFAULT_LEN 131072 #define MBUF_DEFAULT_HEADROOM 128 diff --git a/iokernel/tx.c b/iokernel/tx.c index fa3e6d6b..a9da12a5 100644 --- a/iokernel/tx.c +++ b/iokernel/tx.c @@ -17,7 +17,7 @@ #include "base/byteorder.h" #define TX_PREFETCH_STRIDE 2 -#define TX_MAX_SEGS (IOKERNEL_TX_BURST_SIZE * 50) +#define TX_MAX_SEGS (IOKERNEL_TX_BURST_SIZE * 128) #define UDP_OFFSET 34 #define MTU_SIZE 1500 diff --git a/runtime/net/defs.h b/runtime/net/defs.h index e16fa220..bd692d6b 100644 --- a/runtime/net/defs.h +++ b/runtime/net/defs.h @@ -13,7 +13,7 @@ #include "../defs.h" /* Maximum buffer for TX packets */ -#define MAX_BUF_LEN 65536 +#define MAX_BUF_LEN 131072 extern struct mempool net_tx_buf_mp;