From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: Is it currently possible to connect SFP to dsa port? Date: Tue, 7 Aug 2018 21:58:20 +0200 Message-ID: <20180807195820.GA7275@lunn.ch> References: <20180807210023.0dc3d498@nic.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Russell King - ARM Linux To: Marek Behun Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:57689 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727312AbeHGWOV (ORCPT ); Tue, 7 Aug 2018 18:14:21 -0400 Content-Disposition: inline In-Reply-To: <20180807210023.0dc3d498@nic.cz> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Aug 07, 2018 at 09:00:23PM +0200, 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. Hi Marek I'm currently working on exactly this! My primary aim is to allow SFP on ports 9 and 10. ports 2-7 can also be connected to SFPs, but that is a bit harder, so it is going to take me a little longer. I hope i can post patches in the next few days. Andrew