igc: add support for forcing link speed without autonegotiation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest4 patches 10 repliesIn review
- v43 patches 12 repliesSuperseded
- v33 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 3 patches | 5 replies | Superseded | |
| v1 | 1 patch | 2 replies | Superseded |
Changes in v5 from the cover letter
- add removal justification to include copper context in commit description for igc: remove unused autoneg_failed field (Paul)
- check that cmd->base.duplex is either DUPLEX_HALF or DUPLEX_FULL in igc_ethtool_set_link_ksettings() (Simon)
- dynamically override hw->fc.current_mode to igc_fc_none during link configuration instead of mutating requested_mode (Simon)
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | igc: remove unused autoneg_failed fielddrivers/ drivers/ | +1 | 3 replies | |
| 2/4 | igc: move autoneg-enabled settings into igc_handle_autoneg_enabled()drivers/ | +44 | 2 replies | |
| 3/4 | igc: replace goto out with direct returns in igc_config_fc_after_link_up()drivers/ | +7 | 2 replies | |
| 4/4 | igc: add support for forcing link speed without autonegotiationdrivers/ drivers/ drivers/ +5 more | +220 | 2 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Looi Hong Aun | Aleksandr Loktionov | Simon Horman | Dima Ruinskiy | Piotr Kwapulinski | Moriya Kadosh |
|---|---|---|---|---|---|---|
| Series | R-b | |||||
| 1/4 | R-b | R-b | R-b | R-b | T-b | |
| 2/4 | R-b | R-b | R-b | T-b | ||
| 3/4 | R-b | R-b | T-b | |||
| 4/4 | R-b | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH iwl-next v5 0/4] igc: add support for forcing link speed without autonegotiation
From: Faizal Rahim <[email protected]>
This series adds support for forcing 10/100 Mb/s link speed via ethtool when autonegotiation is disabled on the igc driver.
Changes in v5:
- add removal justification to include copper context in commit description for igc: remove unused autoneg_failed field (Paul)
- check that cmd->base.duplex is either DUPLEX_HALF or DUPLEX_FULL in igc_ethtool_set_link_ksettings() (Simon)
- dynamically override hw->fc.current_mode to igc_fc_none during link configuration instead of mutating requested_mode (Simon)
Changes in v4:
- Validate that autoneg is AUTONEG_ENABLE or AUTONEG_DISABLE early in igc_ethtool_set_link_ksettings() to avoid passing unexpected values to igc_handle_autoneg_disabled(). (Simon Horman)
Changes in v3:
- Modify condition from "if (duplex == DUPLEX_HALF)" to "if (duplex != DUPLEX_FULL)". (Simon Horman)
Changes in v2:
- When forcing half-duplex, set hw->fc.requested_mode = igc_fc_none, since half-duplex cannot support flow control per IEEE 802.3. (Simon Horman)
- Split the original single patch into three patches for clarity:
patches 1 and 2 are preparatory cleanups; patch 3 carries the functional change.
v4 at:
https://patchwork.ozlabs.org/project/intel-wired-lan/cover/[email protected]/
v3 at:
https://patchwork.ozlabs.org/project/intel-wired-lan/cover/[email protected]/
v2 at:
https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
v1 at:
https://patchwork.ozlabs.org/project/intel-wired-lan/patch/[email protected]/
Faizal Rahim (4):
igc: remove unused autoneg_failed field
igc: move autoneg-enabled settings into igc_handle_autoneg_enabled()
igc: replace goto out with direct returns in
igc_config_fc_after_link_up()
igc: add support for forcing link speed without autonegotiation
drivers/net/ethernet/intel/igc/igc_base.c | 35 +++- drivers/net/ethernet/intel/igc/igc_defines.h | 9 +- drivers/net/ethernet/intel/igc/igc_ethtool.c | 210 +++++++++++++------ drivers/net/ethernet/intel/igc/igc_hw.h | 10 +- drivers/net/ethernet/intel/igc/igc_mac.c | 35 ++-- drivers/net/ethernet/intel/igc/igc_main.c | 2 +- drivers/net/ethernet/intel/igc/igc_phy.c | 65 +++++- drivers/net/ethernet/intel/igc/igc_phy.h | 1 + 8 files changed, 268 insertions(+), 99 deletions(-)
--
2.43.0