[dpdk-dev] [PATCH v7 6/9] ethdev: add common devargs parser
Remy Horton
remy.horton at intel.com
Wed Apr 25 11:40:18 CEST 2018
On 24/04/2018 20:53, Thomas Monjalon wrote:
[..]
> But I would like to review the devargs you are standardizing.
> Unfortunately, I cannot find a documentation about it.
> How users are supposed to use it?
> Can you, at least, describe the syntax in the commit log, please?
The patch follows this pseudo-BNF:
cfg := pair (',' pair)*
pair := (key '=' value)
key := 'port' | 'representor'
value := range | list
range := int ('-' int)?
int := [0-9]+
list := '[' range (',' range)* ']'
More information about the dev
mailing list