numam-dpdk/lib/librte_mbuf
Viacheslav Ovsiienko 6c8e50c2e5 mbuf: create pool with external memory buffers
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>
2020-01-20 23:36:38 +01:00
..
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build build: remove individual library versions 2019-11-20 23:05:39 +01:00
rte_mbuf_core.h mbuf: use structure marker from EAL 2020-01-20 21:17:35 +01:00
rte_mbuf_dyn.c mbuf: support dynamic fields and flags 2019-10-26 19:08:50 +02:00
rte_mbuf_dyn.h ethdev: extend flow metadata 2019-11-08 23:15:04 +01:00
rte_mbuf_pool_ops.c mbuf: remove experimental tag from pool ops 2018-07-26 23:37:08 +02:00
rte_mbuf_pool_ops.h mbuf: remove experimental tag from pool ops 2018-07-26 23:37:08 +02:00
rte_mbuf_ptype.c mbuf: add IGMP packet type 2018-10-25 15:51:16 +02:00
rte_mbuf_ptype.h doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
rte_mbuf_version.map mbuf: create pool with external memory buffers 2020-01-20 23:36:38 +01:00
rte_mbuf.c mbuf: create pool with external memory buffers 2020-01-20 23:36:38 +01:00
rte_mbuf.h mbuf: create pool with external memory buffers 2020-01-20 23:36:38 +01:00