From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9F301454E9 for ; Tue, 25 Jun 2024 02:00:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99ED140EE7; Tue, 25 Jun 2024 02:00:30 +0200 (CEST) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mails.dpdk.org (Postfix) with ESMTP id 86A2E40EE7 for ; Tue, 25 Jun 2024 02:00:28 +0200 (CEST) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4249196a361so12213105e9.0 for ; Mon, 24 Jun 2024 17:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719273628; x=1719878428; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8e1az+L88eZLFsVnz26jzWI3T13KzJuCCEh+XTX2dAk=; b=PZtCBcqN+A7DyvJR86f6vc9EAJpAkj56YmsjQASoPGyZW39SrT3KBz+iwDLNKLi+Hm 8Z55TOOVMT5LsxwuDQlJLAA2BORE4ho9yWw23p0gEn9Z4UmDBdamwwz/SQz/BW0CpqyF GIRxJ2NzIcHI9OWsdUM3H2xQKUQ0MOH/ouFBHyqeuHAEyw0QTbxUOtQGSDY3YrmRGIr9 Pm5rksiJinTmRquosBC50IqBpHdHENCr+8D5DwOP2IuqJ/NaRG2v8dU9MxZo8oa/uRjz m8yE8Gds5t774NnjHmCseS3qdStqCGe/VNehRlCKtdf992koKvOLrUywSK1Utf4apTD8 ANYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719273628; x=1719878428; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8e1az+L88eZLFsVnz26jzWI3T13KzJuCCEh+XTX2dAk=; b=q09aFdSegUKzG1skTTF94vnezb1h7iWcFBKlVB7mUOefPImps/qu0wj/GZXbGCBYWT 3zvE3oSibKZVmr6TsRJ++BKZWNf0CCx5bKFwy+2MBFS+Nz8IGdPPz6AIWtau82J4L1Fp uhKDWOGX6YKxoDUkQw74uQf8BDlz1QCRFuUeCm9wp8B4i0n2BBat1W0U6hdrcRJFRgDC XKa/K8MlgDoopDmWPyYe45WZkB4Izi88d768jJzK+qBHf+fHXSOuNlbZTvpQvil2Riq/ +B92V4AkOjpLcT5m1n/Jf1nK+BBEKl3lqe08ueTapYsWZ4dmmSBvvc8EEqwDgYmpDhcI TewQ== X-Forwarded-Encrypted: i=1; AJvYcCWXIa5bcX/ZDsF87nyt9E+EcxvcTGZ/mHbiT8y+WsaSEVSXrAzEjInNZ3X/XZMJAMHJ6i9587k56BkqDdd19u8= X-Gm-Message-State: AOJu0YwP7RmR7BIuvEzOQcIX5NMtamFvngJHjSViNmXarfRkQZAZiopI QbzPn25HunOw37+eUfPWoofAnQKTmnPHMs94ShzPi5wwYFvfiC97bfClXw== X-Google-Smtp-Source: AGHT+IEWWOqA/M8MCjMYPGxKICHMxHnal0PZKGMiGEqBQXZ5jFmMZS+3lh0YglyaeQpxlmkZFhetVA== X-Received: by 2002:a05:6000:459a:b0:363:7bbf:efcc with SMTP id ffacd0b85a97d-366e96bef86mr3636087f8f.62.1719273628134; Mon, 24 Jun 2024 17:00:28 -0700 (PDT) Received: from localhost ([137.220.120.171]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366388c401asm11373999f8f.45.2024.06.24.17.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 17:00:27 -0700 (PDT) From: luca.boccassi@gmail.com To: Venkat Kumar Ande Cc: Selwin Sebastian , dpdk stable Subject: patch 'net/axgbe: fix fluctuations for 1G Bel Fuse SFP' has been queued to stable release 22.11.6 Date: Tue, 25 Jun 2024 00:58:10 +0100 Message-Id: <20240624235907.885628-24-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240624235907.885628-1-luca.boccassi@gmail.com> References: <20240624235907.885628-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/27/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/fac582ee7d5f145928b28a81795c3364c96343c5 Thanks. Luca Boccassi --- >From fac582ee7d5f145928b28a81795c3364c96343c5 Mon Sep 17 00:00:00 2001 From: Venkat Kumar Ande Date: Tue, 4 Jun 2024 17:41:35 +0530 Subject: [PATCH] net/axgbe: fix fluctuations for 1G Bel Fuse SFP [ upstream commit 3abfda0f7d58b2eef20cdf8e102825678b150421 ] Frequent link up/down events can happen when a Bel Fuse SFP part is connected to the amd-xgbe device. Try to avoid the frequent link issues by resetting the PHY as documented in Bel Fuse SFP datasheet. Without the fix user will see continuous port link up and down. Fixes: a5c7273771e8 ("net/axgbe: add phy programming APIs") Signed-off-by: Venkat Kumar Ande Acked-by: Selwin Sebastian --- drivers/net/axgbe/axgbe_phy_impl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/axgbe/axgbe_phy_impl.c b/drivers/net/axgbe/axgbe_phy_impl.c index 87795c63c9..8f8845a1c5 100644 --- a/drivers/net/axgbe/axgbe_phy_impl.c +++ b/drivers/net/axgbe/axgbe_phy_impl.c @@ -578,6 +578,9 @@ static bool axgbe_phy_belfuse_parse_quirks(struct axgbe_port *pdata) AXGBE_BEL_FUSE_VENDOR, strlen(AXGBE_BEL_FUSE_VENDOR))) return false; + /* Reset PHY - wait for self-clearing reset bit to clear */ + pdata->phy_if.phy_impl.reset(pdata); + if (!memcmp(&sfp_eeprom->base[AXGBE_SFP_BASE_VENDOR_PN], AXGBE_BEL_FUSE_PARTNO, strlen(AXGBE_BEL_FUSE_PARTNO))) { phy_data->sfp_base = AXGBE_SFP_BASE_1000_SX; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-06-25 00:22:15.125520152 +0100 +++ 0024-net-axgbe-fix-fluctuations-for-1G-Bel-Fuse-SFP.patch 2024-06-25 00:22:13.109184100 +0100 @@ -1 +1 @@ -From 3abfda0f7d58b2eef20cdf8e102825678b150421 Mon Sep 17 00:00:00 2001 +From fac582ee7d5f145928b28a81795c3364c96343c5 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 3abfda0f7d58b2eef20cdf8e102825678b150421 ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index 54fe9faae0..ee9dcbe3da 100644 +index 87795c63c9..8f8845a1c5 100644