uint16_trte_dpaa2_mbuf_pool_bpid(structrte_mempool*mp)
Get BPID corresponding to the packet pool
Parametersmp memory pool
Returns
BPID of the buffer pool
structrte_mbuf*rte_dpaa2_mbuf_from_buf_addr(structrte_mempool*mp,void*buf_addr)
Get MBUF from the corresponding 'buf_addr'
Parametersmp 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
__rte_internalintrte_dpaa2_bpid_info_init(structrte_mempool*mp)
Initialize the rte_dpaa2_bpid_info In generial, it is called in the secondary process and mp has been
created in the primary process.
Parametersmp memory pool
Returns
• 0 on success.
• (<0) on failure.