Return-Path: Received: from vps0.lunn.ch ([185.16.172.187]:35347 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933366AbeCSNop (ORCPT ); Mon, 19 Mar 2018 09:44:45 -0400 Date: Mon, 19 Mar 2018 14:44:38 +0100 From: Andrew Lunn To: Florian Fainelli Cc: netdev@vger.kernel.org, privat@egil-hjelmeland.no, vivien.didelot@savoirfairelinux.com, davem@davemloft.net, rmk+kernel@armlinux.org.uk, sean.wang@mediatek.com, Woojung.Huh@microchip.com, john@phrozen.org, cphealy@gmail.com Subject: Re: [PATCH net-next 0/4] net: dsa: Plug in PHYLINK support Message-ID: <20180319134438.GE26039@lunn.ch> References: <20180318185246.19311-1-f.fainelli@gmail.com> <5690f51e-e303-70ad-f08e-915674efd854@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5690f51e-e303-70ad-f08e-915674efd854@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: > I think I will proceed differently for v2: > > - introduce DSA phylink_mac_ops in dsa_switch_ops, such that drivers can > define those as preliminary commits, those won't be used by > net/dsa/slave.c just yet though > > - have all relevant drivers implement phylink_mac_ops such that the > pluming is there and functional > > - switch net/dsa/slave.c to using PHYLINK > > That way, we should avoid any breakage in between and have an "atomic" > switch between PHYLIB and PHYLINK. Hi Florian That sounds good. Maybe we can also convert ZII devel B to using SFP at the same time? I can take a look at implementing the Marvell phylink_mac_ops. Andrew