DPDK  16.11.11
Data Fields
rte_config Struct Reference

#include <rte_eal.h>

Data Fields

uint32_t master_lcore
 
uint32_t lcore_count
 
enum rte_lcore_role_t lcore_role [RTE_MAX_LCORE]
 
enum rte_proc_type_t process_type
 
struct rte_mem_configmem_config
 

Detailed Description

The global RTE configuration structure.

Examples:
multi_process/l2fwd_fork/flib.c, and qos_sched/args.c.

Definition at line 80 of file rte_eal.h.

Field Documentation

uint32_t master_lcore

Id of the master lcore

Examples:
qos_sched/args.c.

Definition at line 81 of file rte_eal.h.

uint32_t lcore_count

Number of available logical cores.

Examples:
multi_process/symmetric_mp/main.c.

Definition at line 82 of file rte_eal.h.

enum rte_lcore_role_t lcore_role[RTE_MAX_LCORE]

State of cores.

Examples:
qos_sched/args.c.

Definition at line 83 of file rte_eal.h.

enum rte_proc_type_t process_type

Primary or secondary configuration

Examples:
multi_process/l2fwd_fork/flib.c.

Definition at line 86 of file rte_eal.h.

struct rte_mem_config* mem_config

Pointer to memory configuration, which may be shared across multiple DPDK instances

Definition at line 92 of file rte_eal.h.


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