app/testpmd: add offload capabilities query
authorQiming Yang <qiming.yang@intel.com>
Mon, 16 Jan 2017 02:31:26 +0000 (10:31 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 30 Jan 2017 15:59:14 +0000 (16:59 +0100)
commitd28645c74118e77487c5b8ae25cde04c2b7fede8
tree2c612d83c9f15b8e1edd1af310e5ba0015e76de3
parentaad0c999b31341d246ac2b44ec8ea3664e615f56
app/testpmd: add offload capabilities query

Add two new commands "show port cap <port>" and "show
port cap all" to display what offload capabilities supported
in ports. It will not only display all the capabilities of
the port, but also the enabling condition for each capability
in the running time.

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/testpmd.h
doc/guides/testpmd_app_ug/testpmd_funcs.rst