Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp6281837pxb; Thu, 27 Jan 2022 10:12:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwj6X9RKqgiU1NfvgXNJqyDgIYddWsT2w1IvdQp1iCEHVQ7lomLN5y168lMi13l8F80kq3c X-Received: by 2002:a17:907:7e85:: with SMTP id qb5mr3850353ejc.557.1643307144078; Thu, 27 Jan 2022 10:12:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643307144; cv=none; d=google.com; s=arc-20160816; b=l0AEApleBJUIjaJNs3Y03QOpGIOQfxh3iityylsAHGAjV/SamJgm9QI1N5vewwwckz 1+Axj4Qws6c/PuQ8NWI9ic+WBHjUNVLa3qmeGRq66CAg4xFRqidNGINbi1tJjVKoZuph xnH7MCfqnilfbnG0uRa9jgXYnPVLYTnLmqYgr7KuFXYVu4cid21P4kui1HJFU11Ykre+ ki8pkPcN1L6UaVfSeY88wFvUgmrsrHDDpdVhjyiyTVqRrgSw7ID3hIyLueFUdv/ri5Wu p/odsl3vjl9b731A2HNDIG+yPlir0/XYpFgTOezTnRw90dl5w9J1sm8zd9u5jeAX3Bpc tQOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IT+EbDPovNOCOBGjF0AHrrDlejjr3wEe5V1ANGAbaMo=; b=lSgjiBsPshfJrdSm6gM/Zs/wOzKtmraxOJrRQV0DA4NrnRYmFLHOYH8Ig+0wTIw7ns YfknZOW/1bU693ctAmJ0XFcYKTivUK8PtixFMwv0Vv8yMXBk1v7ZdFSaL/fsAtyD270L At7bg3/EpjHFrfw7FAtUFLVe+UV+UEUGrpK3ypTMwFgDWyeZXefM77pOgtdw971JnHt9 1XJRxhbdyPup9wjaEJmwhi+/lckm9cFxfbnN7TpBhWFBTZN8z280Uz9oc38TVm96bdeN kgdfzf8fAILtkNWoENaa1HfEQqBDsf4iok+mEAWW7UKVyjXNYeq9plzabUoYbVFBqcoN naSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=btVtwLIn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j24si1621982ejo.556.2022.01.27.10.11.59; Thu, 27 Jan 2022 10:12:24 -0800 (PST) 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=pass header.i=@linuxfoundation.org header.s=korg header.b=btVtwLIn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239554AbiA0K5v (ORCPT + 99 others); Thu, 27 Jan 2022 05:57:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239773AbiA0K5i (ORCPT ); Thu, 27 Jan 2022 05:57:38 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8658C06173B; Thu, 27 Jan 2022 02:57:37 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7CB50B821EE; Thu, 27 Jan 2022 10:57:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AE7DC340E4; Thu, 27 Jan 2022 10:57:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643281055; bh=gbW+XTNZXr9hGyQb+2cyWJjlqaEnavG1SF4dDnxcuVI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=btVtwLIntJO6tkL3JKU7gbqQ9LN+0exFu0/1DBbxsFef+RuCqQzQ9mWR954qGAIit z60Pb47rocP0pc4n6smGTCdkIh0RvA3UpNKdmB3EemOhUXZ41/sTtBqYh5P7d0q1QU +WLYS/eXZ/7Ow0p0ZIr2AmWDU+NuBx4eNtQShQAQ= Date: Thu, 27 Jan 2022 11:57:26 +0100 From: Greg KH To: Oleksij Rempel Cc: Oliver Neukum , "David S. Miller" , Jakub Kicinski , Rob Herring , kernel@pengutronix.de, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next v1 4/4] usbnet: add support for label from device tree Message-ID: References: <20220127104905.899341-1-o.rempel@pengutronix.de> <20220127104905.899341-5-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220127104905.899341-5-o.rempel@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 27, 2022 at 11:49:05AM +0100, Oleksij Rempel wrote: > Similar to the option to set a netdev name in device tree for switch > ports by using the property "label" in the DSA framework, this patch > adds this functionality to the usbnet infrastructure. > > This will help to name the interfaces properly throughout supported > devices. This provides stable interface names which are useful > especially in embedded use cases. Stable interface names are for userspace to set, not the kernel. Why would USB care about this? If you need something like this, get it from the USB device itself, not DT, which should have nothing to do with USB as USB is a dynamic, self-describing, bus. Unlike DT. So I do not think this is a good idea. greg k-h