typedef struct
{
- u32 bytes_to_send;
- u32 bytes_sent;
- u32 bytes_to_receive;
- u32 bytes_received;
+ u64 bytes_to_send;
+ u64 bytes_sent;
+ u64 bytes_to_receive;
+ u64 bytes_received;
svm_fifo_t *server_rx_fifo;
svm_fifo_t *server_tx_fifo;
pid_t my_pid;
- /* For deadman timers */
- clib_time_t clib_time;
+ f64 test_start_time;
+ f64 test_end_time;
- /* Connection counts */
u32 expected_connections;
+ u32 **connection_index_by_thread;
volatile u32 ready_connections;
+ volatile u32 finished_connections;
- /* Signal variables */
- volatile int run_test;
+ volatile u64 rx_total;
+ u32 cli_node_index;
- /* Number of iterations */
- int n_iterations;
+ /* Signal variable */
+ volatile int run_test;
/* Bytes to send */
- u32 bytes_to_send;
+ u64 bytes_to_send;
u32 configured_segment_size;
u8 *connect_test_data;
pthread_t client_thread_handle;
- u32 client_bytes_received;
+ u64 client_bytes_received;
u8 test_return_packets;
u8 is_init;
+ u8 test_client_attached;
u32 node_index;