Motr
M0
|
Data Fields | |
struct m0_net_test_nh | nbc_nh |
struct m0_net_test_network_ctx | nbc_net |
struct m0_net_test_service * | nbc_svc |
struct m0_thread | nbc_thread |
size_t | nbc_buf_ping_nr |
size_t | nbc_buf_bulk_nr |
m0_bcount_t | nbc_buf_size_ping |
m0_bcount_t | nbc_buf_size_bulk |
size_t | nbc_bd_nr_max |
struct buf_status_bulk * | nbc_bs |
size_t | nbc_bs_nr |
struct buf_status_ping * | nbc_bsp |
struct m0_mutex | nbc_bulk_mutex |
struct m0_net_test_ringbuf | nbc_rb_ping_unused |
struct m0_net_test_ringbuf | nbc_rb_bulk_unused |
struct m0_net_test_ringbuf | nbc_rb_bulk_queued |
struct m0_net_test_ringbuf | nbc_rb_bulk_final |
size_t | nbc_client_concurrency |
struct server_status_bulk * | nbc_sstatus |
struct m0_chan | nbc_stop_chan |
struct m0_mutex | nbc_stop_chan_mutex |
struct m0_clink | nbc_stop_clink |
struct m0_atomic64 | nbc_stop_flag |
bool | nbc_callback_executed |
Bulk test context. Buffer mapping for the test client: even buffers - for sending odd buffers - for receiving first (nbc_client_concurrency * 2) buffers for server #0, next (nbc_client_concurrency * 2) buffers for server #1 and so on. Buffer mapping for the test server: All buffers are used for receiving and sending.
Definition at line 215 of file node_bulk.c.
size_t nbc_bd_nr_max |
Maximum number of buffer descriptors, stored to ping buffer
Definition at line 233 of file node_bulk.c.
struct buf_status_bulk* nbc_bs |
Bulk buffer states
Definition at line 235 of file node_bulk.c.
size_t nbc_bs_nr |
Number of bulk buffer states
Definition at line 237 of file node_bulk.c.
struct buf_status_ping* nbc_bsp |
Ping buffer states
Definition at line 239 of file node_bulk.c.
size_t nbc_buf_bulk_nr |
Number of bulk buffers
Definition at line 227 of file node_bulk.c.
size_t nbc_buf_ping_nr |
Number of ping buffers
Definition at line 225 of file node_bulk.c.
m0_bcount_t nbc_buf_size_bulk |
Bulk buffer size
Definition at line 231 of file node_bulk.c.
m0_bcount_t nbc_buf_size_ping |
Ping buffer size
Definition at line 229 of file node_bulk.c.
struct m0_mutex nbc_bulk_mutex |
Mutex for mutual nbc_rb_bulk_unused ring buf start/end increment
Definition at line 241 of file node_bulk.c.
bool nbc_callback_executed |
At least one callback was executed. Set to true in every callback.
Definition at line 282 of file node_bulk.c.
size_t nbc_client_concurrency |
Test client concurrency. Test client will send nbc_client_concurrency test messages to every server simultaneously.
Definition at line 260 of file node_bulk.c.
struct m0_net_test_network_ctx nbc_net |
Network context for testing
Definition at line 219 of file node_bulk.c.
struct m0_net_test_nh nbc_nh |
Node helper
Definition at line 217 of file node_bulk.c.
struct m0_net_test_ringbuf nbc_rb_bulk_final |
List of bulk transfers, that are in final state.
Definition at line 254 of file node_bulk.c.
struct m0_net_test_ringbuf nbc_rb_bulk_queued |
List of added to passive network queue buffers. Network buffer descriptors wasn't sent yet for these buffers.
Definition at line 250 of file node_bulk.c.
struct m0_net_test_ringbuf nbc_rb_bulk_unused |
List of unused bulk buffers
Definition at line 245 of file node_bulk.c.
struct m0_net_test_ringbuf nbc_rb_ping_unused |
List of unused message buffers
Definition at line 243 of file node_bulk.c.
struct server_status_bulk* nbc_sstatus |
Per server status for the test client
Definition at line 262 of file node_bulk.c.
struct m0_chan nbc_stop_chan |
Channel for bulk testing inner loop. STOP command will send signal to this channel.
Definition at line 267 of file node_bulk.c.
struct m0_mutex nbc_stop_chan_mutex |
Mutex for node_bulk_ctx.nbc_stop_chan
Definition at line 269 of file node_bulk.c.
struct m0_clink nbc_stop_clink |
Clink for bulk testing inner loop. This clink is head for clink group, consists of this clink and network transfer machine notification clink.
Definition at line 275 of file node_bulk.c.
struct m0_atomic64 nbc_stop_flag |
Stop flag
Definition at line 277 of file node_bulk.c.
struct m0_net_test_service* nbc_svc |
Test service. Used when changing service state.
Definition at line 221 of file node_bulk.c.
struct m0_thread nbc_thread |
Worker thread
Definition at line 223 of file node_bulk.c.