numam-dpdk/lib/librte_mbuf
Dan Gora f5f45caeb0 mbuf: add accessor function for private data area
Add an inline accessor function to return the starting address of
the private data area in the supplied mbuf.

This allows applications to easily access the private data area between
the struct rte_mbuf and the data buffer in the specified mbuf without
creating private macros or accessor functions.

No checks are made to ensure that a private data area actually exists
in the buffer.

Signed-off-by: Dan Gora <dg@adax.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2018-07-13 23:08:15 +02:00
..
Makefile mbuf: remove control mbuf 2018-04-11 23:40:40 +02:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_mbuf_pool_ops.c mbuf: fix truncated strncpy 2018-04-04 17:34:20 +02:00
rte_mbuf_pool_ops.h add experimental tag to appropriate functions 2018-01-29 23:35:29 +01:00
rte_mbuf_ptype.c ethdev: introduce tunnel type MPLS-in-GRE and MPLS-in-UDP 2018-04-27 18:00:55 +01:00
rte_mbuf_ptype.h mbuf: fix typo in IPv6 macro comment 2018-06-15 18:03:33 +02:00
rte_mbuf_version.map lib: clear experimental version tag in linker scripts 2018-05-14 03:37:28 +02:00
rte_mbuf.c ethdev: introduce new tunnel VXLAN-GPE 2018-04-27 18:00:55 +01:00
rte_mbuf.h mbuf: add accessor function for private data area 2018-07-13 23:08:15 +02:00