test/mbuf: add unit test cases
authorLavanya Govindarajan <lavanyax.govindarajan@intel.com>
Fri, 30 Aug 2019 14:13:14 +0000 (15:13 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 24 Oct 2019 07:01:40 +0000 (09:01 +0200)
commit7b295dceea07680a3499469289dc80bbb44e4958
tree3d9f97051d2fd5697910ff47f6797172b0326025
parent824b67c24fdb1097ff7117bb601eefbbe2335935
test/mbuf: add unit test cases

Added new unit test cases to cover the below functions:
- rte_validate_tx_offload,
- rte_pktmbuf_alloc_bulk,
- rte_pktmbuf_read,
- rte_pktmbuf_ext_shinfo_init_helper,
- rte_pktmbuf_attach_extbuf,
- rte_mbuf_ext_refcnt_read,
- rte_mbuf_ext_refcnt_update,
- rte_mbuf_ext_refcnt_set,
- rte_pktmbuf_detach_extbuf

Signed-off-by: Lavanya Govindarajan <lavanyax.govindarajan@intel.com>
Reviewed-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_mbuf.c