mbuf: add functions to dump packet type
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 3 Oct 2016 08:38:54 +0000 (10:38 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 11 Oct 2016 16:22:36 +0000 (18:22 +0200)
commit288541c8ff9eecccdb173a9b07a9aa6849d804f0
treef71eac190ef052e9b6bb08efdfc2d78e66ac9ca7
parent873dd1e68d7cfd2f0e5140b8af4f5e0b6007d4db
mbuf: add functions to dump packet type

Dumping the packet type is useful for debug purposes. Instead
of having each application providing its function to do that,
introduce functions to do it.

It factorizes the code and reduces the risk of desynchronization between
the new packet types and the dump function.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
doc/guides/rel_notes/release_16_11.rst
lib/librte_mbuf/Makefile
lib/librte_mbuf/rte_mbuf_ptype.c [new file with mode: 0644]
lib/librte_mbuf/rte_mbuf_ptype.h
lib/librte_mbuf/rte_mbuf_version.map