|
DPDK
2.0.0
|
#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 |
| uint32_t | memzone_idx |
| struct rte_memseg | memseg [RTE_MAX_MEMSEG] |
| struct rte_memzone | memzone [RTE_MAX_MEMZONE] |
| 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
| volatile uint32_t magic |
Magic number - Sanity check.
| struct rte_memseg memseg[RTE_MAX_MEMSEG] |
Physmem descriptors.
| struct rte_memzone memzone[RTE_MAX_MEMZONE] |
Memzone descriptors.
| uint32_t memzone_idx |
Index of memzone
| rte_rwlock_t mlock |
current lock nest order
| rte_rwlock_t mplock |
only used by mempool LIB for thread-safe.
| uint32_t nchannel |
Number of channels (0 if unknown).
| uint32_t nrank |
Number of ranks (0 if unknown).
| rte_rwlock_t qlock |
used for tailq operation for thread safe.
| struct rte_tailq_head tailq_head[RTE_MAX_TAILQ] |
Tailqs for objects
1.8.1.2