E_INIT directly as they have custom initialization
> steps.
Afaics, we are missing some DRIVER_EXPORT_NAME for those.
> - VDEV devices are not modified - they continue to use PMD_REGISTER_DRIVER.
>
> Signed-off-by: David Marchand
> Signed-off-by: Shreyansh Jain
--
David Marchand
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
R_REGISTER_.*(.*)" then I added a DRIVER_EXPORT_NAME(nm,
__COUNTER__) in the vdev register macro, it looks to work fine.
pmdinfo is a bit too pci but I think we can go with this.
- the names should go to rte_device/rte_driver objects ?
--
David Marchand
r, this looks good to me.
Btw, I remember some issues with binding ixgbevf devices to
uio_pci_generic, so advertising should be carefully checked for each
driver.
Could drivers maintainers have a look at this ?
--
David Marchand
Sorry dropped the ml.
On Fri, Sep 16, 2016 at 4:21 PM, David Marchand
wrote:
> Commenting in the cover letter because these are details and it is
> easier to track down what is missing before push for Thomas.
>
>
>> driver: init/uninit common wrappers for PCI drivers
>
&g
robe_one_driver() so that dev->driver is only set when
the probe function from the driver did succeed.
--
David Marchand
On Thu, Oct 27, 2016 at 3:28 PM, David Marchand
wrote:
> On Tue, Oct 25, 2016 at 11:50 PM, Ben Walker
> wrote:
>> If the user asks to probe multiple times, the probe
>> callback should only be called on devices that don't have
>> a driver already loaded.
>>
701 - 707 of 707 matches
Mail list logo