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:
parent
1b8287b622
commit
55bde0b880
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user