FD.io VPP  v19.04.2-12-g66b1689
Vector Packet Processing
session_worker_ Struct Reference
+ Collaboration diagram for session_worker_:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

session_tsessions
 Worker session pool. More...
 
svm_msg_q_tvpp_event_queue
 vpp event message queue for worker More...
 
f64 dispatch_period
 Our approximation of a "complete" dispatch loop period. More...
 
f64 last_vlib_time
 vlib_time_now last time around the track More...
 
u32session_to_enqueue [TRANSPORT_N_PROTO]
 Per-proto vector of sessions to enqueue. More...
 
session_tx_context_t ctx
 Context for session tx. More...
 
u32tx_buffers
 Vector of tx buffer free lists. More...
 
session_event_t * free_event_vector
 Vector of partially read events. More...
 
session_event_t * pending_event_vector
 Vector of active event vectors. More...
 
session_event_t * pending_disconnects
 Vector of postponed disconnects. More...
 
session_event_t * postponed_event_vector
 Vector of postponed events. More...
 
clib_rwlock_t peekers_rw_locks
 Peekers rw lock. More...
 
u32 last_tx_packets
 

Detailed Description

Definition at line 64 of file session.h.

Member Function Documentation

session_worker_::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

session_tx_context_t session_worker_::ctx

Context for session tx.

Definition at line 84 of file session.h.

f64 session_worker_::dispatch_period

Our approximation of a "complete" dispatch loop period.

Definition at line 75 of file session.h.

session_event_t* session_worker_::free_event_vector

Vector of partially read events.

Definition at line 90 of file session.h.

u32 session_worker_::last_tx_packets

Definition at line 104 of file session.h.

f64 session_worker_::last_vlib_time

vlib_time_now last time around the track

Definition at line 78 of file session.h.

clib_rwlock_t session_worker_::peekers_rw_locks

Peekers rw lock.

Definition at line 102 of file session.h.

session_event_t* session_worker_::pending_disconnects

Vector of postponed disconnects.

Definition at line 96 of file session.h.

session_event_t* session_worker_::pending_event_vector

Vector of active event vectors.

Definition at line 93 of file session.h.

session_event_t* session_worker_::postponed_event_vector

Vector of postponed events.

Definition at line 99 of file session.h.

u32* session_worker_::session_to_enqueue[TRANSPORT_N_PROTO]

Per-proto vector of sessions to enqueue.

Definition at line 81 of file session.h.

session_t* session_worker_::sessions

Worker session pool.

Definition at line 69 of file session.h.

u32* session_worker_::tx_buffers

Vector of tx buffer free lists.

Definition at line 87 of file session.h.

svm_msg_q_t* session_worker_::vpp_event_queue

vpp event message queue for worker

Definition at line 72 of file session.h.


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