Skip to content
Commit a61f90b2 authored by Grzegorz Szczurek's avatar Grzegorz Szczurek Committed by Greg Kroah-Hartman
Browse files

iavf: Fix for setting queues to 0

[ Upstream commit 9a6e9e48 ]

Now setting combine to 0 will be rejected with the
appropriate error code.
This has been implemented by adding a condition that checks
the value of combine equal to zero.
Without this patch, when the user requested it, no error was
returned and combine was set to the default value for VF.

Fixes: 5520deb1

 ("iavf: Enable support for up to 16 queues")
Signed-off-by: default avatarGrzegorz Szczurek <grzegorzx.szczurek@intel.com>
Tested-by: default avatarTony Brelinski <tony.brelinski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a8a1e601
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment