diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-07-03 09:17:41 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-07-03 11:05:43 +0200 |
commit | 04f385a99f5e901598ee4b3d2655e458c92c06d8 (patch) | |
tree | 2c3c8037b780d60d34a1ac06e0439da79cf2fadb /include | |
parent | de63f8b37f82ef6a760c7d3dafe2251160e2c114 (diff) | |
download | ouroboros-04f385a99f5e901598ee4b3d2655e458c92c06d8.tar.gz ouroboros-04f385a99f5e901598ee4b3d2655e458c92c06d8.zip |
lib: shm_du_map full multi-block support
shm_du_map now fully supports multi-block SDU's when the
SHM_DU_MAP_MULTI_BLOCK compilation flag is set (enabled by default).
Fixes #11.
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/config.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ouroboros/config.h.in b/include/ouroboros/config.h.in index 6861c6cb..a3f6e87c 100644 --- a/include/ouroboros/config.h.in +++ b/include/ouroboros/config.h.in @@ -33,9 +33,10 @@ #define IPCP_LOCAL_EXEC "@IPCP_LOCAL_TARGET@" #define AP_MAX_FLOWS 256 #define SHM_DU_BUFF_BLOCK_SIZE sysconf(_SC_PAGESIZE) +#define SHM_DU_MAP_MULTI_BLOCK #define SHM_DU_MAP_FILENAME "ouroboros_du_map" #define SHM_BLOCKS_IN_MAP (1 << 14) -#define SHM_DU_TIMEOUT_MICROS 2000 +#define SHM_DU_TIMEOUT_MICROS 15000 #define DU_BUFF_HEADSPACE 128 #define DU_BUFF_TAILSPACE 0 #define SHM_AP_RBUFF_PREFIX "ouroboros_rb_" |