This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

vlib_c66x_3_3_0_0: What's the difference between VLIB_malloc and malloc?

Hi,

Customer found below info in VLIB_memory.h:

/* Following should be called to allocate buffers passed to VLIB functions  * for each test vector */
void *VLIB_memalign(size_t alignment, size_t size);
void *VLIB_malloc(size_t size);

Must customer use VLIB_malloc? What's the difference between VLIB_malloc and malloc? I found in some vlib example, malloc is used after VLIB_memalign call.