app/testpmd: fix hex string parser support for flow API
authorWei Zhao <wei.zhao1@intel.com>
Tue, 9 Apr 2019 08:41:31 +0000 (16:41 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 12 Apr 2019 09:02:02 +0000 (11:02 +0200)
commit169a9fed1f4cbca7e432fdc9ad1d44922ad783f6
tree9833deda1472be3d5a1e057cfc2028d2b583fd34
parent37b07be28a3fcdde2724cc467bdb3c82bf35deef
app/testpmd: fix hex string parser support for flow API

There is need for users to set configuration of HEX number for RSS
key. The key byte should be pass down as hex number not as char
string. This patch enable cmdline flow parse HEX number,
in order to not using string which pass ASIC number.

Fixes: f4d623f96119 ("app/testpmd: fix missing RSS fields in flow action")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Tested-by: Yuan Peng <yuan.peng@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline_flow.c