Changeset c6713d1 in rtems-libbsd


Ignore:
Timestamp:
Jun 27, 2016, 3:15:11 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
55c564a
Parents:
9edacb6
git-author:
Chris Johns <chrisj@…> (06/27/16 03:15:11)
git-committer:
Chris Johns <chrisj@…> (06/27/16 03:32:24)
Message:

Add DEFAULT_NETWORK_PAGE_MBUFS_SIZE to allow per BSP allocation domain sizes.

Location:
testsuite/include/rtems/bsd/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuite/include/rtems/bsd/test/default-init.h

    r9edacb6 rc6713d1  
    5252#ifdef DEFAULT_EARLY_INITIALIZATION
    5353  early_initialization();
     54#endif
     55
     56#ifdef DEFAULT_NETWORK_PAGE_MBUFS_SIZE
     57  rtems_bsd_allocator_domain_page_mbuf_size =
     58    DEFAULT_NETWORK_PAGE_MBUFS_SIZE;
    5459#endif
    5560
  • testsuite/include/rtems/bsd/test/default-network-init.h

    r9edacb6 rc6713d1  
    264264#endif
    265265
     266#ifdef DEFAULT_NETWORK_PAGE_MBUFS_SIZE
     267        rtems_bsd_allocator_domain_page_mbuf_size =
     268          DEFAULT_NETWORK_PAGE_MBUFS_SIZE;
     269#endif
     270
    266271        rtems_bsd_initialize();
    267272
     
    368373#define CONFIGURE_SHELL_COMMAND_RM
    369374#define CONFIGURE_SHELL_COMMAND_MALLOC_INFO
     375#define CONFIGURE_SHELL_COMMAND_SHUTDOWN
    370376
    371377#include <rtems/shellconfig.h>
  • testsuite/include/rtems/bsd/test/network-config.h.in

    r9edacb6 rc6713d1  
    4747#endif
    4848
     49#if defined(LIBBSP_I386_PC386_BSP_H)
     50#define DEFAULT_NETWORK_PAGE_MBUFS_SIZE (64 * 1024 * 1024)
     51#endif
     52
    4953#define NET_CFG_SELF_IP "@NET_CFG_SELF_IP@"
    5054
Note: See TracChangeset for help on using the changeset viewer.