FD.io VPP  v19.08.3-2-gbabecb413
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 api_client_index
 API index for the worker. More...
 
u8 app_is_builtin
 

Detailed Description

Definition at line 32 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 63 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 65 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 49 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.

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

◆ first_segment_manager_in_use

u8 app_worker_::first_segment_manager_in_use

Definition at line 60 of file application.h.

◆ listeners_table

uword* app_worker_::listeners_table

Lookup tables for listeners.

Value is segment manager index

Definition at line 52 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: