[dpdk-dev] [PATCH v2 3/6] ethdev: allow iterating with pure class filter

Andrew Rybchenko arybchenko at solarflare.com
Tue Oct 9 11:40:14 CEST 2018


On 10/9/18 3:16 AM, Thomas Monjalon wrote:
> If no rte_device is given in the iterator,
> eth_dev_match() is looking at all ports without any restriction,
> except the ethdev kvargs filter.
>
> It allows to iterate with a devargs filter referencing only
> some ethdev parameters. The format (from the new devargs syntax) is:
> 	class=eth,paramY=Y
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>

Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>



More information about the dev mailing list