Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp760250pxb; Fri, 3 Sep 2021 12:48:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXX2irl8OIct/z94cfcW9s+XMI07U+cYyYTs3sgwmX/STSfg3SsunmCyKqaKI59JGjpfEV X-Received: by 2002:a17:906:8597:: with SMTP id v23mr562835ejx.178.1630698532660; Fri, 03 Sep 2021 12:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630698532; cv=none; d=google.com; s=arc-20160816; b=Fd9/qJAgnQTPFX1RrAyw1ceAxPHU8Qm5eksTteTpMXAR8RHZBOYRbtdvPQJ93oxS40 M+BHGx/PVu1HzFhQwjCcYV+wrNzqh2lbJPkRrHLA29oSXU7IEYqJ6hKqm8Qg1I1E9rko 6tNBg9bK+F/5074Eor04KYluSvLP6abTG/KsDp2kkMJ82qra/bNL6b0WfUOfGUUUdo6N NoM4dnP4yZnCkHNGJBhrKQxlw5iP39LDchzZXSBJ/0eUuZn1knLQ2VK5xSmB39x+PKgh B1eIJE8QkazJ4+YGY9cX93QAQBy4Q6+/C7YKlkVx5/rIU6ZRuTnfpgoinsu7zwbXOFG/ YJMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rhoMpaz0xowX46wxPAfe4wFu/SzLsMfcH3aSjenZa3I=; b=UxCAOBrVZlYaJIMLGl7dM2o6gcPm9TL7MjwyO2yKH5iytfx8UxJsRjRCu33dqrry6N q4WPQoaBomAgBQ9IXPNvWKASclEspHUwPC3BSQxkQilQyST5v+cpXhFJmaBU5IxgUdLU gFLF4TIGJO6odL6TdkGG8MnFTYdKoWLCs6xfZoMHKt2p+VZtDpkvhANkuP/1wYsF5YC4 +kwh/NR80C8pb8XDrD4VP8+kXQcPvwGPTcYefM22U9NwOhjJWROMBmir4meBpbePb08U faKfy7Um4oh9yCAluWnUu0H/XYrK47HoEFiwN7EfUAtnxbjHRoOe+AmRID5C3sWU4VH1 6hHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ZVlmlPOW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l22si351709eds.481.2021.09.03.12.48.28; Fri, 03 Sep 2021 12:48:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ZVlmlPOW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350464AbhICS7y (ORCPT + 99 others); Fri, 3 Sep 2021 14:59:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235938AbhICS7x (ORCPT ); Fri, 3 Sep 2021 14:59:53 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C374C061575; Fri, 3 Sep 2021 11:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: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=rhoMpaz0xowX46wxPAfe4wFu/SzLsMfcH3aSjenZa3I=; b=ZVlmlPOWj/yOVsOmuHvNvqRce qg0ahkp8aX18oUCVZM5GK724VmaLBAb+9AfGFqdtFWaiFJ7gKpAbP5imaiVKX7vA9Bjhy6xCAbp2V FygY5w4D5gO1z2qHd3iWAvJHqlZu1jHJv9HUyVPEh2f4KcsntIFhF14hYP8mdkw80sofT78HxDDMT HmXik5mRk2CetFFZ4PyAjnsXVXQHhZ6Ly0wSjcCfsHJIxK7ROxi0lURjrdcq4dR2JL4WW045dnYyK K7YKpMHdC4zNoufvZtqX7QAa5EI0o+Fv7hgUck3EBj9qap3JmxGUyIoDulygaXg08AVaUdrBhpHTL 3jIARJpYQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:48180) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMEOp-0003Rl-7F; Fri, 03 Sep 2021 19:58:51 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1mMEOo-0000ja-TN; Fri, 03 Sep 2021 19:58:50 +0100 Date: Fri, 3 Sep 2021 19:58:50 +0100 From: "Russell King (Oracle)" To: Andrew Lunn Cc: Vladimir Oltean , Vladimir Oltean , "netdev@vger.kernel.org" , Vivien Didelot , Florian Fainelli , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH net-next 0/3] Make the PHY library stop being so greedy when binding the generic PHY driver Message-ID: <20210903185850.GY22278@shell.armlinux.org.uk> References: <20210902152342.vett7qfhvhiyejvo@skbuf> <20210902163144.GH22278@shell.armlinux.org.uk> <20210902171033.4byfnu3g25ptnghg@skbuf> <20210902175043.GK22278@shell.armlinux.org.uk> <20210902190507.shcdmfi3v55l2zuj@skbuf> <20210902200301.GM22278@shell.armlinux.org.uk> <20210902202124.o5lcnukdzjkbft7l@skbuf> <20210902202905.GN22278@shell.armlinux.org.uk> <20210903162253.5utsa45zy6h4v76t@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 03, 2021 at 07:21:19PM +0200, Andrew Lunn wrote: > Hi Russell > > Do you have > > auto brdsl > > in your /etc/network/interfaces? > > Looking at /lib/udev/bridge-network-interface it seems it will only do > hotplug of interfaces if auto is set on the bridge interface. Without > auto, it only does coldplug. So late appearing switch ports won't get > added. I think you're looking at this: [ "$BRIDGE_HOTPLUG" = "no" ] && exit 0 ? Just before that is: [ -f /etc/default/bridge-utils ] && . /etc/default/bridge-utils and /etc/default/bridge-utils sets BRIDGE_HOTPLUG, which is by default: # Shoud we add the ports of a bridge to the bridge when they are # hotplugged? BRIDGE_HOTPLUG=no and... none of this seems documented. Not in /usr/share/doc/bridge-utils/README.Debian and not in the bridge-utils-interfaces(5) man page. This is all a bit rubbish, really. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!