]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:42 +0000 (08:32 -0800)
commit7fe66c060b04d6a9c71172a1e562e4e07572573e
tree86577a307e166c6768cb6ef622232fec7c69717a
parentec6d6c7192242167456d887756750e31b7b8aedf
i40e: allow FD SB if MFP mode only has 1 partition

Orabug: 22342532

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>
(cherry picked from commit 6eae9c6a3536f3a676b54ebf82244c23d3b1019f)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c