app/test: use accessor to set refcnt field
authorDavid Marchand <david.marchand@6wind.com>
Mon, 18 Aug 2014 11:29:20 +0000 (13:29 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 26 Aug 2014 15:52:33 +0000 (17:52 +0200)
commit74f13ebb914a84a9cd743b58f18755221eb17c5a
tree074cc17cba5d09ab114ef5788f4f2e1e8262445f
parent8738b68a94d3e7541e7e418d20424163d2713ef0
app/test: use accessor to set refcnt field

refcnt field can not be accessed directly as it depends on the RTE_MBUF_REFCNT
build option.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
app/test/test_distributor.c