Re: [PATCH v3] bus: fix device iterator match from arguments

2021-11-24 Thread Olivier Matz
On Wed, Nov 24, 2021 at 11:43:29AM +, Xueming(Steven) Li wrote: > On Wed, 2021-11-24 at 19:30 +0800, Xueming Li wrote: > > On Wed, 2021-11-24 at 12:02 +0100, Olivier Matz wrote: > > > From: Xueming Li > > > > > > Device iterator RTE_DEV_FOREACH() failed to return devices from > > > classifier

Re: [PATCH v3] bus: fix device iterator match from arguments

2021-11-24 Thread Xueming(Steven) Li
On Wed, 2021-11-24 at 19:30 +0800, Xueming Li wrote: > On Wed, 2021-11-24 at 12:02 +0100, Olivier Matz wrote: > > From: Xueming Li > > > > Device iterator RTE_DEV_FOREACH() failed to return devices from > > classifier like "class=vdpa", because matching name from empty kvargs > > returns no resul

Re: [PATCH v3] bus: fix device iterator match from arguments

2021-11-24 Thread Xueming(Steven) Li
On Wed, 2021-11-24 at 12:02 +0100, Olivier Matz wrote: > From: Xueming Li > > 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

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

2021-11-24 Thread Olivier Matz
From: Xueming Li 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 wi