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 B9480C43334 for ; Tue, 5 Jul 2022 10:56:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230004AbiGEK4X (ORCPT ); Tue, 5 Jul 2022 06:56:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbiGEKz4 (ORCPT ); Tue, 5 Jul 2022 06:55:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D980617070 for ; Tue, 5 Jul 2022 03:55:11 -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 2AA6860AF1 for ; Tue, 5 Jul 2022 10:55:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44EE4C341C7; Tue, 5 Jul 2022 10:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657018509; bh=Ki3Il3DnBY0QlDat/5g0CnbI0kYoYCMqVu2X4F/0W8E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pBsF4oVT5py0/qMuyBsxVgtedQGhBDne/OXAPKU/IEJoN5H42JRBhW8WJURZKgc+V 7WSeFv3FMQ8x563aq0wH4F/S3XQQxaVaVL1o3Ko+DhQGVWrAXBozU9gaRfBuwYWYgc 3NRog0EEQJ6wqC3y8oe0DPtm8FdsmhXtavcuZfS+cLCnlRsMkJHfAGFyrlSNua8YhP c3IGt0c8pzLxrbbaymOB4Vzj/BHGHRKbcJIgUjaKhUONXkzUQ+ZBdGcPM8DHVK0v6O ygxCSlYx7YwvNhwPQVyqq418FBk6Sktf5InQNQKHiZ1Alf/WS61f68HA1ThIg2Khe3 B041Mqp8Lz71w== Date: Tue, 5 Jul 2022 12:55:00 +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 2/5] net: dsa: mv88e6xxx: report the default interface mode for the port Message-ID: <20220705125500.3c57b531@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:47:52 +0100 "Russell King (Oracle)" wrote: > Report the maximum speed interface mode for the port, or if we don't > have that information, the hardware configured interface mode for > the port. >=20 > This allows phylink to know which interface mode CPU and DSA ports > are operating, which will be necessary when we want to select the > maximum speed for the port (required for such ports without a PHY or > fixed-link specified in firmware.) >=20 > Signed-off-by: Russell King (Oracle) Reviewed-by: Marek Beh=C3=BAn