NewMadeleine

Documentation

« back to PM2 home.
nm_parameters.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NM_MAX_UNEXPECTED   (64 * 1024)
 Maximum size of unexpected packets.
 
#define NM_REQ_CHUNK_PREALLOC_SIZE   256
 number of pre-allocated req chunks
 
#define NM_CORE_TASK_QUEUE_SIZE   1024
 size of the queue to submit core tasks
 
#define NM_DEFAULT_WINDOW   64
 default window size for aggregation
 
#define NM_PREALLOC_IOV_LEN   32
 Number of preallocated iovec entries within packet wrappers.
 
#define NM_ALIGN_TYPE   uint32_t
 base type for data alignment in packets
 
#define NM_PW_TIMEOUT   (1000000 * 30) /* 30 seconds */
 maximum time allowed to send a pw, when pwsend_timeout is enabled
 
#define NM_PW_TIMEOUT_PERIOD   (1000000 * 5) /* 5 seconds */
 granularity for pwsend_timeout messages
 

Macro Definition Documentation

◆ NM_ALIGN_TYPE

#define NM_ALIGN_TYPE   uint32_t

base type for data alignment in packets

Definition at line 37 of file nm_parameters.h.

◆ NM_CORE_TASK_QUEUE_SIZE

#define NM_CORE_TASK_QUEUE_SIZE   1024

size of the queue to submit core tasks

Definition at line 28 of file nm_parameters.h.

◆ NM_DEFAULT_WINDOW

#define NM_DEFAULT_WINDOW   64

default window size for aggregation

Definition at line 31 of file nm_parameters.h.

◆ NM_MAX_UNEXPECTED

#define NM_MAX_UNEXPECTED   (64 * 1024)

Maximum size of unexpected packets.

Used for preallocated header zone within packet wrappers

Definition at line 22 of file nm_parameters.h.

◆ NM_PREALLOC_IOV_LEN

#define NM_PREALLOC_IOV_LEN   32

Number of preallocated iovec entries within packet wrappers.

Definition at line 34 of file nm_parameters.h.

◆ NM_PW_TIMEOUT

#define NM_PW_TIMEOUT   (1000000 * 30) /* 30 seconds */

maximum time allowed to send a pw, when pwsend_timeout is enabled

Definition at line 40 of file nm_parameters.h.

◆ NM_PW_TIMEOUT_PERIOD

#define NM_PW_TIMEOUT_PERIOD   (1000000 * 5) /* 5 seconds */

granularity for pwsend_timeout messages

Definition at line 43 of file nm_parameters.h.

◆ NM_REQ_CHUNK_PREALLOC_SIZE

#define NM_REQ_CHUNK_PREALLOC_SIZE   256

number of pre-allocated req chunks

Definition at line 25 of file nm_parameters.h.