FD.io VPP  v19.08.3-2-gbabecb413
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...
 
u8 session_enable_asap
 Enable session manager at startup. 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 144 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 173 of file session.h.

◆ configured_v4_halfopen_table_buckets

u32 session_main_::configured_v4_halfopen_table_buckets

Definition at line 184 of file session.h.

◆ configured_v4_halfopen_table_memory

u32 session_main_::configured_v4_halfopen_table_memory

Definition at line 185 of file session.h.

◆ configured_v4_session_table_buckets

u32 session_main_::configured_v4_session_table_buckets

Session table size parameters.

Definition at line 182 of file session.h.

◆ configured_v4_session_table_memory

u32 session_main_::configured_v4_session_table_memory

Definition at line 183 of file session.h.

◆ configured_v6_halfopen_table_buckets

u32 session_main_::configured_v6_halfopen_table_buckets

Definition at line 188 of file session.h.

◆ configured_v6_halfopen_table_memory

u32 session_main_::configured_v6_halfopen_table_memory

Definition at line 189 of file session.h.

◆ configured_v6_session_table_buckets

u32 session_main_::configured_v6_session_table_buckets

Definition at line 186 of file session.h.

◆ configured_v6_session_table_memory

u32 session_main_::configured_v6_session_table_memory

Definition at line 187 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 150 of file session.h.

◆ evt_qs_segment_size

uword session_main_::evt_qs_segment_size

Definition at line 178 of file session.h.

◆ evt_qs_use_memfd_seg

u8 session_main_::evt_qs_use_memfd_seg

Definition at line 179 of file session.h.

◆ is_enabled

u8 session_main_::is_enabled

Session manager is enabled.

Definition at line 168 of file session.h.

◆ local_endpoints_table_buckets

u32 session_main_::local_endpoints_table_buckets

Definition at line 193 of file session.h.

◆ local_endpoints_table_memory

u32 session_main_::local_endpoints_table_memory

Transport table (preallocation) size parameters.

Definition at line 192 of file session.h.

◆ preallocated_sessions

u32 session_main_::preallocated_sessions

Preallocate session config parameter.

Definition at line 196 of file session.h.

◆ session_baseva

uword session_main_::session_baseva

Session ssvm segment configs.

Definition at line 176 of file session.h.

◆ session_enable_asap

u8 session_main_::session_enable_asap

Enable session manager at startup.

Definition at line 170 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 156 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 161 of file session.h.

◆ session_va_space_size

uword session_main_::session_va_space_size

Definition at line 177 of file session.h.

◆ unique_segment_name_counter

u32 session_main_::unique_segment_name_counter

Unique segment name counter.

Definition at line 153 of file session.h.

◆ wrk

session_worker_t* session_main_::wrk

Worker contexts.

Definition at line 147 of file session.h.


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