[dpdk-dev] [PATCH] test/memzone: fix incorrect result judging criteria

Burakov, Anatoly anatoly.burakov at intel.com
Mon Jan 29 10:49:51 CET 2018


On 29-Jan-18 6:23 AM, Phil Yang wrote:
> While running DTS with ixgbe NIC, dpdk EAL will reserve some
> memzones for the PCI device. So it is incorrect to judging the result by
> only checking whether it has memzone remained.
> 
> Fixed by insert an unique name prefix into each memzone used in this case.
> And verify whether it has used memzone remained at the end.
> 
> Fixes: 71330483a193 ("test/memzone: fix memory leak")
> 
> Signed-off-by: Phil Yang <phil.yang at arm.com>
> ---

Hi Phil,

I think this is a (rough) duplicate of what i've submitted recently:

http://dpdk.org/dev/patchwork/patch/34564/

I believe approach i've taken is a little cleaner and more generic :)

-- 
Thanks,
Anatoly


More information about the dev mailing list