NDN-DPDK
High-Speed Named Data Networking Forwarder
Functions
alloc.c File Reference
#include "alloc.h"

Functions

DiskAllocDiskAlloc_New (uint64_t min, uint64_t max, int numaSocket)
 Create DiskAlloc. More...
 

Function Documentation

◆ DiskAlloc_New()

DiskAlloc* DiskAlloc_New ( uint64_t  min,
uint64_t  max,
int  numaSocket 
)

Create DiskAlloc.

Parameters
mininclusive minimum disk slot number.
maxinclusive maximum disk slot number.
numaSocketwhere to allocate memory.