> -Original Message-
> From: Thomas Monjalon
> Sent: Tuesday, April 13, 2021 5:17 AM
> To: Xueming(Steven) Li
> Cc: Gaetan Rivet ; dev@dpdk.org; Asaf Penso
>
> Subject: Re: [dpdk-dev] [PATCH v4 4/5] bus: add device arguments name parsing
> API
>
>
10/04/2021 16:23, Xueming Li:
> + /* Resolve devarg's name. */
s/devarg's name/devargs name/
> + if (bus && bus->devargs_parse)
Please make checks explicits with != NULL
> + ret = bus->devargs_parse(devargs);
> + else if (layers[0].kvlist != NULL)
> + ret = d
For device probe and iterator, devargs name was key information,
parsed by rte_devargs_parse. In legacy parser, devargs name was
extracted after bus name:
bus:name,kv_arguments,,,
Example:
pci:83:00.0,arguments,...
vdev:pcap0,...
To be compatible with legacy parser, this patch introduces new
3 matches
Mail list logo