i40e: allow one more vector for VFs
authorMitch Williams <mitch.a.williams@intel.com>
Sat, 16 Nov 2013 10:00:38 +0000 (10:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Dec 2013 07:12:59 +0000 (23:12 -0800)
commit54692b403c7a1353f7b851efd69bdfe91966c1d9
treed87fa846d8820ae19be87ca6f6978f6e80bdbf0c
parentfe31070444268e7b70279bd4a1403625820793b0
i40e: allow one more vector for VFs

The number of vectors per VF as reported by the hardware does not
include vector 0, so we need to account for this when checking to
see if the VF is configuring a valid vector.

Change-Id: I051d8bebae8f4722239f5a3fa5e1de4cf0f4e817
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c