[dpdk-dev] [PATCH v9 13/25] ethdev: convert to eal hotplug

Shreyansh Jain shreyansh.jain at nxp.com
Thu Sep 15 09:29:29 CEST 2016


On Monday 12 September 2016 12:46 PM, David Marchand wrote:
> 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 ?

Yes, that will be corrected in next version. Thanks.

>
>


--
Shreyansh


More information about the dev mailing list