Motr  M0
m0_net_test_cmd_init Struct Reference

#include <commands.h>

Collaboration diagram for m0_net_test_cmd_init:
Collaboration graph

Data Fields

enum m0_net_test_role ntci_role
 
enum m0_net_test_type ntci_type
 
uint64_t ntci_msg_nr
 
m0_bcount_t ntci_msg_size
 
uint64_t ntci_bd_buf_nr
 
m0_bcount_t ntci_bd_buf_size
 
uint64_t ntci_bd_nr_max
 
uint64_t ntci_msg_concurrency
 
m0_time_t ntci_buf_send_timeout
 
m0_time_t ntci_buf_bulk_timeout
 
char * ntci_tm_ep
 
struct m0_net_test_slist ntci_ep
 

Detailed Description

M0_NET_TEST_CMD_INIT.

See also
m0_net_test_cmd

Definition at line 102 of file commands.h.

Field Documentation

◆ ntci_bd_buf_nr

uint64_t ntci_bd_buf_nr

Number of message buffers for bulk buffer descriptors in the bulk test.

Note
Unused in ping test.

Definition at line 124 of file commands.h.

◆ ntci_bd_buf_size

m0_bcount_t ntci_bd_buf_size

Size of message buffer for bulk buffer descriptors in the bulk test.

Note
Unused in ping test.

Definition at line 130 of file commands.h.

◆ ntci_bd_nr_max

uint64_t ntci_bd_nr_max

Maximum number of bulk message descriptors in the message buffer in the bulk test.

Note
Unused in ping test.

Definition at line 136 of file commands.h.

◆ ntci_buf_bulk_timeout

m0_time_t ntci_buf_bulk_timeout

Bulk buffers timeout for all bulk queues

Definition at line 153 of file commands.h.

◆ ntci_buf_send_timeout

m0_time_t ntci_buf_send_timeout

Buffer send timeout for M0_NET_QT_MSG_SEND queue. Buffers in M0_NET_QT_MSG_RECV queue have M0_TIME_NEVER timeout because there is no way to send message to this queue to specific buffer (if number of buffers > 0).

Definition at line 151 of file commands.h.

◆ ntci_ep

struct m0_net_test_slist ntci_ep

Endpoints list

Definition at line 157 of file commands.h.

◆ ntci_msg_concurrency

uint64_t ntci_msg_concurrency

Test messages concurrency. Test server will allocate ntci_msg_concurrency buffers. Test client will allocate (ntci_msg_concurrency * 2) buffers (one for sending and another for receiving) for each test server from endpoints list ntci_ep.

Definition at line 144 of file commands.h.

◆ ntci_msg_nr

uint64_t ntci_msg_nr

Number of test messages for the test client. It is number of ping messages for the ping test and number of bulk messages for the bulk test.

Definition at line 112 of file commands.h.

◆ ntci_msg_size

m0_bcount_t ntci_msg_size

Test message size. It is size of ping buffer for the ping test and size for bulk buffer for the bulk test.

Definition at line 118 of file commands.h.

◆ ntci_role

enum m0_net_test_role ntci_role

Node role

Definition at line 104 of file commands.h.

◆ ntci_tm_ep

char* ntci_tm_ep

Transfer machine endpoint for data transfers

Definition at line 155 of file commands.h.

◆ ntci_type

enum m0_net_test_type ntci_type

Node type

Definition at line 106 of file commands.h.


The documentation for this struct was generated from the following file: