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.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 36EBAC282C3 for ; Tue, 22 Jan 2019 20:28:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0701520870 for ; Tue, 22 Jan 2019 20:28:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="z0UdUv4c" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726271AbfAVU2q (ORCPT ); Tue, 22 Jan 2019 15:28:46 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:52039 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbfAVU2q (ORCPT ); Tue, 22 Jan 2019 15:28:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=Mhi1cyXi2Ew5zOFCgit06Qmkk6+voskLwduZPlYtTXI=; b=z0UdUv4cD6BY4vXOkUkMkytqGiu2v8lseejMUQeA/5otWg/QTcHgnvs+SNsnjPPdpceLZAicoKX1iQDgDkl5AjTnSz6pnf1qDyPnfSLVGfO93ZypTRGV1KNVoITLMLBK/WRKZaJhGhhjjlDZvC0zhJJa02G/FIh72k0CawyrbCo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1gm2ew-0004QV-6k; Tue, 22 Jan 2019 21:28:34 +0100 Date: Tue, 22 Jan 2019 21:28:34 +0100 From: Andrew Lunn To: John David Anglin Cc: Russell King , Vivien Didelot , Florian Fainelli , netdev@vger.kernel.org Subject: Re: net: phylink: dsa: mv88e6xxx: flaky link detection on switch ports with internal PHYs Message-ID: <20190122202834.GB12052@lunn.ch> References: <49eec816-9238-c893-0860-602aa8965515@bell.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49eec816-9238-c893-0860-602aa8965515@bell.net> 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 On Tue, Jan 22, 2019 at 02:16:09PM -0500, John David Anglin wrote: > I've been hacking on a espressobin board to try to improve ptp support, > etc.  However, I have > a big problem with link detection on the wan, lan0 and lan1 ports. > > I have a standard bridge configuration using systemd-networkd.  Hi John Does it make a difference if you do it by hand? Bring up the master interface, wan, lan0, lan1, add any bridge you need, etc. > From power on, none of the wan, lan0, lan1 or br0 achieve link > (LOWER_UP).  Is the master interface up? What does ip link show give? Andrew