On Wed, Sep 7, 2016 at 4:08 PM, Shreyansh Jain [off-list ref] wrote:
[snip]
quoted hunk ↗ jump to hunk
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index fdeac86..86c9d1a 100644
--- a/lib/librte_ether/rte_ethdev.c
+++ b/lib/librte_ether/rte_ethdev.c
[snip]
quoted hunk ↗ jump to hunk
+ ret = rte_eal_dev_attach(name, args);
+ if (ret < 0)
+ goto err;
+
+ /* no point looking at eth_dev_last_created_port if no port exists */
+ if (!nb_ports) {
+ RTE_LOG(ERR, EAL, "No ports founds for device (%s)\n", name);
No port found ?
--
David Marchand