[PATCH] RTEMS: Increase MSIZE from 128 to 256

Sebastian Huber sebastian.huber@embedded-brains.de
Fri Nov 1 11:46:00 GMT 2013


Hello,

after some discussion on the RTEMS mailing list we decided to wait for 
the next RTEMS release and apply this patch later.

On 10/31/2013 02:11 PM, Sebastian Huber wrote:
> 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


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Newlib mailing list