diff options
author | Akeem G Abodunrin <akeem.g.abodunrin@intel.com> | 2013-08-27 22:22:43 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-09-04 06:53:53 -0400 |
commit | aa9b8cc44409b140c0dadd3776e99220edf3384a (patch) | |
tree | 70a548bfc70454fb893a0491d316f6cd10a8250f /drivers/net/ethernet/intel/igb/igb.h | |
parent | 53ea6c7e2d6ce50c73544ef432fb2206ca60fc38 (diff) |
igb: Implementation of 1-sec delay for i210 devices
This patch adds 1 sec delay mechanism to i210 device family, in order
to avoid erroneous link issue with the link partner.
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb.h')
-rw-r--r-- | drivers/net/ethernet/intel/igb/igb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb.h b/drivers/net/ethernet/intel/igb/igb.h index c1fae7aa0bd5..6807b098edae 100644 --- a/drivers/net/ethernet/intel/igb/igb.h +++ b/drivers/net/ethernet/intel/igb/igb.h | |||
@@ -448,6 +448,8 @@ struct igb_adapter { | |||
448 | struct i2c_client *i2c_client; | 448 | struct i2c_client *i2c_client; |
449 | u32 rss_indir_tbl_init; | 449 | u32 rss_indir_tbl_init; |
450 | u8 rss_indir_tbl[IGB_RETA_SIZE]; | 450 | u8 rss_indir_tbl[IGB_RETA_SIZE]; |
451 | |||
452 | unsigned long link_check_timeout; | ||
451 | }; | 453 | }; |
452 | 454 | ||
453 | #define IGB_FLAG_HAS_MSI (1 << 0) | 455 | #define IGB_FLAG_HAS_MSI (1 << 0) |
@@ -459,6 +461,7 @@ struct igb_adapter { | |||
459 | #define IGB_FLAG_RSS_FIELD_IPV4_UDP (1 << 6) | 461 | #define IGB_FLAG_RSS_FIELD_IPV4_UDP (1 << 6) |
460 | #define IGB_FLAG_RSS_FIELD_IPV6_UDP (1 << 7) | 462 | #define IGB_FLAG_RSS_FIELD_IPV6_UDP (1 << 7) |
461 | #define IGB_FLAG_WOL_SUPPORTED (1 << 8) | 463 | #define IGB_FLAG_WOL_SUPPORTED (1 << 8) |
464 | #define IGB_FLAG_NEED_LINK_UPDATE (1 << 9) | ||
462 | 465 | ||
463 | /* DMA Coalescing defines */ | 466 | /* DMA Coalescing defines */ |
464 | #define IGB_MIN_TXPBSIZE 20408 | 467 | #define IGB_MIN_TXPBSIZE 20408 |