From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1EE524A06B; Fri, 27 Feb 2026 13:43:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772199782; cv=none; b=UJXmbLB460cb0Fs7mMtEHVzQ65LFxNui3xLOHF1JptPTQauyugFjWVJPP9BfmfKpPGIQ8ThH/Th5sQ2p72s+8EAEmnU3dGwvH6NZk+wU9JT1CAqrFtxXcv/dHmlXRgNjput1mWsKNVZg3YFL/LDm4E7iD7YneFWbKnd2FVbDblk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772199782; c=relaxed/simple; bh=Vsxx0tf/aez0eT/Zy9uhaG0dHCfN3A4iBIahMreaC/c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VmYd6SJ2X0PmHpkCAy1bJW3WXfg0ySn8EDlbuIpheXZwPMfzMPbRiD6or0YtR12neBc1d0blszvA97mDTKZp3N10vQ7HWmgp7oMhcwfBQSlKHZWLfV5xiWnsjn25fFTmFabCCF/+3rd+4VCMgE1/GXWoLvqxRQEbLJu33BW0bVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZRWRg1pU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZRWRg1pU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D95B7C19423; Fri, 27 Feb 2026 13:43:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772199781; bh=Vsxx0tf/aez0eT/Zy9uhaG0dHCfN3A4iBIahMreaC/c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZRWRg1pU523wK9B4qH/oqfxalX1dWT1tRMgvmqEhkAiQCC6+aZk47rC2NcYr6UhO7 GSaSHNrYzBOKKhEh7mMElKMbIDwYIVryRv2a2FKCzh/P1lwmx+3yg7CYFUgUSSH3nm CS9LpGw+mDUvIYt+G4TAFRUiF8RMm6xHL2yo1kipylcbA2Y1kDSNeJetaEvXB8TCct q//5qO9lU20DNXf1PWD6Wus6q11rsXwDCKxYDHhlxzJD5gag8NF1z+LfJQ4HBDiIYD kXX/RBc8sB2pEWWe6mDQ76zpgQoYJL1j4f+8GDWw60K/7018hfFa9IdueKYAESm5AS 554gGzUr67QjA== Date: Fri, 27 Feb 2026 19:12:57 +0530 From: Vinod Koul To: "Russell King (Oracle)" Cc: Andrew Lunn , Alexandre Torgue , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Mohd Ayaan Anwar , Neil Armstrong , netdev@vger.kernel.org, Paolo Abeni Subject: Re: [PATCH net-next 4/8] phy: qcom-sgmii-eth: remove .set_speed() implementation Message-ID: References: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 25-02-26, 10:59, Russell King (Oracle) wrote: > Now that the qcom-ethqos driver has migrated to use phy_set_mode_ext() > rather than phy_set_speed() to configure the SerDes, the support for > phy_set_speed() is now obsolete. Remove support for this method. > > Using the MAC speed for the SerDes is never correct due to the PCS > encoding. For SGMII and 2500BASE-X, the PCS uses 8B10B encoding, and > so: > > MAC rate * PCS output bits / PCS input bits = SerDes rate > 1000M * 10 / 8 = 1250M > 2500M * 10 / 8 = 3125M > > Tested-by: Mohd Ayaan Anwar > Signed-off-by: Russell King (Oracle) Acked-by: Vinod Koul -- ~Vinod