[PATCH] RTEMS: Increase MSIZE from 128 to 256

Sebastian Huber sebastian.huber@embedded-brains.de
Thu Oct 31 13:11:00 GMT 2013


This change is necessary to support IPv6.  It affects applications using
the current network stack of RTEMS since this will half the mbuf count
in the system.

newlib/ChangeLog
2013-10-31  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	* libc/sys/rtems/machine/param.h (MSIZE): Increase to 256.
---
 newlib/libc/sys/rtems/machine/param.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/newlib/libc/sys/rtems/machine/param.h b/newlib/libc/sys/rtems/machine/param.h
index e815941..6bf6b65 100644
--- a/newlib/libc/sys/rtems/machine/param.h
+++ b/newlib/libc/sys/rtems/machine/param.h
@@ -54,7 +54,7 @@
  * of the hardware page size.
  */
 #ifndef	MSIZE
-#define MSIZE		128		/* size of an mbuf */
+#define MSIZE		256		/* size of an mbuf */
 #endif	/* MSIZE */
 
 #ifndef	MCLSHIFT
-- 
1.7.7



More information about the Newlib mailing list