From: Wei Zhao Date: Sun, 28 Apr 2019 06:13:18 +0000 (+0800) Subject: net/i40e: fix queue number check X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f5c76298b4ea90fc7a2b9cd1b2a5d05036e7cc92;p=dpdk.git 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 Tested-by: Qimai Xiao Acked-by: Qi Zhang --- diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 301193492a..62865c5fd9 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. */