DPDK  /usr/bin/make-f/build/dpdk-ReMzk1/dpdk-16.11.11/mk/rte.sdkconfig.mkshowversion
Data Fields
rte_config Struct Reference

#include <rte_eal.h>

+ Collaboration diagram for rte_config:

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

◆ master_lcore

uint32_t master_lcore

Id of the master lcore

Examples:
qos_sched/args.c.

Definition at line 81 of file rte_eal.h.

◆ lcore_count

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.

◆ lcore_role

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.

◆ process_type

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.

◆ mem_config

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: