test: release ring resources after PMD perf test
authorPhil Yang <phil.yang@arm.com>
Fri, 19 Oct 2018 11:00:38 +0000 (19:00 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 18 Nov 2018 22:23:22 +0000 (23:23 +0100)
commitbc44d448479846966f7aedb90fefe2fa5bd20d2e
tree42ebc0b8a8e78a581d4ea4cc10382eb6f527349b
parentf88bb9a674c74adac91b58ab2253b1752b34c8ac
test: release ring resources after PMD perf test

Need to release the port and the ring resources after test. Otherwise,
it will cause failure to allocate memory when reentry the test.

Fixes: ea764af ("app/test: add performance test for ring driver")
Cc: stable@dpdk.org
Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
test/test/test_pmd_ring_perf.c