summaryrefslogtreecommitdiffstats
path: root/testsuite/include/rtems/bsd/test/default-init.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-06-27 13:15:11 +1000
committerChris Johns <chrisj@rtems.org>2016-06-27 13:32:24 +1000
commitc6713d1b5134ddffb83ea21e5ed55587a46df5f6 (patch)
tree5c8bfafc37511e6521b863edf94f20f229dafa25 /testsuite/include/rtems/bsd/test/default-init.h
parentFix spelling. (diff)
downloadrtems-libbsd-c6713d1b5134ddffb83ea21e5ed55587a46df5f6.tar.bz2
Add DEFAULT_NETWORK_PAGE_MBUFS_SIZE to allow per BSP allocation domain sizes.
Diffstat (limited to 'testsuite/include/rtems/bsd/test/default-init.h')
-rw-r--r--testsuite/include/rtems/bsd/test/default-init.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/include/rtems/bsd/test/default-init.h b/testsuite/include/rtems/bsd/test/default-init.h
index 2f73442e..9ddfd340 100644
--- a/testsuite/include/rtems/bsd/test/default-init.h
+++ b/testsuite/include/rtems/bsd/test/default-init.h
@@ -53,6 +53,11 @@ rtems_task Init(
early_initialization();
#endif
+#ifdef DEFAULT_NETWORK_PAGE_MBUFS_SIZE
+ rtems_bsd_allocator_domain_page_mbuf_size =
+ DEFAULT_NETWORK_PAGE_MBUFS_SIZE;
+#endif
+
/* Let other tasks run to complete background work */
default_set_self_prio( RTEMS_MAXIMUM_PRIORITY - 1 );