XLIO initialization attributes.
More...
#include <xlio_types.h>
|
|
unsigned | flags |
| |
|
xlio_memory_cb_t | memory_cb |
| |
|
void *(* | memory_alloc )(size_t) |
| |
|
void(* | memory_free )(void *) |
| |
XLIO initialization attributes.
Structure containing parameters for XLIO initialization with xlio_init_ex().
- Memory Management:
- memory_cb: Called when XLIO allocates memory regions for RX buffers
- memory_alloc/memory_free: Optional external allocator functions
- External Allocator Notes:
- When external allocator is provided, XLIO uses it instead of internal allocation
- Current implementation allocates a single memory block during xlio_init_ex()
- For external allocators, hugepage_size in memory_cb is always reported as zero
- Structure Members:
- unsigned flags: Initialization flags (reserved for future use)
- xlio_memory_cb_t memory_cb: Memory allocation notification callback
- void *(*memory_alloc)(size_t): Optional external memory allocator function
- void (*memory_free)(void *): Optional external memory deallocator function
The documentation for this struct was generated from the following file: