Skip to content

Wangxun fixes and new features

Zaiyu Wang dpdk-dev 15 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v13 Latest17 patches 1 replyIn review
  2. v1217 patches 2 repliesSuperseded
  3. v1117 patches 2 repliesSuperseded
Earlier versions · 12
VersionPostedPatchesRepliesStatus
v1017 patches2 repliesSuperseded
v916 patches2 repliesSuperseded
v816 patches1 replySuperseded
v715 patches1 replySuperseded
v615 patches2 repliesSuperseded
v515 patches0 repliesSuperseded
v4 posting 2/216 patches2 repliesSuperseded
v3 posting 2/215 patches1 replySuperseded
v4 posting 1/24 patches2 repliesApplied
v3 posting 1/24 patches0 repliesSuperseded
v24 patches0 repliesSuperseded
v14 patches1 replySuperseded

Changes in v13 from the cover letter

- P16: gate the module poll on dev_start as well, so a module inserted while the port is administratively down is identified but not configured;
run the link setup on link-up for both Amber-Lite MACs, which the 25G path did not do before.
---

Patches in v13 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17net/txgbe: fix failure to configure 10G on dual-speed DACdrivers/net/txgbe/base/txgbe_aml40.c drivers/net/txgbe/txgbe_ethdev.c+12 -50 replies
2/17net/txgbe: use the requested speed in E56 AN setupdrivers/net/txgbe/base/txgbe_aml40.c drivers/net/txgbe/base/txgbe_e56_bp.c drivers/net/txgbe/base/txgbe_e56_bp.h +1 more+25 -180 replies
3/17net/txgbe: fix E56 PHY configuration errordrivers/net/txgbe/base/txgbe_e56.c+2 -20 replies
4/17net/txgbe: fix incorrect link state in 10G forced modedrivers/net/txgbe/base/txgbe_aml40.c+10 -10 replies
5/17net/txgbe: do not force reconfig on link retrydrivers/net/txgbe/base/txgbe_aml.c drivers/net/txgbe/base/txgbe_aml40.c drivers/net/txgbe/txgbe_ethdev.c+5 -30 replies
6/17net/txgbe: set i2c sda hold timedrivers/net/txgbe/base/txgbe_phy.c drivers/net/txgbe/base/txgbe_regs.h+6 -00 replies
7/17net/txgbe: fix link speed display info for 10G modedrivers/net/txgbe/base/txgbe_aml40.c+3 -00 replies
8/17net/txgbe: remove stale outer UDP checksum offload flagdrivers/net/txgbe/txgbe_rxtx.c+0 -10 replies
9/17net/txgbe: fix SFP hot-plug when auto-negotiation is ondrivers/net/txgbe/txgbe_ethdev.c drivers/net/txgbe/txgbe_ethdev.h+61 -20 replies
10/17net/txgbe: fix DAC hot-plug on AML40 with auto-negotiationdrivers/net/txgbe/base/txgbe_aml40.c drivers/net/txgbe/base/txgbe_phy.c drivers/net/txgbe/txgbe_ethdev.c+39 -50 replies
11/17net/txgbe: fix 40G FFE tuning applied to first lane onlydrivers/net/txgbe/base/txgbe_e56.h drivers/net/txgbe/base/txgbe_type.h drivers/net/txgbe/txgbe_ethdev.c+28 -50 replies
12/17net/txgbe: add pre2 FFE tap and backplane capability devargsdoc/guides/nics/txgbe.rst doc/guides/rel_notes/release_26_11.rst drivers/net/txgbe/base/txgbe_type.h +1 more+109 -100 replies
13/17net/txgbe: fix Tx laser left on at AML40 link downdrivers/net/txgbe/base/txgbe_e56.c drivers/net/txgbe/base/txgbe_hw.c drivers/net/txgbe/base/txgbe_phy.h +1 more+56 -10 replies
14/17net/txgbe: fix CR/KR link training and recoverydrivers/net/txgbe/base/txgbe_e56.c drivers/net/txgbe/base/txgbe_e56.h drivers/net/txgbe/base/txgbe_e56_bp.c +4 more+146 -720 replies
15/17net/txgbe: align link capabilities and DAC classificationdrivers/net/txgbe/base/txgbe_aml.c drivers/net/txgbe/base/txgbe_aml40.c drivers/net/txgbe/base/txgbe_e56.c +3 more+48 -240 replies
16/17net/txgbe: respect manual link-down on Amber-Litedrivers/net/txgbe/txgbe_ethdev.c+35 -50 replies
17/17net/txgbe: fix typo in the fiber support speed fielddrivers/net/txgbe/base/txgbe_aml.c drivers/net/txgbe/base/txgbe_aml40.c drivers/net/txgbe/base/txgbe_phy.c +1 more+9 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v13 yet.

