[dpdk-dev] [PATCH v9 08/25] drivers: convert all pdev drivers as pci drivers

2016-09-12 Thread David Marchand
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

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

2016-09-12 Thread 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

[dpdk-dev] [PATCH v9 00/25] Introducing rte_driver/rte_device generalization

2016-09-12 Thread 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

[dpdk-dev] [PATCH] drivers: advertise kmod dependencies in pmdinfo

2016-09-16 Thread 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

[dpdk-dev] [PATCH v10 00/25] Introducing rte_driver/rte_device generalization

2016-09-16 Thread 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

[dpdk-dev] [PATCH] pci: Don't call probe callback if driver already loaded.

2016-10-27 Thread David Marchand
robe_one_driver() so that dev->driver is only set when the probe function from the driver did succeed. -- David Marchand

[dpdk-dev] [PATCH] pci: Don't call probe callback if driver already loaded.

2016-10-27 Thread 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. >>

<    3   4   5   6   7   8