bnxt_en: Add get_eee() and set_eee() ethtool support.
authorMichael Chan <michael.chan@broadcom.com>
Tue, 5 Apr 2016 18:08:59 +0000 (14:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2016 20:20:47 +0000 (16:20 -0400)
commit72b34f04e0b00956dd679ae18bf2163669df8b56
treecdfe9f55e274ca8f3b80c40dd1fc719c9579e519
parent939f7f0ca442187db2a4ec7a40979c711b0c939e
bnxt_en: Add get_eee() and set_eee() ethtool support.

Allow users to get|set EEE parameters.

v2: Added comment for preserving the tx_lpi_timer value in get_eee.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c