[dpdk-dev] [PATCH v4 08/12] raw/ioat: add bus driver for device scanning automatically

Thomas Monjalon thomas at monjalon.net
Tue May 4 14:19:34 CEST 2021


04/05/2021 14:07, Bruce Richardson:
> On Mon, May 03, 2021 at 11:32:04PM +0200, Thomas Monjalon wrote:
> > 30/04/2021 17:06, Bruce Richardson:
> > You may want to allow iterating devices of the bus
> > by implementing .dev_iterate callback.
> 
> I was wondering about that. What is the expected use-case in general for
> such iteration?

Simple things like listing devices.
You can check git grep RTE_DEV_FOREACH for the first usages.
This callback can be implemented in next release, no rush.





More information about the dev mailing list