DPDK  18.05.1
Data Fields
rte_config Struct Reference

#include <rte_eal.h>

Data Fields

uint32_t master_lcore
uint32_t lcore_count
uint32_t numa_node_count
uint32_t numa_nodes [RTE_MAX_NUMA_NODES]
uint32_t service_lcore_count
enum rte_lcore_role_t lcore_role [RTE_MAX_LCORE]
enum rte_proc_type_t process_type
enum rte_iova_mode iova_mode
struct rte_mem_configmem_config

Detailed Description

The global RTE configuration structure.

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

Definition at line 57 of file rte_eal.h.

Field Documentation

uint32_t master_lcore

Id of the master lcore

Examples:
examples/qos_sched/args.c.

Definition at line 58 of file rte_eal.h.

uint32_t lcore_count

Number of available logical cores.

Examples:
examples/multi_process/symmetric_mp/main.c.

Definition at line 59 of file rte_eal.h.

uint32_t numa_node_count

Number of detected NUMA nodes.

Definition at line 60 of file rte_eal.h.

uint32_t numa_nodes[RTE_MAX_NUMA_NODES]

List of detected NUMA nodes.

Definition at line 61 of file rte_eal.h.

uint32_t service_lcore_count

Number of available service cores.

Definition at line 62 of file rte_eal.h.

enum rte_lcore_role_t lcore_role[RTE_MAX_LCORE]

State of cores.

Examples:
examples/qos_sched/args.c.

Definition at line 63 of file rte_eal.h.

enum rte_proc_type_t process_type

Primary or secondary configuration

Examples:
examples/multi_process/l2fwd_fork/flib.c.

Definition at line 66 of file rte_eal.h.

enum rte_iova_mode iova_mode

PA or VA mapping mode

Definition at line 69 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 75 of file rte_eal.h.


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