mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 16:19:16 +08:00
Fix default network memory configuration
This commit is contained in:
parent
6517105094
commit
e49f301a4f
@ -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
|
||||
|
@ -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@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user