All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zaiyu Wang" <zaiyuwang@trustnetic.com>
To: "'Stephen Hemminger'" <stephen@networkplumber.org>
Cc: <dev@dpdk.org>
Subject: RE: [PATCH v10 00/17] Wangxun fixes and new features
Date: Mon, 26 Oct 2026 20:27:30 +0800	[thread overview]
Message-ID: <00b001dd6545$5ef75840$1ce608c0$@trustnetic.com> (raw)
In-Reply-To: <20261023090117.34672036@phoenix.local>

> Most of it is fine, but you still are keeping a driver specific behavior around PHY control which was identified as not acceptable
in an earlier review.
> 
> I object to cases where driver writers treat their PMD as a unique and special case because that would end up tying the user
application to a
> specific PMD and it makes it harder for users to manage and write code.
> 
> If there is a missing feature in the ethdev management layer, then control operations and offloads should be added there and
drivers should all
> work against that.
> 
> The current AI review reflects that.
> 
Hi Stephen,

Thanks for your review. I accept both points, and v11 has been posted with
the corresponding fixes.

Now the laser_off devarg is gone, along with its documentation and release
note entry. Tx is now disabled unconditionally when an AML40 port goes
down, and link setup runs again on link-up to restore what link-down disabled. 

You are right that set_link_up() is a control operation and the application asked
for the link to come back up so renegotiation is the cost of that. There is nothing
missing in ethdev here either. set_link_down() already defines what should
happen; the driver simply was not doing it. 

