[PATCH v4] bus: fix device iterator match from arguments

David Marchand david.marchand at redhat.com
Wed Nov 24 14:44:48 CET 2021


On Wed, Nov 24, 2021 at 2:00 PM Xueming(Steven) Li <xuemingl at nvidia.com> wrote:
> On Wed, 2021-11-24 at 13:45 +0100, Olivier Matz wrote:
> > From: Xueming Li <xuemingl at nvidia.com>
> >
> > Device iterator RTE_DEV_FOREACH() failed to return devices from
> > classifier like "class=vdpa", because matching name from empty kvargs
> > returns no result. If device name not specified in kvargs, the function
> > should iterate all devices.
> >
> > This patch allows empty devargs or devargs without name specified.
> >
> > Fixes: 6aebb942907d ("kvargs: add function to get from key and value")
> >
> > Signed-off-by: Xueming Li <xuemingl at nvidia.com>
> > Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> Acked-by: Xueming Li <xuemingl at nvidia.com>

Added test_vdev.c in MAINTAINERS vdev bus section.

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list