[dpdk-dev] [PATCH v9 13/25] ethdev: convert to eal hotplug
David Marchand
david.marchand at 6wind.com
Mon Sep 12 09:16:50 CEST 2016
On Wed, Sep 7, 2016 at 4:08 PM, Shreyansh Jain <shreyansh.jain at nxp.com> wrote:
[snip]
> 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
More information about the dev
mailing list