Thanks again for the review.
Zaiyu Wang



  reply	other threads:[~2026-10-26 12:29 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-27 11:41 [PATCH 00/13] Wangxun fixes and new features Zaiyu Wang
2026-08-27 20:11 ` Stephen Hemminger
2026-09-08 12:43   ` Zaiyu Wang
2026-10-12 10:56 ` [PATCH v8 00/16] " Zaiyu Wang
2026-10-12 21:41   ` Stephen Hemminger
     [not found] ` <20261012110518.1911-1-zaiyuwang@trustnetic.com>
2026-10-12 10:56   ` [PATCH v8 01/16] net/txgbe: fix failure to configure 10G on dual-speed DAC Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 02/16] net/txgbe: use the requested speed in E56 AN setup Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 03/16] net/txgbe: fix e56 PHY configuration error Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 04/16] net/txgbe: fix incorrect link state in 10G forced mode Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 05/16] net/txgbe: do not force reconfig on link retry Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 06/16] net/txgbe: set i2c sda hold time Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 07/16] net/txgbe: fix link speed display info for 10G mode Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 08/16] net/txgbe: remove stale outer UDP checksum offload flag Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 09/16] net/txgbe: fix SFP hot-plug when auto-negotiation is on Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 10/16] net/txgbe: fix DAC hot-plug on 40G NIC with auto-negotiation Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 11/16] net/txgbe: fix 40G FFE tuning applied to first lane only Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 12/16] net/txgbe: add pre2 FFE tap and backplane capability devargs Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 13/16] net/txgbe: add devarg to turn off Tx laser for 40G NIC Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 14/16] net/txgbe: fix CR/KR link training and recovery Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 15/16] net/txgbe: align link capabilities and DAC classification Zaiyu Wang
2026-10-12 10:56   ` [PATCH v8 16/16] net/txgbe: respect manual link-down on Amber-Lite Zaiyu Wang
2026-10-22 11:03 ` [PATCH v9 00/16] Wangxun fixes and new features Zaiyu Wang
2026-10-22 17:17   ` Stephen Hemminger
2026-10-23 11:10     ` Zaiyu Wang
     [not found] ` <20261022111017.3605-1-zaiyuwang@trustnetic.com>
2026-10-22 11:03   ` [PATCH v9 01/16] net/txgbe: fix failure to configure 10G on dual-speed DAC Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 02/16] net/txgbe: use the requested speed in E56 AN setup Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 03/16] net/txgbe: fix e56 PHY configuration error Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 04/16] net/txgbe: fix incorrect link state in 10G forced mode Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 05/16] net/txgbe: do not force reconfig on link retry Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 06/16] net/txgbe: set i2c sda hold time Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 07/16] net/txgbe: fix link speed display info for 10G mode Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 08/16] net/txgbe: remove stale outer UDP checksum offload flag Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 09/16] net/txgbe: fix SFP hot-plug when auto-negotiation is on Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 10/16] net/txgbe: fix DAC hot-plug on 40G NIC with auto-negotiation Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 11/16] net/txgbe: fix 40G FFE tuning applied to first lane only Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 12/16] net/txgbe: add pre2 FFE tap and backplane capability devargs Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 13/16] net/txgbe: add devarg to turn off Tx laser for 40G NIC Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 14/16] net/txgbe: fix CR/KR link training and recovery Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 15/16] net/txgbe: align link capabilities and DAC classification Zaiyu Wang
2026-10-22 11:03   ` [PATCH v9 16/16] net/txgbe: respect manual link-down on Amber-Lite Zaiyu Wang
2026-10-23 11:03 ` [PATCH v10 00/17] Wangxun fixes and new features Zaiyu Wang
2026-10-23 16:01   ` Stephen Hemminger
2026-10-26 12:27     ` Zaiyu Wang [this message]
     [not found] ` <20261023110728.3975-1-zaiyuwang@trustnetic.com>
2026-10-23 11:03   ` [PATCH v10 01/17] net/txgbe: fix failure to configure 10G on dual-speed DAC Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 02/17] net/txgbe: use the requested speed in E56 AN setup Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 03/17] net/txgbe: fix E56 PHY configuration error Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 04/17] net/txgbe: fix incorrect link state in 10G forced mode Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 05/17] net/txgbe: do not force reconfig on link retry Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 06/17] net/txgbe: set i2c sda hold time Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 07/17] net/txgbe: fix link speed display info for 10G mode Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 08/17] net/txgbe: remove stale outer UDP checksum offload flag Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 09/17] net/txgbe: fix SFP hot-plug when auto-negotiation is on Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 10/17] net/txgbe: fix DAC hot-plug on AML40 with auto-negotiation Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 11/17] net/txgbe: fix 40G FFE tuning applied to first lane only Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 12/17] net/txgbe: add pre2 FFE tap and backplane capability devargs Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 13/17] net/txgbe: add devarg to turn off Tx laser for AML40 Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 14/17] net/txgbe: fix CR/KR link training and recovery Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 15/17] net/txgbe: align link capabilities and DAC classification Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 16/17] net/txgbe: respect manual link-down on Amber-Lite Zaiyu Wang
2026-10-23 11:03   ` [PATCH v10 17/17] net/txgbe: fix typo in the fiber_support_speed field Zaiyu Wang
2026-10-26 12:21 ` [PATCH v11 00/17] Wangxun fixes and new features Zaiyu Wang
2026-10-26 16:28   ` Stephen Hemminger
2026-10-27 11:45     ` Zaiyu Wang
     [not found] ` <20261026122638.9198-1-zaiyuwang@trustnetic.com>
2026-10-26 12:21   ` [PATCH v11 01/17] net/txgbe: fix failure to configure 10G on dual-speed DAC Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 02/17] net/txgbe: use the requested speed in E56 AN setup Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 03/17] net/txgbe: fix E56 PHY configuration error Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 04/17] net/txgbe: fix incorrect link state in 10G forced mode Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 05/17] net/txgbe: do not force reconfig on link retry Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 06/17] net/txgbe: set i2c sda hold time Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 07/17] net/txgbe: fix link speed display info for 10G mode Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 08/17] net/txgbe: remove stale outer UDP checksum offload flag Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 09/17] net/txgbe: fix SFP hot-plug when auto-negotiation is on Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 10/17] net/txgbe: fix DAC hot-plug on AML40 with auto-negotiation Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 11/17] net/txgbe: fix 40G FFE tuning applied to first lane only Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 12/17] net/txgbe: add pre2 FFE tap and backplane capability devargs Zaiyu Wang
2026-10-26 12:21   ` [PATCH v11 13/17] net/txgbe: fix Tx laser left on at AML40 link down Zaiyu Wang
2026-10-26 12:22   ` [PATCH v11 14/17] net/txgbe: fix CR/KR link training and recovery Zaiyu Wang
2026-10-26 12:22   ` [PATCH v11 15/17] net/txgbe: align link capabilities and DAC classification Zaiyu Wang
2026-10-26 12:22   ` [PATCH v11 16/17] net/txgbe: respect manual link-down on Amber-Lite Zaiyu Wang
2026-10-26 12:22   ` [PATCH v11 17/17] net/txgbe: fix typo in the fiber support speed field Zaiyu Wang
2026-10-27 11:38 ` [PATCH v12 00/17] Wangxun fixes and new features Zaiyu Wang
     [not found] ` <20261027114218.9724-1-zaiyuwang@trustnetic.com>
2026-10-27 11:38   ` [PATCH v12 01/17] net/txgbe: fix failure to configure 10G on dual-speed DAC Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 02/17] net/txgbe: use the requested speed in E56 AN setup Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 03/17] net/txgbe: fix E56 PHY configuration error Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 04/17] net/txgbe: fix incorrect link state in 10G forced mode Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 05/17] net/txgbe: do not force reconfig on link retry Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 06/17] net/txgbe: set i2c sda hold time Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 07/17] net/txgbe: fix link speed display info for 10G mode Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 08/17] net/txgbe: remove stale outer UDP checksum offload flag Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 09/17] net/txgbe: fix SFP hot-plug when auto-negotiation is on Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 10/17] net/txgbe: fix DAC hot-plug on AML40 with auto-negotiation Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 11/17] net/txgbe: fix 40G FFE tuning applied to first lane only Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 12/17] net/txgbe: add pre2 FFE tap and backplane capability devargs Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 13/17] net/txgbe: fix Tx laser left on at AML40 link down Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 14/17] net/txgbe: fix CR/KR link training and recovery Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 15/17] net/txgbe: align link capabilities and DAC classification Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 16/17] net/txgbe: respect manual link-down on Amber-Lite Zaiyu Wang
2026-10-27 13:48     ` Stephen Hemminger
2026-10-28 10:40       ` Zaiyu Wang
2026-10-27 11:38   ` [PATCH v12 17/17] net/txgbe: fix typo in the fiber support speed field Zaiyu Wang
2026-10-28 10:33 ` [PATCH v13 00/17] Wangxun fixes and new features Zaiyu Wang
2026-10-28 15:32   ` Stephen Hemminger
     [not found] ` <20261028103913.10188-1-zaiyuwang@trustnetic.com>
