| #
926629e3 |
| 24-Nov-2021 |
Xueming Li <[email protected]> |
bus: fix device iterator match from arguments
Device iterator RTE_DEV_FOREACH() failed to return devices from classifier like "class=vdpa", because matching name from empty kvargs returns no result.
bus: fix device iterator match from arguments
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 <[email protected]> Signed-off-by: Olivier Matz <[email protected]> Acked-by: Xueming Li <[email protected]>
show more ...
|