Thread (373 messages) 373 messages, 15 authors, 2016-10-26

Re: [PATCH v9 13/25] ethdev: convert to eal hotplug

From: David Marchand <hidden>
Date: 2016-09-12 07:17:10

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]
+       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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help