Go to the source code of this file.
Detailed Description
NXP specific mempool related functions.
Definition in file rte_dpaa2_mempool.h.
Function Documentation
uint16_t rte_dpaa2_mbuf_pool_bpid |
( |
struct rte_mempool * |
mp | ) |
|
Get BPID corresponding to the packet pool
- Parameters
-
- Returns
- BPID of the buffer pool
Get MBUF from the corresponding 'buf_addr'
- Parameters
-
mp | memory pool |
buf_addr | The 'buf_addr' of the mbuf. This is the start buffer address of the packet buffer (mbuf). |
- Returns
- MBUF pointer for success
- NULL in case of error