mbuf: add a non fatal sanity check helper
authorDavid Marchand <david.marchand@6wind.com>
Mon, 7 Jan 2019 08:57:11 +0000 (09:57 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 15 Jan 2019 01:40:40 +0000 (02:40 +0100)
commitd4dca8fe437760ff866cf2aa35a612d7a099862b
treef8faf419dcbeec2c02e8e56720be3ec28aa8b038
parentdcd2a33d3c8a9ce845eb4e9e8abac0a39efe0b80
mbuf: add a non fatal sanity check helper

Let's add a little helper that does the same as rte_mbuf_sanity_check but
without the panic.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/Makefile
lib/librte_mbuf/meson.build
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h
lib/librte_mbuf/rte_mbuf_version.map