summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Zhao <wei.zhao1@intel.com>2019-04-28 14:13:18 +0800
committerQi Zhang <qi.z.zhang@intel.com>2019-04-29 19:58:33 +0800
commit8f347e50f33bcd90da46ce38c4cb5974c1e1b73d (patch)
treea0a86b4a2083613c06759e1361993c13d131817f
parentbff23a15504e1d7d0fc98dccd33db407cf156ea8 (diff)
downloaddpdk-next-net-intel-8f347e50f33bcd90da46ce38c4cb5974c1e1b73d.zip
dpdk-next-net-intel-8f347e50f33bcd90da46ce38c4cb5974c1e1b73d.tar.gz
dpdk-next-net-intel-8f347e50f33bcd90da46ce38c4cb5974c1e1b73d.tar.xz
net/i40e: fix queue number check
Remove invalid queue number check which cause unexpected error return. Fixes: ac8d22de2394 ("ethdev: flatten RSS configuration in flow API") Cc: stable@dpdk.org Signed-off-by: Wei Zhao <wei.zhao1@intel.com> Tested-by: Qimai Xiao <qimaix.xiao@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
-rw-r--r--drivers/net/i40e/i40e_ethdev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 3011934..62865c5 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -12710,9 +12710,6 @@ i40e_config_rss_filter(struct i40e_pf *pf,
return -EINVAL;
}
- if (rss_info->conf.queue_num)
- return -EINVAL;
-
/* If both VMDQ and RSS enabled, not all of PF queues are configured.
* It's necessary to calculate the actual PF queues that are configured.
*/