DPDK
18.11.11
|
#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 |
Structure storing internal configuration (per-lcore)
Definition at line 72 of file rte_lcore.h.
unsigned detected |
true if lcore was detected
Definition at line 73 of file rte_lcore.h.
pthread_t thread_id |
pthread identifier
Definition at line 74 of file rte_lcore.h.
int pipe_master2slave[2] |
communication pipe with master
Definition at line 75 of file rte_lcore.h.
int pipe_slave2master[2] |
communication pipe with master
Definition at line 76 of file rte_lcore.h.
lcore_function_t* volatile f |
function to call
Definition at line 77 of file rte_lcore.h.
void* volatile arg |
argument of function
Definition at line 78 of file rte_lcore.h.
volatile int ret |
return value of function
Definition at line 79 of file rte_lcore.h.
enum rte_lcore_state_t state |
unsigned socket_id |
physical socket id for this lcore
Definition at line 81 of file rte_lcore.h.
unsigned core_id |
core number on socket for this lcore
Definition at line 82 of file rte_lcore.h.
int core_index |
relative index, starting from 0
Definition at line 83 of file rte_lcore.h.
rte_cpuset_t cpuset |
cpu set which the lcore affinity to
Definition at line 84 of file rte_lcore.h.
uint8_t core_role |
role of core eg: OFF, RTE, SERVICE
Definition at line 85 of file rte_lcore.h.