2026-10-28 10:33   ` [PATCH v13 01/17] net/txgbe: fix failure to configure 10G on dual-speed DAC Zaiyu Wang
2026-10-28 10:33   ` [PATCH v13 02/17] net/txgbe: use the requested speed in E56 AN setup Zaiyu Wang
2026-10-28 10:33   ` [PATCH v13 03/17] net/txgbe: fix E56 PHY configuration error Zaiyu Wang
2026-10-28 10:33   ` [PATCH v13 04/17] net/txgbe: fix incorrect link state in 10G forced mode Zaiyu Wang
2026-10-28 10:33   ` [PATCH v13 05/17] net/txgbe: do not force reconfig on link retry Zaiyu Wang
2026-10-28 10:33   ` [PATCH v13 06/17] net/txgbe: set i2c sda hold time Zaiyu Wang
2026-10-28 10:33   ` [PATCH v13 07/17] net/txgbe: fix link speed display info for 10G mode Zaiyu Wang
2026-10-28 10:33   ` [PATCH v13 08/17] net/txgbe: remove stale outer UDP checksum offload flag Zaiyu Wang
2026-10-28 10:33   ` [PATCH v13 09/17] net/txgbe: fix SFP hot-plug when auto-negotiation is on Zaiyu Wang
2026-10-28 10:33   ` [PATCH v13 10/17] net/txgbe: fix DAC hot-plug on AML40 with auto-negotiation Zaiyu Wang
2026-10-28 10:34   ` [PATCH v13 11/17] net/txgbe: fix 40G FFE tuning applied to first lane only Zaiyu Wang
2026-10-28 10:34   ` [PATCH v13 12/17] net/txgbe: add pre2 FFE tap and backplane capability devargs Zaiyu Wang
2026-10-28 10:34   ` [PATCH v13 13/17] net/txgbe: fix Tx laser left on at AML40 link down Zaiyu Wang
2026-10-28 10:34   ` [PATCH v13 14/17] net/txgbe: fix CR/KR link training and recovery Zaiyu Wang
2026-10-28 10:34   ` [PATCH v13 15/17] net/txgbe: align link capabilities and DAC classification Zaiyu Wang
2026-10-28 10:34   ` [PATCH v13 16/17] net/txgbe: respect manual link-down on Amber-Lite Zaiyu Wang
2026-10-28 10:34   ` [PATCH v13 17/17] net/txgbe: fix typo in the fiber support speed field Zaiyu Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00b001dd6545$5ef75840$1ce608c0$@trustnetic.com' \
    --to=zaiyuwang@trustnetic.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.