Fix default network memory configuration

This commit is contained in:
Sebastian Huber 2016-11-10 10:49:43 +01:00
parent 6517105094
commit e49f301a4f
2 changed files with 7 additions and 4 deletions

View File

@ -298,6 +298,13 @@ Init(rtems_task_argument arg)
/*
* Configure LibBSD.
*/
#if defined(LIBBSP_I386_PC386_BSP_H)
#define RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE (64 * 1024 * 1024)
#elif defined(LIBBSP_POWERPC_QORIQ_BSP_H)
#define RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE (32 * 1024 * 1024)
#endif
#define RTEMS_BSD_CONFIG_NET_PF_UNIX
#define RTEMS_BSD_CONFIG_NET_IF_LAGG
#define RTEMS_BSD_CONFIG_NET_IF_VLAN

View File

@ -46,10 +46,6 @@
#define NET_CFG_INTERFACE_0 "lo0"
#endif
#if defined(LIBBSP_I386_PC386_BSP_H)
#define RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE (64 * 1024 * 1024)
#endif
#define NET_CFG_SELF_IP "@NET_CFG_SELF_IP@"
#define NET_CFG_NETMASK "@NET_CFG_NETMASK@"