DPDK
18.05.1
|
#include <rte_eal_memconfig.h>
Data Fields | |
volatile uint32_t | magic |
uint32_t | nchannel |
uint32_t | nrank |
rte_rwlock_t | mlock |
rte_rwlock_t | qlock |
rte_rwlock_t | mplock |
rte_rwlock_t | memory_hotplug_lock |
struct rte_fbarray | memzones |
struct rte_memseg_list | memsegs [RTE_MAX_MEMSEG_LISTS] |
struct rte_tailq_head | tailq_head [RTE_MAX_TAILQ] |
the structure for the memory configuration for the RTE. Used by the rte_config structure. It is separated out, as for multi-process support, the memory details should be shared across instances
Definition at line 44 of file rte_eal_memconfig.h.
volatile uint32_t magic |
Magic number - Sanity check.
Definition at line 45 of file rte_eal_memconfig.h.
uint32_t nchannel |
Number of channels (0 if unknown).
Definition at line 48 of file rte_eal_memconfig.h.
uint32_t nrank |
Number of ranks (0 if unknown).
Definition at line 49 of file rte_eal_memconfig.h.
rte_rwlock_t mlock |
current lock nest order
Definition at line 58 of file rte_eal_memconfig.h.
rte_rwlock_t qlock |
used for tailq operation for thread safe.
Definition at line 59 of file rte_eal_memconfig.h.
rte_rwlock_t mplock |
only used by mempool LIB for thread-safe.
Definition at line 60 of file rte_eal_memconfig.h.
rte_rwlock_t memory_hotplug_lock |
indicates whether memory hotplug request is in progress.
Definition at line 63 of file rte_eal_memconfig.h.
struct rte_fbarray memzones |
Memzone descriptors.
Definition at line 66 of file rte_eal_memconfig.h.
struct rte_memseg_list memsegs[RTE_MAX_MEMSEG_LISTS] |
list of dynamic arrays holding memsegs
Definition at line 68 of file rte_eal_memconfig.h.
struct rte_tailq_head tailq_head[RTE_MAX_TAILQ] |
Tailqs for objects
Definition at line 71 of file rte_eal_memconfig.h.