DPDK  19.08.0-rc0
Data Fields
lcore_config Struct Reference

#include <rte_lcore.h>

Data Fields

unsigned detected
 
pthread_t thread_id
 
int pipe_master2slave [2]
 
int pipe_slave2master [2]
 
lcore_function_t *volatile f
 
void *volatile arg
 
volatile int ret
 
enum rte_lcore_state_t state
 
unsigned socket_id
 
unsigned core_id
 
int core_index
 
rte_cpuset_t cpuset
 
uint8_t core_role
 

Detailed Description

Structure storing internal configuration (per-lcore)

Definition at line 43 of file rte_lcore.h.

Field Documentation

◆ detected

unsigned detected

true if lcore was detected

Definition at line 44 of file rte_lcore.h.

◆ thread_id

pthread_t thread_id

pthread identifier

Definition at line 45 of file rte_lcore.h.

◆ pipe_master2slave

int pipe_master2slave[2]

communication pipe with master

Definition at line 46 of file rte_lcore.h.

◆ pipe_slave2master

int pipe_slave2master[2]

communication pipe with master

Definition at line 47 of file rte_lcore.h.

◆ f

lcore_function_t* volatile f

function to call

Definition at line 48 of file rte_lcore.h.

◆ arg

void* volatile arg

argument of function

Definition at line 49 of file rte_lcore.h.

◆ ret

volatile int ret

return value of function

Definition at line 50 of file rte_lcore.h.

◆ state

enum rte_lcore_state_t state

lcore state

Definition at line 51 of file rte_lcore.h.

◆ socket_id

unsigned socket_id

physical socket id for this lcore

Definition at line 52 of file rte_lcore.h.

◆ core_id

unsigned core_id

core number on socket for this lcore

Definition at line 53 of file rte_lcore.h.

◆ core_index

int core_index

relative index, starting from 0

Definition at line 54 of file rte_lcore.h.

◆ cpuset

rte_cpuset_t cpuset

cpu set which the lcore affinity to

Definition at line 55 of file rte_lcore.h.

◆ core_role

uint8_t core_role

role of core eg: OFF, RTE, SERVICE

Definition at line 56 of file rte_lcore.h.


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