From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH net-next v4 0/2] Add mii_bus to ixgbe driver for dsa devs Date: Tue, 4 Dec 2018 11:40:38 +0100 Message-ID: <20181204104038.GB741@lunn.ch> References: <20181203163227.5107-1-stephend@silicom-usa.com> <20181203201432.18252-1-stephend@silicom-usa.com> <19b22292-f2b3-ccb8-bb37-0952cfa93135@gmail.com> <5c8b517a-6632-931d-c695-ec8a5302bfa4@silicom-usa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Steve Douthit , Jeff Kirsher , "David S. Miller" , "intel-wired-lan@lists.osuosl.org" , "netdev@vger.kernel.org" To: Florian Fainelli Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:60440 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725769AbeLDKkw (ORCPT ); Tue, 4 Dec 2018 05:40:52 -0500 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: > Yes the current solution whereby we need to get a hold on the network > device's struct device reference is not quite ideal, AFAIR, Andrew has > had the same problem. Yes, it is not nice, and there is a race with systemd renaming the interfaces using its naming rules. We need a way to lookup an interface based on a bus location, or similar, not by name. Andrew