DPDK  2.0.0
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

Detailed Description

Structure storing internal configuration (per-lcore)

Field Documentation

void* volatile arg

argument of function

unsigned core_id

core number on socket for this lcore

int core_index

relative index, starting from 0

rte_cpuset_t cpuset

cpu set which the lcore affinity to

unsigned detected

true if lcore was detected

lcore_function_t* volatile f

function to call

int pipe_master2slave[2]

communication pipe with master

int pipe_slave2master[2]

communication pipe with master

volatile int ret

return value of function

unsigned socket_id

physical socket id for this lcore

enum rte_lcore_state_t state

lcore state

pthread_t thread_id

pthread identifier

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