test/mbuf: check pinned external buffer
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Thu, 6 Feb 2020 09:49:20 +0000 (09:49 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 6 Feb 2020 15:17:14 +0000 (16:17 +0100)
commit5d3e7176ee49efdb81a607a9c13dcfd5c2757de1
treeac46d8322f84dcfbbf6cec3c26aad0bd5620bbb5
parent545fa736b94bc4381bc9ddf4019184e8f8a9516a
test/mbuf: check pinned external buffer

This patch adds unit test for the mbufs allocated from
the special pool with pinned external data buffers.

The pinned buffer mbufs are tested in the same way as
regular ones with taking into account some specifics
of cloning/attaching.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_mbuf.c