FD.io VPP  v19.08.3-2-gbabecb413
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...
 
clib_time_type_t last_vlib_time
 vlib_time_now last time around the track More...
 
clib_us_time_t last_vlib_us_time
 vlib_time_now rounded to us precision and as u64 More...
 
vlib_main_tvm
 Convenience pointer to this worker's vlib_main. 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_evt_elt_tevent_elts
 Pool of session event list elements. More...
 
session_evt_ctrl_data_tctrl_evts_data
 Pool of ctrl events data buffers. More...
 
clib_llist_index_t ctrl_head
 Head of control events list. More...
 
clib_llist_index_t new_head
 Head of list of elements. More...
 
clib_llist_index_t old_head
 Head of list of pending events. More...
 
clib_rwlock_t peekers_rw_locks
 Peekers rw lock. More...
 
u32pending_tx_buffers
 Vector of buffers to be sent. More...
 
u16pending_tx_nexts
 Vector of nexts for the pending tx buffers. More...
 

Detailed Description

Definition at line 76 of file session.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

session_worker_::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ ctrl_evts_data

session_evt_ctrl_data_t* session_worker_::ctrl_evts_data

Pool of ctrl events data buffers.

Definition at line 108 of file session.h.

◆ ctrl_head

clib_llist_index_t session_worker_::ctrl_head

Head of control events list.

Definition at line 111 of file session.h.

◆ ctx

session_tx_context_t session_worker_::ctx

Context for session tx.

Definition at line 99 of file session.h.

◆ event_elts

session_evt_elt_t* session_worker_::event_elts

Pool of session event list elements.

Definition at line 105 of file session.h.

◆ last_vlib_time

clib_time_type_t session_worker_::last_vlib_time

vlib_time_now last time around the track

Definition at line 87 of file session.h.

◆ last_vlib_us_time

clib_us_time_t session_worker_::last_vlib_us_time

vlib_time_now rounded to us precision and as u64

Definition at line 90 of file session.h.

◆ new_head

clib_llist_index_t session_worker_::new_head

Head of list of elements.

Definition at line 114 of file session.h.

◆ old_head

clib_llist_index_t session_worker_::old_head

Head of list of pending events.

Definition at line 117 of file session.h.

◆ peekers_rw_locks

clib_rwlock_t session_worker_::peekers_rw_locks

Peekers rw lock.

Definition at line 120 of file session.h.

◆ pending_tx_buffers

u32* session_worker_::pending_tx_buffers

Vector of buffers to be sent.

Definition at line 123 of file session.h.

◆ pending_tx_nexts

u16* session_worker_::pending_tx_nexts

Vector of nexts for the pending tx buffers.

Definition at line 126 of file session.h.

◆ session_to_enqueue

u32* session_worker_::session_to_enqueue[TRANSPORT_N_PROTO]

Per-proto vector of sessions to enqueue.

Definition at line 96 of file session.h.

◆ sessions

session_t* session_worker_::sessions

Worker session pool.

Definition at line 81 of file session.h.

◆ tx_buffers

u32* session_worker_::tx_buffers

Vector of tx buffer free lists.

Definition at line 102 of file session.h.

◆ vm

vlib_main_t* session_worker_::vm

Convenience pointer to this worker's vlib_main.

Definition at line 93 of file session.h.

◆ vpp_event_queue

svm_msg_q_t* session_worker_::vpp_event_queue

vpp event message queue for worker

Definition at line 84 of file session.h.


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