|
| STATIC_ASSERT (VLIB_BUFFER_PRE_DATA_SIZE==RTE_PKTMBUF_HEADROOM,"VLIB_BUFFER_PRE_DATA_SIZE must be equal to RTE_PKTMBUF_HEADROOM") |
|
static_always_inline void | dpdk_rte_pktmbuf_free (vlib_main_t *vm, u32 thread_index, vlib_buffer_t *b) |
|
static void | del_free_list (vlib_main_t *vm, vlib_buffer_free_list_t *f) |
|
static void | dpdk_buffer_delete_free_list (vlib_main_t *vm, vlib_buffer_free_list_index_t free_list_index) |
|
uword CLIB_MULTIARCH_FN() | dpdk_buffer_fill_free_list (vlib_main_t *vm, vlib_buffer_free_list_t *fl, uword min_free_buffers) |
|
static_always_inline void | dpdk_prefetch_buffer_by_index (vlib_main_t *vm, u32 bi) |
|
static_always_inline void | recycle_or_free (vlib_main_t *vm, vlib_buffer_main_t *bm, u32 bi, vlib_buffer_t *b) |
|
static_always_inline void | vlib_buffer_free_inline (vlib_main_t *vm, u32 *buffers, u32 n_buffers, u32 follow_buffer_next) |
|
void CLIB_MULTIARCH_FN() | dpdk_buffer_free (vlib_main_t *vm, u32 *buffers, u32 n_buffers) |
|
void CLIB_MULTIARCH_FN() | dpdk_buffer_free_no_next (vlib_main_t *vm, u32 *buffers, u32 n_buffers) |
|
static void | dpdk_packet_template_init (vlib_main_t *vm, void *vt, void *packet_data, uword n_packet_data_bytes, uword min_n_buffers_each_alloc, u8 *name) |
|
static clib_error_t * | scan_vfio_fd (void *arg, u8 *path_name, u8 *file_name) |
|
clib_error_t * | dpdk_pool_create (vlib_main_t *vm, u8 *pool_name, u32 elt_size, u32 num_elts, u32 pool_priv_size, u16 cache_size, u8 numa, struct rte_mempool **_mp, vlib_physmem_region_index_t *pri) |
|
clib_error_t * | dpdk_buffer_pool_create (vlib_main_t *vm, unsigned num_mbufs, unsigned socket_id) |
|
static clib_error_t * | buffer_state_validation_init (vlib_main_t *vm) |
|
static clib_error_t * | dpdk_buffer_init (vlib_main_t *vm) |
|
| VLIB_BUFFER_REGISTER_CALLBACKS (dpdk, static) |
|
static void __clib_constructor | dpdk_input_multiarch_select (void) |
|
Allocate/free network buffers.
Definition in file buffer.c.