i40e: scale msix vector use when more cores than vectors
authorShannon Nelson <shannon.nelson@intel.com>
Fri, 17 Oct 2014 03:14:49 +0000 (03:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 3 Nov 2014 11:51:23 +0000 (03:51 -0800)
commitc135b0de9b853c5cd910b3b461356fedeffca2fa
tree06970629d3b7080424b6e814006a58d8c0c30d4d
parent7204a785e70cdc5bb5abae5342f179ede5322260
i40e: scale msix vector use when more cores than vectors

When there are more cores than vectors available to the PF, scale back
the LAN msix usage to force queue/vector sharing and leave some vectors
for Flow Director, VMDq, etc.

Change-ID: Ie0317732eb85ad8d851d7da7d9af86b1bf8c21ad
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Patrick Lu <patrick.lu@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c