aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorJeb Cramer <cramerj@intel.com>2008-07-08 15:07:55 -0700
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 5915efccbca..d4a04234472 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -271,7 +271,9 @@ struct igb_adapter {
/* to not mess up cache alignment, always add to the bottom */
unsigned long state;
unsigned int msi_enabled;
-
+#ifdef CONFIG_DCA
+ unsigned int dca_enabled;
+#endif
u32 eeprom_wol;
/* for ioport free */