app/testpmd: fix port detaching with virtio
authorBernard Iremonger <bernard.iremonger@intel.com>
Wed, 15 Jul 2015 13:51:05 +0000 (14:51 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 19 Jul 2015 20:24:42 +0000 (22:24 +0200)
commit20718201c81c0db3c06e9a5040c9a85f145c4647
tree48394bd53a7d5b03989df05f592501d92adc12ad
parent941d64b5bfa6cc360e7ad9442a17dde13e00e1d0
app/testpmd: fix port detaching with virtio

At this point the stop() and close() functions have already been called.
The rte_eth_promiscuous_disable() function does not return on the VM.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
app/test-pmd/testpmd.c