CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
test_configuration.h File Reference

This header file contains definitions used to define the build configuration of the CDI SDK's test.. More...

Go to the source code of this file.

Macros

#define TX_PAYLOAD_TIMEOUT_FACTOR   (100)
 Option to increase or decrease transmitter single payload timeout time.
 
#define TX_ALL_DONE_TIMEOUT_MS   (2000)
 Option to increase or decrease transmitter test timeout time. This number must be large enough to compensate for payloads that may be in flight when test completes.
 
#define REFRESH_STATS_PERIOD_SECONDS   (1)
 How often to refresh transfer stats on the console in seconds.
 
#define TX_QUEUE_FULL_RATE_PERIOD_SLEEP_DIVISOR   (100)
 If the Tx queue is full in CDI, this is the amount of time the rate_period_microseconds is divided by in order to determine how long to wait before trying to resend the payload again.
 
#define CONNECTION_WAIT_TIMEOUT_SECONDS   (10*60)
 How much time to wait for a connection to be made (use 10 minutes for now).
 
#define MAIN_TEST_LOOP_WAIT_TIMEOUT_MS   (1000*1)
 How much time to wait between tests if running in loop mode.
 
#define TEST_TX_SGL_PACKET_ENTRIES   (10)
 Enables a statistics gathering reconfiguration test that is defined in test_dynamic.c. When enabled, it uses the configured statistics settings generated from command line options to dynamically make changes to the settings and apply them.
 
#define TEST_TX_SGL_PACKET_ENTRIES_GROW   (2)
 Maximum number SGL packets buffer in test may be increased by.
 
#define TEST_MAX_POOL_GROW_COUNT   (5)
 Number of times a memory pool may increase before an error occurs.
 

Detailed Description

This header file contains definitions used to define the build configuration of the CDI SDK's test..

Macro Definition Documentation

◆ TEST_TX_SGL_PACKET_ENTRIES

#define TEST_TX_SGL_PACKET_ENTRIES   (10)

Enables a statistics gathering reconfiguration test that is defined in test_dynamic.c. When enabled, it uses the configured statistics settings generated from command line options to dynamically make changes to the settings and apply them.

Enables a dynamic endpoint creation/destruction test that is defined in test_dynamic.c.

Enable the line below to disable the rate timeout and use a sleep function to control the payload transfer rate. Disabling the timeout allows the use of breakpoints to aid in debugging other parts of the system. NOTE: This should normally NOT be enabled in GIT.

Maximum number SGL packets in test