Re: [net-next 01/13] igc: Add initial EEE support

2020-06-27 Thread David Miller
From: Jeff Kirsher Date: Fri, 26 Jun 2020 18:54:19 -0700 > +static int igc_ethtool_get_eee(struct net_device *netdev, > +struct ethtool_eee *edata) > +{ > + struct igc_adapter *adapter = netdev_priv(netdev); > + struct igc_hw *hw = &adapter->hw; > + u32 eee

[net-next 01/13] igc: Add initial EEE support

2020-06-26 Thread Jeff Kirsher
From: Sasha Neftin 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