From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: Is it currently possible to connect SFP to dsa port? Date: Tue, 7 Aug 2018 12:43:11 -0700 Message-ID: <2d62b88b-3a92-d026-effe-defcb9d5838b@gmail.com> References: <20180807210023.0dc3d498@nic.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Russell King - ARM Linux To: Marek Behun , Andrew Lunn Return-path: Received: from mail-pf1-f179.google.com ([209.85.210.179]:35415 "EHLO mail-pf1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389807AbeHGV7R (ORCPT ); Tue, 7 Aug 2018 17:59:17 -0400 Received: by mail-pf1-f179.google.com with SMTP id p12-v6so9087410pfh.2 for ; Tue, 07 Aug 2018 12:43:21 -0700 (PDT) In-Reply-To: <20180807210023.0dc3d498@nic.cz> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 08/07/2018 12:00 PM, Marek Behun wrote: > Hello, > > I have a question regarding DSA/SFP code. > > We are working on a modular router where it is possible to connect > multiple switch cards and at most one SFP cage card to a router. > > Does the sfp/dsa driver support connecting SFP port to a DSA port? For > example the Marvell 6390 switch has two SGMII ports and 8 1Gbps PHYs. > One can then connect those 8 1Gbps PHYs to RJ-45 connectors, the first > SGMII port to the CPU and the second SGMII port to SFP. > > I think this is currently not possible, but am not sure. DSA recently gained support for PHYLINK which would allow you to do that, please make sure your tree has this commit at least: aab9c4067d2389d0adfc9c53806437df7b0fe3d5 ("net: dsa: Plug in PHYLINK support"). -- Florian