i40e: assign correct vector to VF
authorMitch Williams <mitch.a.williams@intel.com>
Sat, 28 Sep 2013 07:13:18 +0000 (07:13 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Oct 2013 12:33:44 +0000 (05:33 -0700)
commit13c60b99055a9e53543b7df7e4cb7eda3d6e5700
tree5c5575900c65bdf3d2368a1cc85df6803a99f6bf
parent00403f0488e9082a3744376c821ad241cdc47e70
i40e: assign correct vector to VF

Correct math error when assigning MSI-X vectors to VFs. The vectors-per-vf
value reported by the hardware already conveniently reports one less than the
actual value.

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