kvargs: support multiple lists
authorXueming Li <xuemingl@nvidia.com>
Thu, 11 Mar 2021 13:13:28 +0000 (13:13 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Mar 2021 19:15:29 +0000 (20:15 +0100)
commit9be46b4308a5d5d458b7f60d448893cc65ebb5ae
tree0c33ce879ae3f278b400acd392be3062d33b0864
parentfa4f3fecb9688af1ece6a1c1c544d7758c39ef4e
kvargs: support multiple lists

This patch updates kvargs parser to support value of multiple lists or
ranges:
  k1=v[1,2]v[3-5]

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
app/test/test_kvargs.c
lib/librte_kvargs/rte_kvargs.c