FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
buffer.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define rte_mbuf_from_vlib_buffer(x)   (((struct rte_mbuf *)x) - 1)
 
#define vlib_buffer_from_rte_mbuf(x)   ((vlib_buffer_t *)(x+1))
 

Functions

clib_error_tdpdk_buffer_pools_create (vlib_main_t *vm)
 

Variables

struct rte_mempool ** dpdk_mempool_by_buffer_pool_index
 
struct rte_mempool ** dpdk_no_cache_mempool_by_buffer_pool_index
 

Macro Definition Documentation

#define rte_mbuf_from_vlib_buffer (   x)    (((struct rte_mbuf *)x) - 1)

Definition at line 19 of file buffer.h.

#define vlib_buffer_from_rte_mbuf (   x)    ((vlib_buffer_t *)(x+1))

Definition at line 20 of file buffer.h.

Function Documentation

clib_error_t* dpdk_buffer_pools_create ( vlib_main_t vm)

Definition at line 369 of file buffer.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

struct rte_mempool** dpdk_mempool_by_buffer_pool_index

Definition at line 31 of file buffer.c.

struct rte_mempool** dpdk_no_cache_mempool_by_buffer_pool_index

Definition at line 32 of file buffer.c.