From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6C971099B37 for ; Fri, 20 Mar 2026 19:22:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4F17961BE0; Fri, 20 Mar 2026 19:22:31 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 3eQqGyDTACn1; Fri, 20 Mar 2026 19:22:30 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7EA9760B75 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1774034550; bh=Yj0gX886MqSdYm6VhyiKop7VBmixk4UQXUMgNG9ABv4=; h=Date:From:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=B7xbH0Bu+2iaTrz7YBdsu3YCflPTkbTRdaGtWdVrKNK3QIU4rPpIT84mRl1fw/6JA W0jO02Gz7YGsfUW6FELz0U6qcjHg4iHK3BBiHwf/gr6jLMGmiVS3pTANarRBFik/Bt K4ZgmV2x4AQdMUOFirlrfhKKmNHn6UXam4J0I/4R7YL95LoY0aLmUa1egiWMuapeNC 4q8r4uuvtb9wWCbZ/6yIH9/FAkMZR06GEASnuAh7Y4hZo0CqeBAeDytUitnE08ypxB qQDAShU3QEtOngluTAHugNHwyaclZ/CvKZ/Yq5dL3qdLVbolE+P2S70cqp5q7XRNrM ADNJswlpm/dog== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 7EA9760B75; Fri, 20 Mar 2026 19:22:30 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists1.osuosl.org (Postfix) with ESMTP id 4774E25C for ; Fri, 20 Mar 2026 19:22:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 391BB41B78 for ; Fri, 20 Mar 2026 19:22:29 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Er6RX7jIjr7u for ; Fri, 20 Mar 2026 19:22:28 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.252.31; helo=sea.source.kernel.org; envelope-from=horms@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 9E13E41B63 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 9E13E41B63 Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by smtp4.osuosl.org (Postfix) with ESMTPS id 9E13E41B63 for ; Fri, 20 Mar 2026 19:22:28 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id F24AF43CFE; Fri, 20 Mar 2026 19:22:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF2F2C4CEF7; Fri, 20 Mar 2026 19:22:26 +0000 (UTC) Date: Fri, 20 Mar 2026 19:22:24 +0000 From: Simon Horman To: Aleksandr Loktionov Cc: intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com, netdev@vger.kernel.org, Paul Greenwalt Message-ID: <20260320192224.GA164092@horms.kernel.org> References: <20260320050537.422528-1-aleksandr.loktionov@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260320050537.422528-1-aleksandr.loktionov@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774034547; bh=TggM05cJ/nNvU3rSwbGrgvekmiHgnNF4O6+tt/fSZ5s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=haDJhrWxjcGLKvlrrefGIqiIYgSk7UEAILzIfevI3Fed9774J0boBznB/XgeQQfb2 Ka3Xl8Is5S/sNSjsIA8hX5ikL1cspdn1LjaeIbxxgPJ2Xrm5d/lIecSXhp7UgVoKvo f4Ocy+7OFyFfwNsYO/lYm1FXkiaLOZXpVC8rSc2vdykHtaBrbQb+0I9HK73kFQ/GKt 9vcgtgnTFT8l02AksNupSeogtPAbZFi/4SmJJHM5PNYQceTl1WS2sB8yNrHRjjDDa7 8EpOYFDd3dU6MNycIGo98a4XuiWHARCk1tUKUUCHWSu+N83A+pKcPPuk6YgzK8BP4r vIdp+tkE09G5Q== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=haDJhrWx Subject: Re: [Intel-wired-lan] [PATCH] ice: fix ICE_AQ_LINK_SPEED_M for 200G X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Fri, Mar 20, 2026 at 06:05:37AM +0100, Aleksandr Loktionov wrote: > From: Paul Greenwalt > > 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 the 200G link speed bit. > > ICE_AQ_LINK_SPEED_200GB is defined as BIT(11), but the mask 0x7FF only > covers bits 0-10. Fix ICE_AQ_LINK_SPEED_M to use GENMASK(11, 0) so > that it covers all defined link speed bits including 200G. > > Fixes: 24407a01e57c ("ice: Add 200G speed/phy type use") > Signed-off-by: Paul Greenwalt > Signed-off-by: Aleksandr Loktionov Reviewed-by: Simon Horman