app/testpmd: fix missing init in RSS hash show command
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Fri, 30 Oct 2015 18:55:14 +0000 (19:55 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 1 Nov 2015 10:23:30 +0000 (11:23 +0100)
commitf2f954a838f35f5103f93ba4b87aad429eaad406
tree1a98845a3ef23a488944beac9b99d625d06fcd27
parent8205e241b2b01c05f2cffe5158c053d614d1f68c
app/testpmd: fix missing init in RSS hash show command

The "show port X rss-hash" command sometimes displays garbage instead of the
expected RSS hash key because the maximum key length is undefined. When the
requested key is too large to fit in the buffer,
rte_eth_dev_rss_hash_conf_get() does not update it.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
app/test-pmd/config.c