Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp622040pxy; Wed, 21 Apr 2021 10:43:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmCQbA1Gx6e4fFovWdj+a0ice/CceWZzJMJJ0vXvFQLV2Pk+EoTsca3kdlCXlDw19601EB X-Received: by 2002:a17:906:6a15:: with SMTP id o21mr33572562ejr.40.1619027011809; Wed, 21 Apr 2021 10:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619027011; cv=none; d=google.com; s=arc-20160816; b=rDgzrKSaAe2TihMZCev9vxUq15qsNq2e1gWJt/B29pdBoW5H2xTfXCeaFcZ8tFh6qi Np0oGWRGtYrGpTq0JnO9iORuYO2Dzxfg3dSxITC42gA6AHek+Ll7zbx+rX7JijN2U5ZC jaL5SnYqFAWMLiDYjWcpGfdQgE0JtjS9ml8ZBrgRt1LoQk3PXyrM6UVxpBLaQmDMEbjC LdPDnEZl4HTSdanJt5NjQ5gPv7+RHgxeWedI2IoEK2URvXgp1cCVJaaNWJNvcBZXiO6k pWQ8LGMTzZzrZ07jKL4+11KbDSgquIvUAbvu7YhMNmFRNbXtZgGfuYCJSaXs8aBFalFs U2WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:sensitivity:importance :date:subject:cc:to:from:message-id:mime-version:dkim-signature; bh=eo1nK0UD2a7QXD/BCB5NO5zSj3zAXmk7v82G2w6ov4I=; b=lk8zMia89p2qxkGmaOBoPA1Ts8N7gsz3r1X/PwhvsC/PXdY1x4yWryi/EROlLIxPub OCCWiN+dodooECbaR+6WtDbhJVdNp8Wy781U4ztFSQqTU3XL+Q7sUiJS2Y9nKC87ytRz 7vBiNh9u7ObL7LgZbphp4oJYJC5N6MDZAumBIq/UjTUWYC3h4SFZg4ejzrcanm/s6x+z zZZcVruHa2E3iNDsQiaVahoj3GL0CwoRgziJ2RGoQ6Q7Is8EEGDudrv4KjxMvOx3+RwM F0zzQrkJ7v95OQlLHVbTdq9LOPOV+6p04eRWL7qRTugdNLxMq5cOUne2FQiQl0764YdU F8rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=G+fxJoRk; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si2758260edr.347.2021.04.21.10.43.08; Wed, 21 Apr 2021 10:43:31 -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=pass header.i=@gmx.net header.s=badeba3b8450 header.b=G+fxJoRk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243248AbhDUOFn (ORCPT + 99 others); Wed, 21 Apr 2021 10:05:43 -0400 Received: from mout.gmx.net ([212.227.17.22]:56801 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235887AbhDUOFl (ORCPT ); Wed, 21 Apr 2021 10:05:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619013874; bh=eo1nK0UD2a7QXD/BCB5NO5zSj3zAXmk7v82G2w6ov4I=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=G+fxJoRkgDWQqoVA/oCFNizQN28RLwvucCkG4u4LUS13DuzyCAR10TCUyD06nCofG ktc2+sk1UiidCDYbv0oth/EwiWC8eym5yn/GmOCsMA9NdU0NWWicPpnSZjYjm93O9s KF+ZykHc+hPXTY42qP9sVj0rp1RujzEaHoeKMbM4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [80.245.77.133] ([80.245.77.133]) by web-mail.gmx.net (3c-app-gmx-bs34.server.lan [172.19.170.86]) (via HTTP); Wed, 21 Apr 2021 16:04:34 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Ilya Lipnitskiy Cc: Rob Herring , "David S. Miller" , Jakub Kicinski , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Matthias Brugger , Russell King , netdev@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?UTF-8?Q?Ren=C3=A9_van_Dorst?= Subject: Aw: Re: [PATCH net-next v2 2/2] net: ethernet: mediatek: support custom GMAC label Content-Type: text/plain; charset=UTF-8 Date: Wed, 21 Apr 2021 16:04:34 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: <20210419154659.44096-1-ilya.lipnitskiy@gmail.com> <20210419154659.44096-3-ilya.lipnitskiy@gmail.com> <20210420195132.GA3686955@robh.at.kernel.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:sV5Mlbn73eWH7aiVlwaybpsQCFZyxd8vwbmUGt69EWlA1fnqNSM9XL/OwUTnRLA5pwmJ2 gQkOKxpSNkq6/G3e221sldSrvVJLEN4B49Qny4npb20S0MhCGfh0wrdacbeBD/nargGhUw2I7I5m I99HhDGPZSLFTC/zJEQhrTf4sJ7+6nT2AQu9uZLnD84WejyQBaFQZMMuNpHJdGVRAYllNzG7loj4 Gf6K304Da2vxOZP1JyzFMtzwfeh81dRZHl+2GW69itbKKoKMzWtgkXQ1d2CHNHQaHTbgHAVGY+rW P0= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Z2mfGzqKo3A=:7BgbnqxAImJaah8rUDd72I qd9iee+wk72p/Y+dXXy+REOgl5yfZHwf4KOIwbXQ4SOZPHo3dgu7MNwpkGTS0N+4iNTbwggOX ctORwLVkjE7QoBlZLU0RBC6JpGFZb0gVOoLpALJwzHV9kfwhyTq0YwdecwIennA5diIsyFl6u +eDtmPFQAGVrcusQ2RngtfIftgPhmiZ4aMkfWzV+QfaUx9wjCf4sLpw6+KBAaXSLymW6FLCOt u67DE3xm5QTYs3rZfoKBFNM5oAx5FiY1pjUV76MWmsUZFXsPxU6voxOh15CH5t9esDGdb6Cyj 54qZ+K5QuGVsSpLgUC9xGtbBi/BQjMkM+Zr2b0exGKaeyniIaeTi3vDuuRX1Z/ZgrICmO7w+G /lSqUT9dnFfBBfYzxNfNBJTpKHeUCNDtKHqK/QM+KJRvFdCaeV7Wo4HrM4R47Ymp6Em7RiT8r k12pTc/fB0ZQnFEVhSPmIAcGBMRbRWqQffoHJTsD6B0nH69C+PcgsqFGNyli89FXqPZuJ1pLr DCITTDUsUy1TfhafZOMiw+AqNh7fOQPazWrpSmr0ui8Darhm+dEw6U/lNLBlhqWFLAfOlarvi q5Dn1CNvLeRjGKRnq6v4KdWrogCp5dLFQrlpzMORRtkpHyAwTsPj8mBAp42ltz/kfqBp0H/Dt 6cZr5FZhVMceWm6R+P8m505ySlRkX/MsnPnKRT57l5fa4XxLYdAEQRS1Jy+pfoA69A8j44Byw YRi4CtB4eiB/JKOptodiWl5nnYIs6H6DIRGXZgrhZCDFiElEVj572TAKYmMWAGi+q90VkzIm5 N3YMTjWFekP3kFSV9/ZR372038pW0j+0ijryhNruduR4LIjCXJY2J6OrIFAUzTM68Y7hjCuBq ZWyWRmxE0zfwVUlIHTCJBmMaSaZcQiHhPA5qzSfJE+vAatagR1ewYZ2yDZFoO81/25igrac+K 9DcCk+d7Igg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, for dsa slave-ports there is already a property "label", but not for master/cpu-ports https://elixir.bootlin.com/linux/v5.12-rc8/source/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts#L163 handled here: https://elixir.bootlin.com/linux/v5.12-rc8/source/net/dsa/dsa2.c#L1113 @ilya maybe you can rename slave-ports instead of master-port without code change? i also prefer a more generic way to name interfaces in dts, not only in the mtk-driver, but the udev-approach is a way too, but this needs to be configured on each system manually...a preset by kernel/dts will be nice (at least to distinguish master/cpu- and user-ports). regards Frank