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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB8E3C04AAF for ; Thu, 16 May 2019 12:58:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7CBB920833 for ; Thu, 16 May 2019 12:58:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="U1FheUMG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727329AbfEPM6C (ORCPT ); Thu, 16 May 2019 08:58:02 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:37225 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbfEPM6C (ORCPT ); Thu, 16 May 2019 08:58:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=k5pbD5kNkKeKh6Y1AUdtZmslH/u5KZj8aj+X+d85ieo=; b=U1FheUMGauXkx7nMMSlKuK/84q umMEwujxE49i2QKqUDrr+eLMIFUs7D+sbZsoYCjVrUUEN9K5gcrestTsoFr1cPYHmrSC0uNOei8w4 coXtXIKLTcyUbvbaeMfnoPdhrxl0LLEJktF6PYx81dyWqMLhlOVWnOrAL2nYvBXTVjm0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1hRFxQ-00037Q-Ai; Thu, 16 May 2019 14:58:00 +0200 Date: Thu, 16 May 2019 14:58:00 +0200 From: Andrew Lunn To: Vladimir Oltean Cc: Russell King - ARM Linux admin , Florian Fainelli , Maxime Chevallier , Vivien Didelot , netdev , "thomas.petazzoni@bootlin.com" , Antoine Tenart , Heiner Kallweit Subject: Re: dsa: using multi-gbps speeds on CPU port Message-ID: <20190516125800.GC14298@lunn.ch> References: <20190515143936.524acd4e@bootlin.com> <20190515132701.GD23276@lunn.ch> <20190515160214.1aa5c7d9@bootlin.com> <35daa9e7-8b97-35dd-bc95-bab57ef401cd@gmail.com> <20190515161931.ul2fmkfxmyumfli5@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > My basic idea is to interface a Raspberry Pi-like board to a dumb > "switch evaluation board" which has only the Ethernet ports and the > SPI/whatever control interface exposed. The DSA CPU/master port combo > in this case would go through a Cat5 cable, which is not going to pan > out very well currently because both the RPi-side PHY and the switch > board-side PHY need some massaging from their respective drivers. Both > PHYs are C22. Hi Vladimir There are a number of boards like this, back to back PHYs. But they all have the switch PHY strapped so they start on power on and auto-negotiate. DSA then just works. Andrew