09/10/2018 15:34, Thomas Monjalon:
> +int __rte_experimental
> +rte_eth_iterator_init(struct rte_dev_iterator *iter, const char *devargs_str)
> +{
> + int ret;
> + struct rte_devargs devargs = {.args = NULL};
> + const char *bus_param_key;
> + char *bus_str = NULL;
> +
The iterator will return the ethdev port ids matching a devargs string.
It is recommended to use the macro RTE_ETH_FOREACH_MATCHING_DEV()
for usage convenience.
The class string is prefixed with '+' in order to skip the validation
of the parameter keys. It is tolerated for the compatibility with
t
2 matches
Mail list logo