numam-dpdk/lib/librte_ethdev
Thomas Monjalon 5294b80029 ethdev: avoid explicit check of valid port state
Some port iterations are manually checking against RTE_ETH_DEV_UNUSED
instead of using the iterators based on rte_eth_find_next().

A new macro RTE_ETH_FOREACH_VALID_DEV() is introduced, but kept private
because there should be no need of iterating over all devices in the
API. The public iterators have additional filters for ownership, parent
device or sibling ports.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2019-04-19 14:51:55 +02:00
..
2019-04-19 14:51:54 +02:00
2019-04-11 14:27:32 +02:00
2019-04-11 14:27:32 +02:00
2018-04-27 18:01:00 +01:00
2019-04-11 14:27:32 +02:00