From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: [RFT/RFC net-next 0/2] net: dsa: Plug in PHYLINK support Date: Thu, 14 Dec 2017 16:28:48 -0800 Message-ID: <20171215002850.27862-1-f.fainelli@gmail.com> Cc: rmk+kernel@armlinux.org.uk, sean.wang@mediatek.com, john@phrozen.org, kernel@pengutronix.de, privat@egil-hjelmeland.no, Woojung.Huh@microchip.com, vivien.didelot@savoirfairelinux.com, andrew@lunn.ch, Florian Fainelli To: netdev@vger.kernel.org Return-path: Received: from mail-ot0-f195.google.com ([74.125.82.195]:37764 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754431AbdLOA25 (ORCPT ); Thu, 14 Dec 2017 19:28:57 -0500 Received: by mail-ot0-f195.google.com with SMTP id s4so6499521ote.4 for ; Thu, 14 Dec 2017 16:28:57 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: Hi all, This patch series replaces the existing PHYLIB integration with PHYLINK which is a superior solution since we need to support a collection of fixed links, integrated PHYs, SFP, non-pluggable SFPs etc. I am expecting quite a lot of breakage, for a number of reasons: - PHYLINK does not create a PHY device for fixed links (MLO_AN_FIXED), which means that user-facing port (not DSA, not CPU) need to be explicitly handled with phylink_mac_ops now - only been able to test this on a limited number of platforms, and not the ZII devel B/C boards yet Please test and report! Florian Fainelli (2): net: dsa: Plug in PHYLINK support net: dsa: bcm_sf2: Kick PHYLINK upon link interrupts drivers/net/dsa/bcm_sf2.c | 29 +++-- include/net/dsa.h | 23 +++- net/dsa/Kconfig | 1 + net/dsa/dsa_priv.h | 9 -- net/dsa/slave.c | 294 +++++++++++++++++++++++++++------------------- 5 files changed, 210 insertions(+), 146 deletions(-) -- 2.14.1