app/testpmd: update port list for multiple removals
authorWisam Jaddo <wisamm@mellanox.com>
Fri, 19 Oct 2018 02:07:52 +0000 (04:07 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:05 +0000 (22:14 +0200)
commitce6959bf793c9e333098f7620cd2427008de0d5f
treebfa4ae5b10030289146420bf0d6f696f616b214b
parent22aeda000ca97da76152a2652a530b5c8dd66395
app/testpmd: update port list for multiple removals

When detaching a port, the full rte_device is removed.
If the rte_device was hosting several ports,
the testpmd list of ports must be updated for multiple removals.

Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/testpmd.c