From f5c76298b4ea90fc7a2b9cd1b2a5d05036e7cc92 Mon Sep 17 00:00:00 2001 From: Wei Zhao Date: Sun, 28 Apr 2019 14:13:18 +0800 Subject: [PATCH] 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 --- drivers/net/i40e/i40e_ethdev.c | 3 --- 1 file changed, 3 deletions(-) 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. */ -- 2.20.1