diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2010-08-02 10:27:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-03 00:20:21 -0400 |
commit | 8e86acd7d5968e08b3e1604e685a8c45f6fd7f40 (patch) | |
tree | f870dc8370e6b23022c0914e4899dfd345b42ee9 /drivers/net/e1000e/e1000.h | |
parent | c128ec29208d410568469bd8bb373b4cdc10912a (diff) |
e1000e: Fix irq_synchronize in MSI-X case
Based on original patch/work from Jean Delvare <jdelvare@suse.de>
Synchronize all IRQs when in MSI-X IRQ mode.
Jean's original patch hard coded the sync with the 3 possible vectors,
this patch incorporates more flexibility for the future and aligns
with how igb stores the number of vectors into the adapter structure.
CC: Jean Delvare <jdelvare@suse.de>
Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/e1000.h')
-rw-r--r-- | drivers/net/e1000e/e1000.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h index 9ee133f5034e..f9a31c82f871 100644 --- a/drivers/net/e1000e/e1000.h +++ b/drivers/net/e1000e/e1000.h | |||
@@ -348,6 +348,7 @@ struct e1000_adapter { | |||
348 | u32 test_icr; | 348 | u32 test_icr; |
349 | 349 | ||
350 | u32 msg_enable; | 350 | u32 msg_enable; |
351 | unsigned int num_vectors; | ||
351 | struct msix_entry *msix_entries; | 352 | struct msix_entry *msix_entries; |
352 | int int_mode; | 353 | int int_mode; |
353 | u32 eiac_mask; | 354 | u32 eiac_mask; |