]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: allow FD SB if MFP mode only has 1 partition
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 3 Sep 2015 21:18:55 +0000 (17:18 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Oct 2015 09:08:16 +0000 (02:08 -0700)
commit26905b470a919c6cb48f9026a604924a2d9b00d9
treef8030abbeb5a55e8dfd6ba4ef7ea1e1840559098
parent3e99150d8349fd054bc0b5591ff4584cf3638cd2
i40e: allow FD SB if MFP mode only has 1 partition

Even though the device might be in MFP mode, if there's only one partition
enabled, then we still have plenty of interrupts for managing the Flow
Directory Sideband activity.  This patch enables FD SB in this case.
This patch also reverses the sense of the conditional in order to remove
the negative logic.

Change-ID: I9edf211a6219fc8d159b4be9964f9fd7f4e00bc0
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c