DPDK 26.03.0-rc1
Data Fields
rte_acl_mem_hook Struct Reference

#include <rte_acl.h>

Data Fields

void *(* zalloc )(char *name, size_t size, size_t align, int32_t socket_id, void *udata)
 
void(* free )(void *ptr, void *udata)
 
void * udata
 

Detailed Description

Memory allocation hooks for ACL runtime.

Definition at line 142 of file rte_acl.h.

Field Documentation

◆ zalloc

void *(* zalloc) (char *name, size_t size, size_t align, int32_t socket_id, void *udata)

Allocate zero-initialized memory used during runtime.

Definition at line 144 of file rte_acl.h.

◆ free

void(* free) (void *ptr, void *udata)

Free memory previously allocated by zalloc().

Definition at line 147 of file rte_acl.h.

◆ udata

void* udata

User-provided context passed to allocation/free hooks.

Definition at line 150 of file rte_acl.h.


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