numam-dpdk/lib/librte_ethdev
Thomas Monjalon a52aa40b41 ethdev: simplify port state comparisons
There are three states for an ethdev port.
Checking that the port is unused looks simpler than
checking it is neither attached nor removed.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Tested-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-04-05 17:45:22 +02:00
..
2018-12-20 19:00:10 +01:00
2018-04-27 18:01:00 +01:00
2018-12-20 19:00:10 +01:00