Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp632123rwb; Wed, 16 Nov 2022 05:48:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf6z24CEzeRi91u4GCkAu68cgQtjSTEOzT6aXixV0Y2YG/d8HN/Hpx1mIlmgu3OBXkgxSie7 X-Received: by 2002:a05:6402:205c:b0:461:9e1f:222b with SMTP id bc28-20020a056402205c00b004619e1f222bmr18627445edb.312.1668606525395; Wed, 16 Nov 2022 05:48:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668606525; cv=none; d=google.com; s=arc-20160816; b=nRPWbqNnuv0cNdKuWUgnpcjl9PC5qJ7wdFgjzD8Cd/W9zexDtP28uPjD+ng9Cwh9Zo 8Zqz2JODZjTL25aCCawJzfe8JXKQzWhkenBIkTvZYgIcsSMRCStlRhDcUY+fn+cYq6rE uqAA5mPmggt6zrCXXZLfkwCOapnJqch+jCK+FCg0MzTpbpP1U/zm9QOsmkZnIWUcZWfD DGKOHSWWA7ZqDtoWKvZk7PSXg8SR41aXQqzp5CsIpjLky4ovJMQh2UGlti6uVNPzVRQm DnwNkowHRwQ6xXg1xNRFYYkmu3Ek2jZABGqjQBTD5owzE94yjJreqrmE5eAtSCHbTIjR 7Ypg== 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=8CNKONbPsHVuBjhN3Yan5ZJSnMHP9Xc3XGVCDVQAigA=; b=Nnk7DDLNVYFMv1PnarcG1F1GbRGecq5HKnvhrNiYfBK9zdDKAo6kCRO2QISxXtYPA7 tJW0Q/u8yrTIjWAfnjCVOTZvp0AuMhm/7lQUrXJTaOxAIGuWBdCINcxPNH+IIvUFLWFq uaL3h7PgH4dWZgU1HTp8uJSML2Gbm4j5dywFH+fRGHr7tLF5TMJ7AqRGIgBfuwDyKnSj y9soFZuNS1FqJu/ziAoj8ePpHNK9PXCYHqhbNpFUaIhcZe6yFl4awJ2zLWSGxsDoHDNT 0iTvN9Voqcn3ORgks5CDzv0zep8s2KgV+QKI6IQNsJ7PHHAx3+G5MN5gopnGQVK6eCME Ahrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=GKC6ocAB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg30-20020a170907971e00b007881b45441asi14554257ejc.721.2022.11.16.05.48.22; Wed, 16 Nov 2022 05:48:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=GKC6ocAB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233066AbiKPNlH (ORCPT + 91 others); Wed, 16 Nov 2022 08:41:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230442AbiKPNlA (ORCPT ); Wed, 16 Nov 2022 08:41:00 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A48AA220F1; Wed, 16 Nov 2022 05:40:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=8CNKONbPsHVuBjhN3Yan5ZJSnMHP9Xc3XGVCDVQAigA=; b=GKC6ocABvjkEElZznIZqXoz669 5h+S5XRBU73za3jo4gMh6BVZbXwsLT4giRS86TN2XE8PfEX7t3B4qnQSQO8/wD/+FCH8gXhCc4tUe Jn6oNCGm8Azt7roWsVJB/WRLmJOx83uPKsvOZr/GBYuwZZQVajKlHRUmciIfEc6ho/44=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ovIel-002ZU9-0H; Wed, 16 Nov 2022 14:40:47 +0100 Date: Wed, 16 Nov 2022 14:40:46 +0100 From: Andrew Lunn To: Rasmus Villemoes Cc: Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/3] net: dsa: refactor name assignment for user ports Message-ID: References: <20221115074356.998747-1-linux@rasmusvillemoes.dk> <20221116105205.1127843-1-linux@rasmusvillemoes.dk> <20221116105205.1127843-2-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221116105205.1127843-2-linux@rasmusvillemoes.dk> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 16, 2022 at 11:52:02AM +0100, Rasmus Villemoes wrote: > The following two patches each have a (small) chance of causing > regressions for userspace and will in that case of course need to be > reverted. > > In order to prepare for that and make those two patches independent > and individually revertable, refactor the code which sets the names > for user ports by moving the "fall back to eth%d if no label is given > in device tree" to dsa_slave_create(). > > No functional change (at least none intended). > > Signed-off-by: Rasmus Villemoes Reviewed-by: Andrew Lunn Andrew