app/testpmd: fix commands for some offloads
authorWei Dai <wei.dai@intel.com>
Fri, 3 Aug 2018 12:55:32 +0000 (20:55 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 5 Aug 2018 10:42:24 +0000 (12:42 +0200)
commite3386f9a512332718b3715ba71436235c589589b
treef220c7c33e2a4806aa9edca7531e16f25bcca43d
parent8d9d4c2428be440a1a0b1fa8de114b33e55fd5b9
app/testpmd: fix commands for some offloads

Without this patch, testpmd command to config Rx offload keep_crc
would fail and report "Bad argument".
This patch also fix the command to config the Tx offload mbuf_fast_free.

Fixes: 70815c9ecadd ("ethdev: add new offload flag to keep CRC")
Fixes: c73a9071877a ("app/testpmd: add commands to test new offload API")
Cc: stable@dpdk.org
Signed-off-by: Wei Dai <wei.dai@intel.com>
Tested-by: Yuan Peng <yuan.peng@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/cmdline.c
doc/guides/testpmd_app_ug/testpmd_funcs.rst