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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11323C433EF for ; Tue, 5 Jul 2022 10:59:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231389AbiGEK7f (ORCPT ); Tue, 5 Jul 2022 06:59:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233048AbiGEK65 (ORCPT ); Tue, 5 Jul 2022 06:58:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E765D167D6 for ; Tue, 5 Jul 2022 03:58:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8384260ED2 for ; Tue, 5 Jul 2022 10:58:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 790F1C341C7; Tue, 5 Jul 2022 10:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657018716; bh=bbDeC1AlBuTOWfz8CZE8RhaedXa7BIQPiHinMtouYyo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UlpXbHB7ZZ++kGerjYF15oZgtXRRxUaGQrHVmnacNBPwa8j3eq/fMMYn36Gs87qMu G7UDGXmZBOEsBYTGcOyt01SXyJ6xU3QU1seAuKU257EDinBMvpusIRBC1c0XjiY+UU RINzLXKZ75iZuI6sckFv26LTTetgO0UcTaGUY0nc5XdXaAbFDCxfKg3Jv2pIEcmTAH pytVnlfQVF8P14YlhHAzigh36W4Gw3prqZpTz0wdTZYfuTJJL/kQ0HT2mIwHsniOnK EzXM+VOOYoqnvpvbRbmqQiEsSGnGgHLDBHi+d7duveo0DxOnLYSMJucL+avpHK5nsK Irv7aIWnRGdew== Date: Tue, 5 Jul 2022 12:58:28 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: "Russell King (Oracle)" Cc: Andrew Lunn , Heiner Kallweit , Alexandre Belloni , "Alvin __ipraga" , Claudiu Manoil , "David S. Miller" , DENG Qingfang , Eric Dumazet , Florian Fainelli , George McCollister , Hauke Mehrtens , Jakub Kicinski , Kurt Kanzenbach , Landen Chao , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Matthias Brugger , netdev@vger.kernel.org, Paolo Abeni , Sean Wang , UNGLinuxDriver@microchip.com, Vivien Didelot , Vladimir Oltean , Woojung Huh Subject: Re: [PATCH RFC net-next 4/5] net: phylink: add phylink_set_max_fixed_link() Message-ID: <20220705125828.2e7c8296@thinkpad> In-Reply-To: References: X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 05 Jul 2022 10:48:02 +0100 "Russell King (Oracle)" wrote: > Add a function for DSA to use to configure phylink, in the absence of > any other configuration, to a fixed link operating at the maximum > supported link speed. >=20 > This is needed so we can support phylink usage on CPU and DSA ports. >=20 > We use the default interface that the DSA driver provides (if any) > otherwise we attempt to find the first supported interface that gives > the maximum speed for the link. >=20 > Signed-off-by: Russell King (Oracle) Reviewed-by: Marek Beh=C3=BAn