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 66287C4332F for ; Fri, 2 Dec 2022 19:18:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234702AbiLBTR7 (ORCPT ); Fri, 2 Dec 2022 14:17:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234694AbiLBTR4 (ORCPT ); Fri, 2 Dec 2022 14:17:56 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B5E81E700; Fri, 2 Dec 2022 11:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1670008671; x=1701544671; h=from:to:subject:date:message-id:mime-version; bh=jYYY9Pw5VXdCKxGrRHaBuVdrbALTmlDdRa5GM45Mg4Q=; b=tkrQR2f0j/qFjy89xcbXh5BvYW3i3ceCFVykD7S9o6aSuBSe7QykWn/y 0OCp6T77pZlT3VvSyFRmCQZVrxrZRVbHYn3hc2YYEh6EU/ldir+SWQ9lI CBHABcUro5Nc6firOLtvOaRT3vOXGpk9sRMu4Iv3lXl4AI6R6MAYX3cRw tjQ5Qkxll4xR32l9M0cgVrHQ5T0sQjXxBwPTGVWdz2hFaNngHebvVyriX 238lh+1KUG5AAO4bZbjjvCiGcAmc818AYbC5hdEGYst5m2nbDF10KmuYr oQrigNlHgxNGAv2ljpYAtKVFXUreh6bv9rQnMnoWdBouxBobviIYA42VQ A==; X-IronPort-AV: E=Sophos;i="5.96,213,1665471600"; d="scan'208";a="202387654" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Dec 2022 12:17:50 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Fri, 2 Dec 2022 12:17:50 -0700 Received: from AUS-LT-C33025.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Fri, 2 Dec 2022 12:17:49 -0700 From: Jerry Ray To: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , "Paolo Abeni" , , , , Jerry Ray Subject: [PATCH net-next v2 0/2] dsa: lan9303: Move to PHYLINK Date: Fri, 2 Dec 2022 13:17:47 -0600 Message-ID: <20221202191749.27437-1-jerry.ray@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch series moves the lan9303 driver to use the phylink api away from phylib. 1) adds port_max_mtu api support. 2) Replace .adjust_link with .phylink_get_caps dsa api At this point, I do not see anything this driver needs from the other phylink APIs. Signed-off-by: Jerry Ray --- v1-> v2: corrected the reported mtu size, removing ETH_HLEN and ETH_FCS_LEN drivers/net/dsa/lan9303-core.c | 93 ++++++++++++-------- 1 file changed, 56 insertions(+), 37 deletions(-)