6c8e50c2e5
The dedicated routine rte_pktmbuf_pool_create_extbuf() is provided to create mbuf pool with data buffers located in the pinned external memory. The application provides the external memory description and routine initializes each mbuf with appropriate virtual and physical buffer address. It is entirely application responsibility to register external memory with rte_extmem_register() API, map this memory, etc. The new introduced flag RTE_PKTMBUF_POOL_F_PINNED_EXT_BUF is set in private pool structure, specifying the new special pool type. The allocated mbufs from pool of this kind will have the EXT_ATTACHED_MBUF flag set and initialiazed shared info structure, allowing cloning with regular mbufs (without attached external buffers of any kind). Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com> Acked-by: Olivier Matz <olivier.matz@6wind.com> |
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
rte_mbuf_core.h | ||
rte_mbuf_dyn.c | ||
rte_mbuf_dyn.h | ||
rte_mbuf_pool_ops.c | ||
rte_mbuf_pool_ops.h | ||
rte_mbuf_ptype.c | ||
rte_mbuf_ptype.h | ||
rte_mbuf_version.map | ||
rte_mbuf.c | ||
rte_mbuf.h |