mbuf: introduce routine to get private mbuf pool flags
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Mon, 20 Jan 2020 19:16:22 +0000 (19:16 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 20 Jan 2020 22:30:38 +0000 (23:30 +0100)
commitc621a9b66bd24e363645b68f08b6f3ef7ab430cc
tree8cc912a63e71a3b36a875cbf97876ec862c42fbb
parent3e6181b0703816e1ae4c4c1100a782a9a0d79f91
mbuf: introduce routine to get private mbuf pool flags

The routine rte_pktmbuf_priv_flags is introduced to fetch
the flags from the mbuf memory pool private structure
in unified fashion.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf.h