FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
app_worker_ Struct Reference
+ Collaboration diagram for app_worker_:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

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...
 
svm_msg_q_tevent_queue
 Application listens for events on this svm queue. More...
 
u32 connects_seg_manager
 Segment manager used for outgoing connects issued by the app. More...
 
uwordlisteners_table
 Lookup tables for listeners. More...
 
u32 first_segment_manager
 First segment manager has in the the first segment the application's event fifo. More...
 
u8 first_segment_manager_in_use
 
u32 local_segment_manager
 Segment manager used for incoming "cut through" connects. More...
 
local_session_tlocal_sessions
 Pool of local sessions the app owns (as a server) More...
 
uwordlocal_connects
 Hash table of the app's local connects. More...
 
u32 api_client_index
 API index for the worker. More...
 
u8 app_is_builtin
 

Detailed Description

Definition at line 60 of file application.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

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 104 of file application.h.

◆ app_index

u32 app_worker_::app_index

Index of owning app.

Definition at line 71 of file application.h.

◆ app_is_builtin

u8 app_worker_::app_is_builtin

Definition at line 106 of file application.h.

◆ connects_seg_manager

u32 app_worker_::connects_seg_manager

Segment manager used for outgoing connects issued by the app.

Definition at line 77 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 74 of file application.h.

◆ first_segment_manager

u32 app_worker_::first_segment_manager

First segment manager has in the the first segment the application's event fifo.

Depending on what the app does, it may be either used for a listener or for connects.

Definition at line 87 of file application.h.

◆ first_segment_manager_in_use

u8 app_worker_::first_segment_manager_in_use

Definition at line 88 of file application.h.

◆ listeners_table

uword* app_worker_::listeners_table

Lookup tables for listeners.

Value is segment manager index

Definition at line 80 of file application.h.

◆ local_connects

uword* app_worker_::local_connects

Hash table of the app's local connects.

Definition at line 101 of file application.h.

◆ local_segment_manager

u32 app_worker_::local_segment_manager

Segment manager used for incoming "cut through" connects.

Definition at line 95 of file application.h.

◆ local_sessions

local_session_t* app_worker_::local_sessions

Pool of local sessions the app owns (as a server)

Definition at line 98 of file application.h.

◆ wrk_index

u32 app_worker_::wrk_index

Worker index in global worker pool.

Definition at line 65 of file application.h.

◆ wrk_map_index

u32 app_worker_::wrk_map_index

Worker index in app's map pool.

Definition at line 68 of file application.h.


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