FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
session_main_ Struct Reference
+ Collaboration diagram for session_main_:

Data Fields

session_worker_twrk
 Worker contexts. More...
 
ssvm_private_t evt_qs_segment
 Event queues memfd segment initialized only if so configured. More...
 
u32 unique_segment_name_counter
 Unique segment name counter. More...
 
session_fifo_rx_fn ** session_tx_fns
 Per transport rx function that can either dequeue or peek. More...
 
u32session_type_to_next
 Per session type output nodes. More...
 
u8 is_enabled
 Session manager is enabled. More...
 
u32 configured_event_queue_length
 vpp fifo event queue configured length More...
 
uword session_baseva
 Session ssvm segment configs. More...
 
uword session_va_space_size
 
uword evt_qs_segment_size
 
u8 evt_qs_use_memfd_seg
 
u32 configured_v4_session_table_buckets
 Session table size parameters. More...
 
u32 configured_v4_session_table_memory
 
u32 configured_v4_halfopen_table_buckets
 
u32 configured_v4_halfopen_table_memory
 
u32 configured_v6_session_table_buckets
 
u32 configured_v6_session_table_memory
 
u32 configured_v6_halfopen_table_buckets
 
u32 configured_v6_halfopen_table_memory
 
u32 local_endpoints_table_memory
 Transport table (preallocation) size parameters. More...
 
u32 local_endpoints_table_buckets
 
u32 preallocated_sessions
 Preallocate session config parameter. More...
 

Detailed Description

Definition at line 119 of file session.h.

Field Documentation

◆ configured_event_queue_length

u32 session_main_::configured_event_queue_length

vpp fifo event queue configured length

Definition at line 146 of file session.h.

◆ configured_v4_halfopen_table_buckets

u32 session_main_::configured_v4_halfopen_table_buckets

Definition at line 157 of file session.h.

◆ configured_v4_halfopen_table_memory

u32 session_main_::configured_v4_halfopen_table_memory

Definition at line 158 of file session.h.

◆ configured_v4_session_table_buckets

u32 session_main_::configured_v4_session_table_buckets

Session table size parameters.

Definition at line 155 of file session.h.

◆ configured_v4_session_table_memory

u32 session_main_::configured_v4_session_table_memory

Definition at line 156 of file session.h.

◆ configured_v6_halfopen_table_buckets

u32 session_main_::configured_v6_halfopen_table_buckets

Definition at line 161 of file session.h.

◆ configured_v6_halfopen_table_memory

u32 session_main_::configured_v6_halfopen_table_memory

Definition at line 162 of file session.h.

◆ configured_v6_session_table_buckets

u32 session_main_::configured_v6_session_table_buckets

Definition at line 159 of file session.h.

◆ configured_v6_session_table_memory

u32 session_main_::configured_v6_session_table_memory

Definition at line 160 of file session.h.

◆ evt_qs_segment

ssvm_private_t session_main_::evt_qs_segment

Event queues memfd segment initialized only if so configured.

Definition at line 125 of file session.h.

◆ evt_qs_segment_size

uword session_main_::evt_qs_segment_size

Definition at line 151 of file session.h.

◆ evt_qs_use_memfd_seg

u8 session_main_::evt_qs_use_memfd_seg

Definition at line 152 of file session.h.

◆ is_enabled

u8 session_main_::is_enabled

Session manager is enabled.

Definition at line 143 of file session.h.

◆ local_endpoints_table_buckets

u32 session_main_::local_endpoints_table_buckets

Definition at line 166 of file session.h.

◆ local_endpoints_table_memory

u32 session_main_::local_endpoints_table_memory

Transport table (preallocation) size parameters.

Definition at line 165 of file session.h.

◆ preallocated_sessions

u32 session_main_::preallocated_sessions

Preallocate session config parameter.

Definition at line 169 of file session.h.

◆ session_baseva

uword session_main_::session_baseva

Session ssvm segment configs.

Definition at line 149 of file session.h.

◆ session_tx_fns

session_fifo_rx_fn** session_main_::session_tx_fns

Per transport rx function that can either dequeue or peek.

Definition at line 131 of file session.h.

◆ session_type_to_next

u32* session_main_::session_type_to_next

Per session type output nodes.

Could optimize to group nodes by fib but lookup would then require session type parsing in session node. Trade memory for speed, for now

Definition at line 136 of file session.h.

◆ session_va_space_size

uword session_main_::session_va_space_size

Definition at line 150 of file session.h.

◆ unique_segment_name_counter

u32 session_main_::unique_segment_name_counter

Unique segment name counter.

Definition at line 128 of file session.h.

◆ wrk

session_worker_t* session_main_::wrk

Worker contexts.

Definition at line 122 of file session.h.


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