[dpdk-dev] [PATCH v1 1/3] devargs: support path value for global device arguments

Gaëtan Rivet grive at u256.net
Tue Oct 19 16:57:07 CEST 2021


Hi Steven,

On Tue, Oct 5, 2021, at 17:54, Xueming Li wrote:
> Slash is used to split global device arguments.
>
> To support path value which contains slash, this patch parses devargs by
> locating both slash and layer name key:
>   bus=a,name=/some/path/class=b,k1=v1/driver=c,k2=v2
> "/class=" and "/driver" are valid start of a layer.
>
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>

The code looks good to me, and after executing with the test suite it seems
to behave properly.

Reviewed-by: Gaetan Rivet <grive at u256.net>

-- 
Gaetan Rivet


More information about the dev mailing list