[Intel-wired-lan] [next-queue v4] igc: Add initial EEE support

Brown, Aaron F aaron.f.brown at intel.com
Mon Jun 1 16:43:10 UTC 2020


> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Jeff
> Kirsher
> Sent: Wednesday, May 27, 2020 1:52 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Guedes, Andre <andre.guedes at intel.com>
> Subject: [Intel-wired-lan] [next-queue v4] igc: Add initial EEE support
> 
> From: Sasha Neftin <sasha.neftin at intel.com>
> 
> 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.
> 
> v2:
> Rid of inverted logic and replace eee_disable boolean with
> eee_enable in device specification.
> Address community comments.
> 
> v3:
> Remove pointless ret_val from _set_eee method
> Minor comment fix
> 
> v4:
> Fixed conflicts when applying to next-queue tree
> 
> Signed-off-by: Sasha Neftin <sasha.neftin at intel.com>
> Reviewed-by: Andre Guedes <andre.guedes at intel.com>
> ---
>  drivers/net/ethernet/intel/igc/igc.h         |  4 +
>  drivers/net/ethernet/intel/igc/igc_defines.h | 10 ++
>  drivers/net/ethernet/intel/igc/igc_ethtool.c | 97 ++++++++++++++++++++
>  drivers/net/ethernet/intel/igc/igc_hw.h      |  1 +
>  drivers/net/ethernet/intel/igc/igc_i225.c    | 56 +++++++++++
>  drivers/net/ethernet/intel/igc/igc_i225.h    |  2 +
>  drivers/net/ethernet/intel/igc/igc_main.c    | 16 ++++
>  drivers/net/ethernet/intel/igc/igc_regs.h    |  5 +
>  8 files changed, 191 insertions(+)
> 
Tested-by: Aaron Brown <aaron.f.brown at intel.com>


More information about the Intel-wired-lan mailing list