This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] RTEMS: Increase MSIZE from 128 to 256


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]