Read the v13 thread

Cover letter [PATCH v13 00/17] Wangxun fixes and new features

This series addresses link-related issues on Wangxun Amber-lite 25G/40G NICs (CR/KR training, hot-plug, 10G link state).

---
v13:
- P16: gate the module poll on dev_start as well, so a module inserted while the port is administratively down is identified but not configured;
run the link setup on link-up for both Amber-Lite MACs, which the 25G path did not do before.
---
v12:
- P05: pass true as the restart argument to txgbe_e56_set_phy_link_mode() instead of deriving it from the link and AN state.
- P12: declare the per-MAC default copies where they are taken, instead of initialising them to 0 and overwriting them.
- P13: limit the enable_tx_laser() call in the PHY init failure path of txgbe_set_link_to_amlite() to the 25G MAC.
- P15: drop txgbe_is_40g_fiber_qsfp(); its branch was identical to the else branch that follows it.
- P16: cancel the AN73 watchdog before arming it again on link-up.
---
v11:
- P12: fall back to the default value when an FFE tap does not fit the register field, instead of only logging it.
- P13: change the patch from a new feature to a fix:
take the transmitter down on AML40 link down. Clearing GPIO bit 1, which holds the module in reset, does not stop the transmitter for every DAC cable and QSFP module. The laser_off devarg and its documentation are dropped; link setup runs again on link-up to restore what link-down disabled.
- P17: fix warnings in check-git-log, and add the Cc: stable tag that belongs with the Fixes line.
---

Zaiyu Wang (17):
net/txgbe: fix failure to configure 10G on dual-speed DAC net/txgbe: use the requested speed in E56 AN setup net/txgbe: fix E56 PHY configuration error net/txgbe: fix incorrect link state in 10G forced mode net/txgbe: do not force reconfig on link retry net/txgbe: set i2c sda hold time
net/txgbe: fix link speed display info for 10G mode net/txgbe: remove stale outer UDP checksum offload flag net/txgbe: fix SFP hot-plug when auto-negotiation is on net/txgbe: fix DAC hot-plug on AML40 with auto-negotiation net/txgbe: fix 40G FFE tuning applied to first lane only net/txgbe: add pre2 FFE tap and backplane capability devargs net/txgbe: fix Tx laser left on at AML40 link down net/txgbe: fix CR/KR link training and recovery net/txgbe: align link capabilities and DAC classification net/txgbe: respect manual link-down on Amber-Lite net/txgbe: fix typo in the fiber support speed field

 doc/guides/nics/txgbe.rst              |  25 ++-
 doc/guides/rel_notes/release_26_11.rst |   8 +
 drivers/net/txgbe/base/txgbe_aml.c     |  11 +-
 drivers/net/txgbe/base/txgbe_aml40.c   |  62 ++++--
 drivers/net/txgbe/base/txgbe_e56.c     |  19 +-
 drivers/net/txgbe/base/txgbe_e56.h     |   4 +
 drivers/net/txgbe/base/txgbe_e56_bp.c  | 196 +++++++++++-------
 drivers/net/txgbe/base/txgbe_e56_bp.h  |   4 +-
 drivers/net/txgbe/base/txgbe_hw.c      |  31 +++
 drivers/net/txgbe/base/txgbe_osdep.h   |  12 +-
 drivers/net/txgbe/base/txgbe_phy.c     |  42 +++-
 drivers/net/txgbe/base/txgbe_phy.h     |   7 +
 drivers/net/txgbe/base/txgbe_regs.h    |   3 +
 drivers/net/txgbe/base/txgbe_type.h    |  16 +-
 drivers/net/txgbe/txgbe_ethdev.c       | 276 +++++++++++++++++++++++--
 drivers/net/txgbe/txgbe_ethdev.h       |   2 +
 drivers/net/txgbe/txgbe_rxtx.c         |   1 -
 17 files changed, 575 insertions(+), 144 deletions(-)
Signature · 1 line
2.55.0.windows.2