DPDK
2.0.0
|
#include <rte_mempool.h>
Data Fields | |
char | name [RTE_MEMPOOL_NAMESIZE] |
struct rte_ring * | ring |
phys_addr_t | phys_addr |
int | flags |
uint32_t | size |
uint32_t | cache_size |
uint32_t | cache_flushthresh |
uint32_t | elt_size |
uint32_t | header_size |
uint32_t | trailer_size |
unsigned | private_data_size |
uint32_t pg_num | __rte_cache_aligned |
uint32_t | pg_shift |
uintptr_t | pg_mask |
uintptr_t | elt_va_start |
uintptr_t | elt_va_end |
phys_addr_t | elt_pa [MEMPOOL_PG_NUM_DEFAULT] |
The RTE mempool structure.
uint32_t pg_num __rte_cache_aligned |
Number of elements in the elt_pa array.
uint32_t cache_flushthresh |
Threshold before we flush excess elements.
uint32_t cache_size |
Size of per-lcore local cache.
phys_addr_t elt_pa[MEMPOOL_PG_NUM_DEFAULT] |
Array of physical pages addresses for the mempool objects buffer.
uint32_t elt_size |
Size of an element.
uintptr_t elt_va_end |
Virtual address of the <size + 1> mempool object.
uintptr_t elt_va_start |
Virtual address of the first mempool object.
int flags |
Flags of the mempool.
uint32_t header_size |
Size of header (before elt).
char name[RTE_MEMPOOL_NAMESIZE] |
Name of mempool.
uintptr_t pg_mask |
physical page mask value.
uint32_t pg_shift |
LOG2 of the physical pages.
phys_addr_t phys_addr |
Phys. addr. of mempool struct.
unsigned private_data_size |
Size of private data.
struct rte_ring* ring |
Ring to store objects.
uint32_t size |
Size of the mempool.
uint32_t trailer_size |
Size of trailer (after elt).