[dpdk-dev] [PATCH v2 05/11] ethdev: add probing finish function

Thomas Monjalon thomas at monjalon.net
Thu May 10 12:54:57 CEST 2018


10/05/2018 12:37, Andrew Rybchenko:
> On 05/10/2018 01:43 AM, Thomas Monjalon wrote:
> > A new hook function is added and called inside the PMDs at the end
> > of the device probing:
> > 	- in primary process, after allocating, init and config
> > 	- in secondary process, after attaching and local init
> >
> > This new function is almost empty for now.
> > It will be used later to add some post-initialization processing.
> >
> > For the PMDs calling the helpers rte_eth_dev_create() or
> > rte_eth_dev_pci_generic_probe(), the hook rte_eth_dev_probing_finish()
> > is called from here, and not in the PMD itself.
> >
> > Note that the helper rte_eth_dev_create() could be used more,
> > especially for vdevs, avoiding some code duplication in PMDs.
> >
> > Cc: stable at dpdk.org
> 
> Why Cc?

Because other fixes in the series depend on this patch.





More information about the dev mailing list