lwipopts: increase MEMP_NUM_PBUF for send performance
MEMP_NUM_PBUF is the number of PBUF_REF-type pbufs, which points
to the data somewhere else instead of containing it.
For send traffic, no new regular pbuf is allocated from PBUF_POOL,
rather PBUF_REF-type pbuf is used to point to the application data.
Change-Id: Ia1d7e4c9705df4c44fef7b912e1a3f0f2abd2b66
diff --git a/ports/fuchsia/include/lwipopts.h b/ports/fuchsia/include/lwipopts.h
index ea61438..7143888 100644
--- a/ports/fuchsia/include/lwipopts.h
+++ b/ports/fuchsia/include/lwipopts.h
@@ -105,7 +105,7 @@
/* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application
sends a lot of data out of ROM (or other static memory), this
should be set high. */
-#define MEMP_NUM_PBUF 16
+#define MEMP_NUM_PBUF 3600
/* MEMP_NUM_RAW_PCB: the number of UDP protocol control blocks. One
per active RAW "connection". */
#define MEMP_NUM_RAW_PCB 3