public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Raju Rangoju <Raju.Rangoju@amd.com>
To: <netdev@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <pabeni@redhat.com>,
	<kuba@kernel.org>, <edumazet@google.com>, <davem@davemloft.net>,
	<andrew+netdev@lunn.ch>, "Raju Rangoju" <Raju.Rangoju@amd.com>
Subject: [PATCH v3 net-next 0/3]  amd-xgbe: TX resilience improvements for link-down handling
Date: Thu, 19 Mar 2026 22:02:48 +0530	[thread overview]
Message-ID: <20260319163251.1808611-1-Raju.Rangoju@amd.com> (raw)

This series enhances the AMD 10GbE driver's TX queue handling during
link-down events to improve resilience, prevent resource leaks, and
enable fast failover in link aggregation configurations.

The three patches form a complete link-down handling solution:

1. Patch 1: Fast detection (know quickly when link goes down)
2. Patch 2: Quick response (stop TX immediately, skip waits)
3. Patch 3: Clean recovery (reclaim abandoned resources)

Changes since v2:
 - remove the stale function xgbe_reset_tx_queues(), otherwise it would
   result in undefined symbol during linking.

Changes since v1:
 - The original patch is split into multiple patches, to better
   isolate each specific improvements.

Raju Rangoju (3):
  amd-xgbe: add adaptive link status polling
  amd-xgbe: optimize TX shutdown on link-down
  amd-xgbe: add TX descriptor cleanup for link-down

 drivers/net/ethernet/amd/xgbe/xgbe-common.h |  4 +
 drivers/net/ethernet/amd/xgbe/xgbe-dev.c    | 86 ++++++++++++++++++---
 drivers/net/ethernet/amd/xgbe/xgbe-drv.c    | 67 ++++++++++++++--
 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c   | 18 +++++
 4 files changed, 158 insertions(+), 17 deletions(-)

-- 
2.34.1


             reply	other threads:[~2026-03-19 16:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-19 16:32 Raju Rangoju [this message]
2026-03-19 16:32 ` [PATCH v3 net-next 1/3] amd-xgbe: add adaptive link status polling Raju Rangoju
2026-03-19 16:32 ` [PATCH v3 net-next 2/3] amd-xgbe: optimize TX shutdown on link-down Raju Rangoju
2026-03-19 16:32 ` [PATCH v3 net-next 3/3] amd-xgbe: add TX descriptor cleanup for link-down Raju Rangoju
2026-03-24 10:00 ` [PATCH v3 net-next 0/3] amd-xgbe: TX resilience improvements for link-down handling patchwork-bot+netdevbpf

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=20260319163251.1808611-1-Raju.Rangoju@amd.com \
    --to=raju.rangoju@amd.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox