numam-dpdk/lib/librte_mbuf
Yongseok Koh c277b34c1b mbuf: add function returning buffer address
This patch introduces two new functions - rte_mbuf_buf_addr() and
rte_mbuf_data_addr_default().

rte_mbuf_buf_addr() reutrns the buffer address of given mbuf which comes
after mbuf structure and private data.

rte_mbuf_data_addr_default() returns the default address of mbuf data
taking the headroom into account.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2019-01-15 02:40:40 +01:00
..
Makefile mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
meson.build mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +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 mbuf: add IGMP packet type 2018-10-25 15:51:16 +02:00
rte_mbuf_version.map mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
rte_mbuf.c mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
rte_mbuf.h mbuf: add function returning buffer address 2019-01-15 02:40:40 +01:00