app/testpmd: print RSS hash update error
authorSlawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Wed, 15 Jun 2016 10:33:42 +0000 (12:33 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 14:46:38 +0000 (16:46 +0200)
commit6efad95f155a8020ffd90321864dd3067fff9e85
tree7bf961f3e3b035fc08ae269000c4829f1c52d5ea
parent933617d87eed576b3626b92882bb178a0d0494f9
app/testpmd: print RSS hash update error

Calling rte_eth_dev_rss_hash_update without checking return value.
Fixed by handle return value and print out error status.

Coverity issue: 119251
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/cmdline.c