net/i40e: fix flow RSS queue region

Queue region comparison error in configuration parameters.

Fixes: ecad87d223 ("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>
This commit is contained in:
Wei Zhao 2018-04-03 14:09:08 +08:00 committed by Ferruh Yigit
parent 1b8287b622
commit 55bde0b880

View File

@ -4239,7 +4239,7 @@ i40e_flow_parse_rss_action(struct rte_eth_dev *dev,
}
if (rss_info->num < rss->num ||
rss_info->queue[0] < rss->queue[0] ||
rss->queue[0] < rss_info->queue[0] ||
(rss->queue[0] + rss->num >
rss_info->num + rss_info->queue[0])) {
rte_flow_error_set(error, EINVAL,