|
DPDK
20.02.1
|
#include <rte_mempool.h>Go to the source code of this file.
Functions | |
| uint16_t | rte_dpaa2_mbuf_pool_bpid (struct rte_mempool *mp) |
| struct rte_mbuf * | rte_dpaa2_mbuf_from_buf_addr (struct rte_mempool *mp, void *buf_addr) |
NXP specific mempool related functions.
Definition in file rte_dpaa2_mempool.h.
| uint16_t rte_dpaa2_mbuf_pool_bpid | ( | struct rte_mempool * | mp | ) |
Get BPID corresponding to the packet pool
| mp | memory pool |
| struct rte_mbuf* rte_dpaa2_mbuf_from_buf_addr | ( | struct rte_mempool * | mp, |
| void * | buf_addr | ||
| ) |
Get MBUF from the corresponding 'buf_addr'
| mp | memory pool |
| buf_addr | The 'buf_addr' of the mbuf. This is the start buffer address of the packet buffer (mbuf). |
1.8.9.1