DPDK  2.1.0
Data Fields
rte_mempool Struct Reference

#include <rte_mempool.h>

Data Fields

char name [RTE_MEMPOOL_NAMESIZE]
struct rte_ringring
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]

Detailed Description

The RTE mempool structure.

Definition at line 181 of file rte_mempool.h.

Field Documentation

Name of mempool.

Definition at line 182 of file rte_mempool.h.

struct rte_ring* ring

Ring to store objects.

Definition at line 183 of file rte_mempool.h.

phys_addr_t phys_addr

Phys. addr. of mempool struct.

Definition at line 184 of file rte_mempool.h.

int flags

Flags of the mempool.

Definition at line 185 of file rte_mempool.h.

uint32_t size

Size of the mempool.

Definition at line 186 of file rte_mempool.h.

uint32_t cache_size

Size of per-lcore local cache.

Definition at line 187 of file rte_mempool.h.

uint32_t cache_flushthresh

Threshold before we flush excess elements.

Definition at line 189 of file rte_mempool.h.

uint32_t elt_size

Size of an element.

Definition at line 191 of file rte_mempool.h.

uint32_t header_size

Size of header (before elt).

Definition at line 192 of file rte_mempool.h.

uint32_t trailer_size

Size of trailer (after elt).

Definition at line 193 of file rte_mempool.h.

unsigned private_data_size

Size of private data.

Definition at line 195 of file rte_mempool.h.

uint32_t pg_num __rte_cache_aligned

Number of elements in the elt_pa array.

Definition at line 210 of file rte_mempool.h.

uint32_t pg_shift

LOG2 of the physical pages.

Definition at line 211 of file rte_mempool.h.

uintptr_t pg_mask

physical page mask value.

Definition at line 212 of file rte_mempool.h.

uintptr_t elt_va_start

Virtual address of the first mempool object.

Definition at line 214 of file rte_mempool.h.

uintptr_t elt_va_end

Virtual address of the <size + 1> mempool object.

Definition at line 216 of file rte_mempool.h.

Array of physical page addresses for the mempool objects buffer.

Definition at line 218 of file rte_mempool.h.


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