aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index ec948ffec553..cbb04ba58289 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -367,19 +367,20 @@ struct ixgbe_adapter {
367#define IXGBE_FLAG_VMDQ_ENABLED (u32)(1 << 19) 367#define IXGBE_FLAG_VMDQ_ENABLED (u32)(1 << 19)
368#define IXGBE_FLAG_FAN_FAIL_CAPABLE (u32)(1 << 20) 368#define IXGBE_FLAG_FAN_FAIL_CAPABLE (u32)(1 << 20)
369#define IXGBE_FLAG_NEED_LINK_UPDATE (u32)(1 << 22) 369#define IXGBE_FLAG_NEED_LINK_UPDATE (u32)(1 << 22)
370#define IXGBE_FLAG_IN_SFP_LINK_TASK (u32)(1 << 23) 370#define IXGBE_FLAG_NEED_LINK_CONFIG (u32)(1 << 23)
371#define IXGBE_FLAG_IN_SFP_MOD_TASK (u32)(1 << 24) 371#define IXGBE_FLAG_FDIR_HASH_CAPABLE (u32)(1 << 24)
372#define IXGBE_FLAG_FDIR_HASH_CAPABLE (u32)(1 << 25) 372#define IXGBE_FLAG_FDIR_PERFECT_CAPABLE (u32)(1 << 25)
373#define IXGBE_FLAG_FDIR_PERFECT_CAPABLE (u32)(1 << 26) 373#define IXGBE_FLAG_FCOE_CAPABLE (u32)(1 << 26)
374#define IXGBE_FLAG_FCOE_CAPABLE (u32)(1 << 27) 374#define IXGBE_FLAG_FCOE_ENABLED (u32)(1 << 27)
375#define IXGBE_FLAG_FCOE_ENABLED (u32)(1 << 28) 375#define IXGBE_FLAG_SRIOV_CAPABLE (u32)(1 << 28)
376#define IXGBE_FLAG_SRIOV_CAPABLE (u32)(1 << 29) 376#define IXGBE_FLAG_SRIOV_ENABLED (u32)(1 << 29)
377#define IXGBE_FLAG_SRIOV_ENABLED (u32)(1 << 30)
378 377
379 u32 flags2; 378 u32 flags2;
380#define IXGBE_FLAG2_RSC_CAPABLE (u32)(1) 379#define IXGBE_FLAG2_RSC_CAPABLE (u32)(1)
381#define IXGBE_FLAG2_RSC_ENABLED (u32)(1 << 1) 380#define IXGBE_FLAG2_RSC_ENABLED (u32)(1 << 1)
382#define IXGBE_FLAG2_TEMP_SENSOR_CAPABLE (u32)(1 << 2) 381#define IXGBE_FLAG2_TEMP_SENSOR_CAPABLE (u32)(1 << 2)
382#define IXGBE_FLAG2_SEARCH_FOR_SFP (u32)(1 << 4)
383#define IXGBE_FLAG2_SFP_NEEDS_RESET (u32)(1 << 5)
383 384
384 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; 385 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
385 u16 bd_number; 386 u16 bd_number;
@@ -455,13 +456,11 @@ struct ixgbe_adapter {
455 456
456 struct work_struct reset_task; 457 struct work_struct reset_task;
457 struct work_struct watchdog_task; 458 struct work_struct watchdog_task;
458 struct work_struct sfp_task;
459 struct work_struct multispeed_fiber_task;
460 struct work_struct sfp_config_module_task;
461 struct work_struct fdir_reinit_task; 459 struct work_struct fdir_reinit_task;
462 struct work_struct check_overtemp_task; 460 struct work_struct check_overtemp_task;
461 struct work_struct service_task;
463 struct timer_list watchdog_timer; 462 struct timer_list watchdog_timer;
464 struct timer_list sfp_timer; 463 struct timer_list service_timer;
465 u32 fdir_pballoc; 464 u32 fdir_pballoc;
466 u32 atr_sample_rate; 465 u32 atr_sample_rate;
467 spinlock_t fdir_perfect_lock; 466 spinlock_t fdir_perfect_lock;
@@ -492,7 +491,8 @@ enum ixbge_state_t {
492 __IXGBE_TESTING, 491 __IXGBE_TESTING,
493 __IXGBE_RESETTING, 492 __IXGBE_RESETTING,
494 __IXGBE_DOWN, 493 __IXGBE_DOWN,
495 __IXGBE_SFP_MODULE_NOT_FOUND 494 __IXGBE_SERVICE_SCHED,
495 __IXGBE_IN_SFP_INIT,
496}; 496};
497 497
498struct ixgbe_rsc_cb { 498struct ixgbe_rsc_cb {