[dpdk-dev] [PATCH] ethdev: fix iterator default behaviour for representors
Thomas Monjalon
thomas at monjalon.net
Wed Oct 24 15:19:45 CEST 2018
24/10/2018 15:13, Thomas Monjalon:
> The iterator was matching all representors if it was not specified
> in the devargs string. It was a wrong default behaviour.
>
> If there is no representor parameter in the devargs, the iterator
> should not match any representor port.
>
> The implementation of the default behaviour would be simpler
> if a "no match" handler is added to rte_kvargs_process().
> As it requires an API breakage, it will be reworked later.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
It is fixing the commit "support representor id as iterator filter"
which is in dpdk-next-net tree.
I think we should not squash them. It is fine to have both patches
separated with a clear explanation.
When the first commit will be in mainline, we could add a Fixes: tag
to this patch.
More information about the dev
mailing list