app/testpmd: fix displaying RSS hash functions
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Oct 2018 19:24:44 +0000 (20:24 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commit5b4557ec8d16859215fafe9e24d3fb7722f43b8a
tree5d2f19a2c02da74d495f9bcad26d2037a1ef8cab
parentf4841a2606d5a24ddfef2c82ea311aa7cff6eb34
app/testpmd: fix displaying RSS hash functions

Command shouldn't ask RSS hash functions as argument to get supported
RSS hash function, those values will be overwritten by PMD anyway.

To display configured RSS hash functions
"show port (port_id) rss-hash"

To display configured RSS hash functions and hash key
"show port (port_id) rss-hash key"

Fixes: 8205e241b2b0 ("app/testpmd: add missing type to RSS hash commands")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@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