FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
tclient_main_t Struct Reference
+ Collaboration diagram for tclient_main_t:

Data Fields

unix_shared_memory_queue_tvl_input_queue
 vpe input queue More...
 
unix_shared_memory_queue_t ** vpp_event_queue
 
u32 cli_node_index
 cli process node index More...
 
u32 my_client_index
 loopback API client handle More...
 
u32 app_index
 app index after attach More...
 
u8connect_uri
 URI for slave's connect. More...
 
u64 bytes_to_send
 Bytes to send. More...
 
u32 configured_segment_size
 
u32 fifo_size
 
u32 expected_connections
 Number of clients/connections. More...
 
u32 connections_per_batch
 Connections to rx/tx at once. More...
 
u32 private_segment_count
 Number of private fifo segs. More...
 
u32 private_segment_size
 size of private fifo segs More...
 
session_tsessions
 Session pool, shared. More...
 
clib_spinlock_t sessions_lock
 
u8 ** rx_buf
 intermediate rx buffers More...
 
u8connect_test_data
 Pre-computed test data. More...
 
u32 ** connection_index_by_thread
 
u32 ** connections_this_batch_by_thread
 active connection batch More...
 
pthread_t client_thread_handle
 
volatile u32 ready_connections
 
volatile u32 finished_connections
 
volatile u64 rx_total
 
volatile u64 tx_total
 
volatile int run_test
 Signal start of test. More...
 
f64 test_start_time
 
f64 test_end_time
 
u32 prev_conns
 
u32 repeats
 
u8 is_init
 
u8 test_client_attached
 
u8 no_return
 
u8 test_return_packets
 
int i_am_master
 
int drop_packets
 drop all packets More...
 
u8 prealloc_fifos
 Request fifo preallocation. More...
 
vlib_main_tvlib_main
 
vnet_main_tvnet_main
 
ethernet_main_tethernet_main
 

Detailed Description

Definition at line 45 of file builtin_client.h.

Field Documentation

u32 tclient_main_t::app_index

app index after attach

Definition at line 55 of file builtin_client.h.

u64 tclient_main_t::bytes_to_send

Bytes to send.

Definition at line 61 of file builtin_client.h.

u32 tclient_main_t::cli_node_index

cli process node index

Definition at line 53 of file builtin_client.h.

pthread_t tclient_main_t::client_thread_handle

Definition at line 78 of file builtin_client.h.

u32 tclient_main_t::configured_segment_size

Definition at line 62 of file builtin_client.h.

u8* tclient_main_t::connect_test_data

Pre-computed test data.

Definition at line 75 of file builtin_client.h.

u8* tclient_main_t::connect_uri

URI for slave's connect.

Definition at line 60 of file builtin_client.h.

u32** tclient_main_t::connection_index_by_thread

Definition at line 76 of file builtin_client.h.

u32 tclient_main_t::connections_per_batch

Connections to rx/tx at once.

Definition at line 65 of file builtin_client.h.

u32** tclient_main_t::connections_this_batch_by_thread

active connection batch

Definition at line 77 of file builtin_client.h.

int tclient_main_t::drop_packets

drop all packets

Definition at line 98 of file builtin_client.h.

ethernet_main_t* tclient_main_t::ethernet_main

Definition at line 106 of file builtin_client.h.

u32 tclient_main_t::expected_connections

Number of clients/connections.

Definition at line 64 of file builtin_client.h.

u32 tclient_main_t::fifo_size

Definition at line 63 of file builtin_client.h.

volatile u32 tclient_main_t::finished_connections

Definition at line 81 of file builtin_client.h.

int tclient_main_t::i_am_master

Definition at line 97 of file builtin_client.h.

u8 tclient_main_t::is_init

Definition at line 93 of file builtin_client.h.

u32 tclient_main_t::my_client_index

loopback API client handle

Definition at line 54 of file builtin_client.h.

u8 tclient_main_t::no_return

Definition at line 95 of file builtin_client.h.

u8 tclient_main_t::prealloc_fifos

Request fifo preallocation.

Definition at line 99 of file builtin_client.h.

u32 tclient_main_t::prev_conns

Definition at line 88 of file builtin_client.h.

u32 tclient_main_t::private_segment_count

Number of private fifo segs.

Definition at line 66 of file builtin_client.h.

u32 tclient_main_t::private_segment_size

size of private fifo segs

Definition at line 67 of file builtin_client.h.

volatile u32 tclient_main_t::ready_connections

Definition at line 80 of file builtin_client.h.

u32 tclient_main_t::repeats

Definition at line 89 of file builtin_client.h.

volatile int tclient_main_t::run_test

Signal start of test.

Definition at line 84 of file builtin_client.h.

u8** tclient_main_t::rx_buf

intermediate rx buffers

Definition at line 74 of file builtin_client.h.

volatile u64 tclient_main_t::rx_total

Definition at line 82 of file builtin_client.h.

session_t* tclient_main_t::sessions

Session pool, shared.

Definition at line 72 of file builtin_client.h.

clib_spinlock_t tclient_main_t::sessions_lock

Definition at line 73 of file builtin_client.h.

u8 tclient_main_t::test_client_attached

Definition at line 94 of file builtin_client.h.

f64 tclient_main_t::test_end_time

Definition at line 87 of file builtin_client.h.

u8 tclient_main_t::test_return_packets

Definition at line 96 of file builtin_client.h.

f64 tclient_main_t::test_start_time

Definition at line 86 of file builtin_client.h.

volatile u64 tclient_main_t::tx_total

Definition at line 83 of file builtin_client.h.

unix_shared_memory_queue_t* tclient_main_t::vl_input_queue

vpe input queue

Definition at line 50 of file builtin_client.h.

vlib_main_t* tclient_main_t::vlib_main

Definition at line 104 of file builtin_client.h.

vnet_main_t* tclient_main_t::vnet_main

Definition at line 105 of file builtin_client.h.

unix_shared_memory_queue_t** tclient_main_t::vpp_event_queue

Definition at line 51 of file builtin_client.h.


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