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 31E7B45BB6 for ; Wed, 23 Oct 2024 23:19:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2BD8540261; Wed, 23 Oct 2024 23:19:11 +0200 (CEST) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mails.dpdk.org (Postfix) with ESMTP id 124F1432D0 for ; Wed, 23 Oct 2024 23:19:09 +0200 (CEST) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-431688d5127so2185275e9.0 for ; Wed, 23 Oct 2024 14:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729718349; x=1730323149; 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=RJqzeYnnrspQstEkF82BN77h8mWhAHfq30Q8SgVnL3Y=; b=Tz7DD1Rhf3PznnnPLbKpNevJTcl1wpBnT5ECT/sIXciCwv3HbGNhBZ6gXptyN2TITF ydI3Kcqz96FUFj1eHOy+A3HbgQ7o0NJ9l4NZ8LniR482RG4jspYK7R+5sbHTrAK5CBoB kjcviIFLdVBuO+flIuMug6iwcPH6lDkoev3sPtgNmT/F9sl9BVYu3bqWwrlcVc/GOC4M 72u3I8AjaPEUIitCI7Wm05gp3/xz/EM1Zq/zVqvNalthOmUUSGMQYQu1T81FE5g9cAp3 hRBRYNFZ//MrYdvWEGhpIwtzJL/cREeEVFWeZKGh1gcEziLhg6kuJn1PKHsgmceNpnsJ ZEgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729718349; x=1730323149; 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=RJqzeYnnrspQstEkF82BN77h8mWhAHfq30Q8SgVnL3Y=; b=Y8ZIDmW/orq3A9dNJLrFAvhTVh5b6kpXJVWrBkbgT10jTqHsD8CopXblHMwUGeFCwf 2Q0qbeQLaCCfzzTYgJ1Z3VhEhEb6LilULGkuXsUGs/G0FmExAmGk68f2RQfjT+xmLSKV 5vY8ilqcvfhPex0TgbvbnhPN/j5fx9gpGXIpYCtmr89EuXK5YW+qOR0MxHUO5sYWwVPp WTQy7ouYXl5YUbsko1EdXTfRnVnMoIVNfS4+AzCX6Wbwxg2lCutvZGys1C48q4F52uj6 G5xB4B6RNVx2mNvcR4MrawWg/qapsFVcobBRx0wntasW4Un3T7Sezsk2Wbg0UBRkEsyW +16A== X-Forwarded-Encrypted: i=1; AJvYcCXnc4yzlptQgcBYsingn30k0bxmK2YOKoqSFzt8xO3uMxaHYjT4kskwlXknqW50E4zBzTQtcwA=@dpdk.org X-Gm-Message-State: AOJu0YzhTvZqA9vegFF60zbJkiw+LTc5aKcAe9T8b/MIX6SVFrHoFKwC vhozi4HFcqwXZJ8CdvyGH7zqYYx7pvRe4faLn/DSS9of3e+KoRCaUPJzvQ== X-Google-Smtp-Source: AGHT+IH7Ba8bxMrjqUh9PsOyiRn2pAFK+3Y4qEOZ6FPA0dMmos0OLIpmYuXEhCYHrPHlC/FsvVjAnA== X-Received: by 2002:a05:600c:15d2:b0:431:5522:e009 with SMTP id 5b1f17b1804b1-431871cd8e3mr30118905e9.12.1729718348574; Wed, 23 Oct 2024 14:19:08 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:21cd:def0:a01d:d2aa]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43186bd226dsm27464255e9.2.2024.10.23.14.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 14:19:08 -0700 (PDT) From: luca.boccassi@gmail.com To: Paul Greenwalt Cc: Soumyadeep Hore , Bruce Richardson , dpdk stable Subject: patch 'net/ice/base: fix link speed for 200G' has been queued to stable release 22.11.7 Date: Wed, 23 Oct 2024 22:16:15 +0100 Message-ID: <20241023211704.1216956-35-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241023211704.1216956-1-luca.boccassi@gmail.com> References: <20241023211704.1216956-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.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/25/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/6970864b0c56f89338627ff29122a89fb96a74b2 Thanks. Luca Boccassi --- >From 6970864b0c56f89338627ff29122a89fb96a74b2 Mon Sep 17 00:00:00 2001 From: Paul Greenwalt Date: Fri, 23 Aug 2024 09:56:45 +0000 Subject: [PATCH] net/ice/base: fix link speed for 200G [ upstream commit e3992ab377d2879d6c5bfb220865638404b85dba ] When setting PHY configuration during driver initialization, 200G link speed is not being advertised even when the PHY is capable. This is because the get PHY capabilities link speed response is being masked by ICE_AQ_LINK_SPEED_M, which does not include 200G link speed bit. Fixes: d13ad9cf1721 ("net/ice/base: add helper functions for PHY caching") Signed-off-by: Paul Greenwalt Signed-off-by: Soumyadeep Hore Acked-by: Bruce Richardson --- drivers/net/ice/base/ice_adminq_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h index 534649802f..1f40ae2e66 100644 --- a/drivers/net/ice/base/ice_adminq_cmd.h +++ b/drivers/net/ice/base/ice_adminq_cmd.h @@ -1621,7 +1621,7 @@ struct ice_aqc_get_link_status_data { #define ICE_AQ_LINK_PWR_QSFP_CLASS_3 2 #define ICE_AQ_LINK_PWR_QSFP_CLASS_4 3 __le16 link_speed; -#define ICE_AQ_LINK_SPEED_M 0x7FF +#define ICE_AQ_LINK_SPEED_M 0xFFF #define ICE_AQ_LINK_SPEED_10MB BIT(0) #define ICE_AQ_LINK_SPEED_100MB BIT(1) #define ICE_AQ_LINK_SPEED_1000MB BIT(2) -- 2.45.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-10-23 22:16:41.844158267 +0100 +++ 0035-net-ice-base-fix-link-speed-for-200G.patch 2024-10-23 22:16:40.475941807 +0100 @@ -1 +1 @@ -From e3992ab377d2879d6c5bfb220865638404b85dba Mon Sep 17 00:00:00 2001 +From 6970864b0c56f89338627ff29122a89fb96a74b2 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e3992ab377d2879d6c5bfb220865638404b85dba ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index 6a89e1614a..3ec207927b 100644 +index 534649802f..1f40ae2e66 100644 @@ -25 +26 @@ -@@ -1624,7 +1624,7 @@ struct ice_aqc_get_link_status_data { +@@ -1621,7 +1621,7 @@ struct ice_aqc_get_link_status_data {