summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_hw.h
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2020-05-27 13:51:32 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-06-29 17:43:38 -0700
commit93ec439abeefe2e205657ae2b98a7fee4fbd4a0b (patch)
tree3b0091eaabd5736b14970e383a81bcc0db88f173 /drivers/net/ethernet/intel/igc/igc_hw.h
parentb8483ecaf72ee9059dcca5de969781028a550f89 (diff)
igc: Add initial EEE support
IEEE802.3az-2010 Energy Efficient Ethernet has been approved as standard (September 2010) and the driver can enable and disable it via ethtool. Disable the feature by default on parts which support it. Add enable/disable eee options. tx-lpi, tx-timer and advertise not supported yet. Signed-off-by: Sasha Neftin <sasha.neftin@intel.com> Reviewed-by: Andre Guedes <andre.guedes@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/igc/igc_hw.h')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_hw.h b/drivers/net/ethernet/intel/igc/igc_hw.h
index af34ae310327..2ab7d9fab6af 100644
--- a/drivers/net/ethernet/intel/igc/igc_hw.h
+++ b/drivers/net/ethernet/intel/igc/igc_hw.h
@@ -191,6 +191,7 @@ struct igc_fc_info {
struct igc_dev_spec_base {
bool clear_semaphore_once;
+ bool eee_enable;
};
struct igc_hw {