Thomas Monjalon c8743d5f15 app/testpmd: add port check before manual detach
User may try to run "port detach <port_id>"
for an already detached device.
It has been decided to protect from such usage in testpmd,
so a check was added to detach_port_device() in DPDK 19.11.
This check might be removed to allow hotplug path detaching
the device of a closed port.
Whatever will be decided in future, this check is also added
before the call to detach_port_device().

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-02-14 12:42:13 +01:00
..
2019-04-11 14:27:32 +02:00
2019-04-11 14:27:32 +02:00
2020-02-14 12:42:12 +01:00
2019-11-20 17:36:06 +01:00
2020-02-13 18:47:28 +01:00
2020-02-05 14:37:41 +01:00
2019-05-24 13:34:46 +02:00
2020-02-13 18:47:28 +01:00
2020-02-05 14:37:41 +01:00
2020-02-14 12:42:12 +01:00
2020-02-13 18:47:28 +01:00