DPDK  18.02.0
Data Fields
rte_mempool_ops Struct Reference

#include <rte_mempool.h>

Data Fields

char name [RTE_MEMPOOL_OPS_NAMESIZE]
 
rte_mempool_alloc_t alloc
 
rte_mempool_free_t free
 
rte_mempool_enqueue_t enqueue
 
rte_mempool_dequeue_t dequeue
 
rte_mempool_get_count get_count
 
rte_mempool_get_capabilities_t get_capabilities
 
rte_mempool_ops_register_memory_area_t register_memory_area
 

Detailed Description

Structure defining mempool operations structure

Definition at line 403 of file rte_mempool.h.

Field Documentation

◆ name

Name of mempool ops struct.

Definition at line 404 of file rte_mempool.h.

◆ alloc

Allocate private data.

Definition at line 405 of file rte_mempool.h.

◆ free

Free the external pool.

Definition at line 406 of file rte_mempool.h.

◆ enqueue

Enqueue an object.

Definition at line 407 of file rte_mempool.h.

◆ dequeue

Dequeue an object.

Definition at line 408 of file rte_mempool.h.

◆ get_count

Get qty of available objs.

Definition at line 409 of file rte_mempool.h.

◆ get_capabilities

Get the mempool capabilities

Definition at line 413 of file rte_mempool.h.

◆ register_memory_area

Notify new memory area to mempool

Definition at line 417 of file rte_mempool.h.


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