net/ixgbe: fix RSS flow error return
authorWei Zhao <wei.zhao1@intel.com>
Tue, 23 Oct 2018 03:38:10 +0000 (11:38 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:06 +0000 (22:14 +0200)
commit6e8110cca64f69814ccb493efb5471f6e948ba44
tree8703ff1e60d8bc61b5d24c05dc0e5a96da6efaa6
parente0e6a7f2154ee5ecd7c80a876d323118408369b9
net/ixgbe: fix RSS flow error return

If hash function is 0, it should disable RSS then return 0.

Fixes: 518cc3927b13 ("net/ixgbe: move RSS to flow API")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Tested-by: Yuan Peng <yuan.peng@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_rxtx.c