aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>2009-06-04 12:00:47 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-07 08:20:22 -0400
commitdf647b5ca3c3a84e5e5f8e7da36b5ffc17276ec7 (patch)
tree30196b8a65d5202a5fab4b4e67abb7d13e3957db /drivers/net/ixgbe/ixgbe.h
parent91281fd36c7670904e0b315e273e896d907adc36 (diff)
ixgbe: Add a second feature flags variable, move HW RSC capability there
This adds a second feature flag variable to use for future feature expansion. Add HW RSC to this new feature flags variable. Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index 00c303a745db..59167d7e08ca 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -317,10 +317,11 @@ struct ixgbe_adapter {
317#define IXGBE_FLAG_IN_WATCHDOG_TASK (u32)(1 << 23) 317#define IXGBE_FLAG_IN_WATCHDOG_TASK (u32)(1 << 23)
318#define IXGBE_FLAG_IN_SFP_LINK_TASK (u32)(1 << 24) 318#define IXGBE_FLAG_IN_SFP_LINK_TASK (u32)(1 << 24)
319#define IXGBE_FLAG_IN_SFP_MOD_TASK (u32)(1 << 25) 319#define IXGBE_FLAG_IN_SFP_MOD_TASK (u32)(1 << 25)
320#define IXGBE_FLAG_RSC_CAPABLE (u32)(1 << 26)
321#define IXGBE_FLAG_RSC_ENABLED (u32)(1 << 27)
322#define IXGBE_FLAG_FCOE_ENABLED (u32)(1 << 29) 320#define IXGBE_FLAG_FCOE_ENABLED (u32)(1 << 29)
323 321
322 u32 flags2;
323#define IXGBE_FLAG2_RSC_CAPABLE (u32)(1)
324#define IXGBE_FLAG2_RSC_ENABLED (u32)(1 << 1)
324/* default to trying for four seconds */ 325/* default to trying for four seconds */
325#define IXGBE_TRY_LINK_TIMEOUT (4 * HZ) 326#define IXGBE_TRY_LINK_TIMEOUT (4 * HZ)
326 327