Matan Azrad 43d0e30498 app/testpmd: fix invalid port detaching
The port was not validated before detaching.

Ignore port detach operation when the port is not valid.

Fixes: f8e5baa2662d ("app/testpmd: check not detaching device twice")
Cc: stable@dpdk.org

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2019-11-21 00:18:02 +01:00
..
2019-04-11 14:27:32 +02:00
2019-04-11 14:27:32 +02:00
2019-11-20 17:36:06 +01:00
2019-11-20 17:36:06 +01:00
2019-05-24 13:34:46 +02:00
2019-11-20 17:36:06 +01:00