app/testeventdev: add string parsing helpers
authorGuduri Prathyusha <gprathyusha@caviumnetworks.com>
Tue, 4 Jul 2017 04:52:59 +0000 (10:22 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 7 Jul 2017 07:31:19 +0000 (09:31 +0200)
commit89e5eb118017824028fbffc581acabc6113aa742
treeda016ab38661bcd92ecf63325e26ca265f4f0a3f
parentccda04998acbdb57111a8305e9933ee5f5a82d29
app/testeventdev: add string parsing helpers

Add a couple of help functions that will allow parsing many types of
input parameters, i.e.: bool, 16, 32, 64 bits, hex and list of cores etc.

Derived from examples/ip_pipeline/parser.h

Signed-off-by: Guduri Prathyusha <gprathyusha@caviumnetworks.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
app/test-eventdev/Makefile
app/test-eventdev/parser.c [new file with mode: 0644]
app/test-eventdev/parser.h [new file with mode: 0644]