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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,UNPARSEABLE_RELAY 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 A0406C282C3 for ; Wed, 23 Jan 2019 00:00:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7113520856 for ; Wed, 23 Jan 2019 00:00:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726880AbfAWAAu (ORCPT ); Tue, 22 Jan 2019 19:00:50 -0500 Received: from simcoe208srvr.owm.bell.net ([184.150.200.208]:50849 "EHLO torfep02.bell.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726175AbfAWAAu (ORCPT ); Tue, 22 Jan 2019 19:00:50 -0500 Received: from bell.net torfep02 184.150.200.158 by torfep02.bell.net with ESMTP id <20190123000048.SXRZ12500.torfep02.bell.net@torspm02.bell.net> for ; Tue, 22 Jan 2019 19:00:48 -0500 Received: from [192.168.2.49] (really [70.53.62.20]) by torspm02.bell.net with ESMTP id <20190123000048.ETTV19016.torspm02.bell.net@[192.168.2.49]>; Tue, 22 Jan 2019 19:00:48 -0500 Subject: Re: net: phylink: dsa: mv88e6xxx: flaky link detection on switch ports with internal PHYs To: Andrew Lunn Cc: Russell King , Vivien Didelot , Florian Fainelli , netdev@vger.kernel.org References: <49eec816-9238-c893-0860-602aa8965515@bell.net> <20190122231201.GE3634@lunn.ch> From: John David Anglin Openpgp: preference=signencrypt Message-ID: Date: Tue, 22 Jan 2019 19:00:46 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190122231201.GE3634@lunn.ch> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Cloudmark-Analysis: v=2.2 cv=IPLtMknG c=1 sm=0 tr=0 a=O1s9vCNsZHvkjbFmGvGkaA==:17 a=IkcTkHD0fZMA:10 a=3JhidrIBZZsA:10 a=FBHGMhGWAAAA:8 a=D82o97-FexSu_kEqkFAA:9 a=LbAnUjSvJHZcjH8i:21 a=FUNKk__xHSjwKo-K:21 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 2019-01-22 6:12 p.m., Andrew Lunn wrote: > I just booted my espressobin with net-next. It is running Debian, and > i have the following in /etc/network/interfaces > > source /etc/network/interfaces.d/* > > # The loopback network interface > auto lo > iface lo inet loopback > > # The primary network interface > allow-hotplug wan > iface wan inet dhcp > pre-up ip link set eth0 up > > allow-hotplug lan0 > iface lan0 inet static > pre-up ip link set eth0 up > address 10.42.42.42 > netmask 255.255.255.0 > > my wan port got its IP address from DHCP. Your configuration is different.  I have the wan, lan0 and lan1 ports configured as a bridge and they don't get IP addresses.  The only port that gets an IP is br0. Dave -- John David Anglin dave.anglin@bell.net