tg3: Add set_eee and get_eee handlers.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyIn review
- v14 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tg3: Add ethtool_eee struct and tg3_setup_eee()drivers/ drivers/ | +59 | 0 replies | |
| 2/4 | tg3: Add tg3_eee_pull_config() functiondrivers/ | +47 | 0 replies | |
| 3/4 | tg3: Simplify tg3_phy_eee_config_ok() by reusing tg3_eee_pull_config()drivers/ | +15 | 0 replies | |
| 4/4 | tg3: Implement set/get_eee handlersdrivers/ drivers/ | +54 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Ben Li |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net-next 0/4] tg3: Add set_eee and get_eee handlers.
This series adds support for modifying EEE settings via ethtool. Since this can impact Link Flap Avoidance, the driver pulls the current hardware settings if LFA is enabled. This is similar to how we do the link settings to avoid a flap.
v2: Fixes pointed out by Ben Hutchings.
- Use MDIO_AN_EEE_LPABLE to set the lp_advertised field.
- Check that tx_lpi_timer is within valid range.
Nithin Nayak Sujir (4):
tg3: Add ethtool_eee struct and tg3_setup_eee()
tg3: Add tg3_eee_pull_config() function
tg3: Simplify tg3_phy_eee_config_ok() by reusing tg3_eee_pull_config()
tg3: Implement set/get_eee handlers
drivers/net/ethernet/broadcom/tg3.c | 227 +++++++++++++++++++++++++++--------- drivers/net/ethernet/broadcom/tg3.h | 2 + 2 files changed, 173 insertions(+), 56 deletions(-)
Signature · 1 line
1.8.1.4