Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-dpdk: Remove uneeded call to rte_eth_dev_count().
The call to rte_eth_dev_count() was added as workaround for rte_eth_dev_get_port_by_name() not handling cases when there was no DPDK ports. In versions of DPDK >= 17.02 rte_eth_dev_get_port_by_name() does handle this case (DPDK commit f9ae888). rte_eth_dev_count() is no longer needed so remove it. Acked-by: Ciara Loftus <[email protected]> Signed-off-by: Kevin Traynor <[email protected]> Signed-off-by: Ian Stokes <[email protected]>
- Loading branch information