net/i40e: fix flow RSS queue index check
authorWei Zhao <wei.zhao1@intel.com>
Wed, 4 Apr 2018 08:06:03 +0000 (16:06 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commit9486d60b94b58932c6da1163df2118549fa57224
treef9f34af3b45afb0a2b4165cd13d1031eb7cfdf0b
parent55bde0b880820104a410bbb324a982f59b59d25a
net/i40e: fix flow RSS queue index check

There need a queue index check for RSS queue region
in order to aviod error from configuration.

Fixes: ecad87d22383 ("net/i40e: 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/i40e/i40e_flow.c