aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorJeb Cramer <cramerj@intel.com>2008-07-08 18:07:55 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-07-11 01:20:31 -0400
commitfe4506b6a2f9716ef62583020581ae2032573fed (patch)
tree560ae7093af7a852111cde72cf848f64cf9e8687 /drivers/net/igb/igb.h
parente21ed3538f1946ea623caf28f1c44ede50224275 (diff)
igb: add DCA support
Add DCA support in the similar method that it was added to the ixgbe driver recently. DCA allows the network device to put data in the CPU cache and notify the chipset of that event. This reduces cache misses during receives. Signed-off-by: Jeb Cramer <cramerj@intel.com> Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 5915efccbcab..d4a042344728 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -271,7 +271,9 @@ struct igb_adapter {
271 /* to not mess up cache alignment, always add to the bottom */ 271 /* to not mess up cache alignment, always add to the bottom */
272 unsigned long state; 272 unsigned long state;
273 unsigned int msi_enabled; 273 unsigned int msi_enabled;
274 274#ifdef CONFIG_DCA
275 unsigned int dca_enabled;
276#endif
275 u32 eeprom_wol; 277 u32 eeprom_wol;
276 278
277 /* for ioport free */ 279 /* for ioport free */