Skip to content

Commit

Permalink
net/i40e: fix queue number check
Browse files Browse the repository at this point in the history
[ upstream commit f5c7629 ]

Remove invalid queue number check which cause unexpected error return.

Fixes: ac8d22d ("ethdev: flatten RSS configuration in flow API")

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>
  • Loading branch information
zhaowei413 authored and kevintraynor committed May 8, 2019
1 parent 6361633 commit b8d8a5a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/i40e/i40e_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -12701,9 +12701,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.
*/
Expand Down

0 comments on commit b8d8a5a

Please sign in to comment.