[rtems-libbsd commit] testsuite: Add bdbuf configuration

Sebastian Huber sebh at rtems.org
Mon Nov 2 08:11:58 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    293fefa43eb2b654ba3ae95d4ef0580b2f3aa80c
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=293fefa43eb2b654ba3ae95d4ef0580b2f3aa80c

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Oct 30 14:14:15 2015 +0100

testsuite: Add bdbuf configuration

---

 testsuite/include/rtems/bsd/test/default-init.h         | 4 ++++
 testsuite/include/rtems/bsd/test/default-network-init.h | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/testsuite/include/rtems/bsd/test/default-init.h b/testsuite/include/rtems/bsd/test/default-init.h
index 0a532b8..f38ca5d 100644
--- a/testsuite/include/rtems/bsd/test/default-init.h
+++ b/testsuite/include/rtems/bsd/test/default-init.h
@@ -91,6 +91,10 @@ SYSINIT_NEED_NET_IF_VLAN;
 
 #define CONFIGURE_STACK_CHECKER_ENABLED
 
+#define CONFIGURE_BDBUF_BUFFER_MAX_SIZE (64 * 1024)
+#define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS 4
+#define CONFIGURE_BDBUF_CACHE_MEMORY_SIZE (1 * 1024 * 1024)
+
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE (32 * 1024)
diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h
index df32392..44e4e31 100644
--- a/testsuite/include/rtems/bsd/test/default-network-init.h
+++ b/testsuite/include/rtems/bsd/test/default-network-init.h
@@ -307,6 +307,10 @@ SYSINIT_NEED_NET_IF_VLAN;
 
 #define CONFIGURE_STACK_CHECKER_ENABLED
 
+#define CONFIGURE_BDBUF_BUFFER_MAX_SIZE (64 * 1024)
+#define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS 4
+#define CONFIGURE_BDBUF_CACHE_MEMORY_SIZE (1 * 1024 * 1024)
+
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
 #define CONFIGURE_INIT_TASK_STACK_SIZE (32 * 1024)



More information about the vc mailing list