FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
app_worker_ Struct Reference
+ Collaboration diagram for app_worker_:

Public Member Functions


Data Fields

u32 wrk_index
 Worker index in global worker pool. More...
u32 wrk_map_index
 Worker index in app's map pool. More...
u32 app_index
 Index of owning app. More...
 Application listens for events on this svm queue. More...
u32 connects_seg_manager
 Segment manager used for outgoing connects issued by the app. More...
 Lookup tables for listeners. More...
u32 api_client_index
 API index for the worker. More...
u8 app_is_builtin
 Pool of half-open session handles. More...
clib_spinlock_t detached_seg_managers_lock
 Protects detached seg managers. More...
 Vector of detached listener segment managers. More...

Detailed Description

Definition at line 32 of file application.h.

Member Function Documentation


app_worker_::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ api_client_index

u32 app_worker_::api_client_index

API index for the worker.

Needed for multi-process apps

Definition at line 60 of file application.h.

◆ app_index

u32 app_worker_::app_index

Index of owning app.

Definition at line 43 of file application.h.

◆ app_is_builtin

u8 app_worker_::app_is_builtin

Definition at line 62 of file application.h.

◆ connects_seg_manager

u32 app_worker_::connects_seg_manager

Segment manager used for outgoing connects issued by the app.

By convention this is the first segment manager allocated by the worker so it's also the one that holds the first segment with the app's message queue in it.

Definition at line 54 of file application.h.

◆ detached_seg_managers

u32* app_worker_::detached_seg_managers

Vector of detached listener segment managers.

Definition at line 71 of file application.h.

◆ detached_seg_managers_lock

clib_spinlock_t app_worker_::detached_seg_managers_lock

Protects detached seg managers.

Definition at line 68 of file application.h.

◆ event_queue

svm_msg_q_t* app_worker_::event_queue

Application listens for events on this svm queue.

Definition at line 46 of file application.h.

◆ half_open_table

session_handle_t* app_worker_::half_open_table

Pool of half-open session handles.

Tracked in case worker detaches

Definition at line 65 of file application.h.

◆ listeners_table

uword* app_worker_::listeners_table

Lookup tables for listeners.

Value is segment manager index

Definition at line 57 of file application.h.

◆ wrk_index

u32 app_worker_::wrk_index

Worker index in global worker pool.

Definition at line 37 of file application.h.

◆ wrk_map_index

u32 app_worker_::wrk_map_index

Worker index in app's map pool.

Definition at line 40 of file application.h.

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