Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1290131pxb; Sun, 12 Sep 2021 14:09:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkL852UWer0QBoC4Ij/2SADjpdT4E3pvdmqifs1RcW5jgopC++5fOeyKQbv0xzCEoxsPbU X-Received: by 2002:a92:cbc6:: with SMTP id s6mr5625026ilq.260.1631480949756; Sun, 12 Sep 2021 14:09:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631480949; cv=none; d=google.com; s=arc-20160816; b=AMD3am+mKoGwVmjtYCEb9ucCrMt0vFpnY7iAshWx9sDLDBmPYqjxtc7762VNHPdslr Zp7KiDFshYjmf+NtPoACkInlR+Y3VElNYRiStcbXHiGUsTf5j0gGy7F+1Kx8pvmW9655 s68OVRV55zf7vCQQoHAm9PFvmr0hyIswgTC/KdHat31deBp86uW6Fwvw9K4m+OFyWvWL v1SKgucYT2npbrqMe4N0PxNFnhguPbTTW7vRFY6GhC719PsCV9grZ/GROOhFg25uK2J3 MYlAik4Yl22oEOraqoJ9VGIzlMqLF/czTiAGZswrNqtDeNumYmxSoPfKetaoIie3dOYS 5ilQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :dkim-signature:dkim-signature; bh=mkRpGHmdJF3f4VUu9ZIMiGiTNXdGreWTcrs7p2zXik0=; b=LsRbdx6Rn0pw53qzb3NSdKQyopthXrP5ldorlh+xRXnh7BGiv5UES29OpEYPD9ZLun jb4ozyOBmCi2PYcVtPIM34L3UvJW1T+1GSilUA1M4XBzh/15/cfTNDBWC0KKNJNwvzx6 ZX/8HdDViOFLT2v71RMCs6Q1vYCXhLH8tgpbYrIz3yF98lCMMiFlH2TMK4Bdwm9HAXcG enV+saA/1NFigBxY0yB7nRxYJ8IyLSOPGGea4dd813s+QA8AD0awVx0LtW440M8MuDKx ANDswFfWIjFqnpkBlWQNStBbVn394AbfVSRqJzD1DE/bt/jO23PPO3uu6LkhjP30vbMG azWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fastmail.com.au header.s=fm1 header.b=fxVlL1oz; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=RywLMun3; 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=fastmail.com.au Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b12si4351460ila.38.2021.09.12.14.08.58; Sun, 12 Sep 2021 14:09:09 -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=@fastmail.com.au header.s=fm1 header.b=fxVlL1oz; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=RywLMun3; 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=fastmail.com.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236173AbhILVJB (ORCPT + 99 others); Sun, 12 Sep 2021 17:09:01 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55975 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235034AbhILVJB (ORCPT ); Sun, 12 Sep 2021 17:09:01 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3E5EF5C0046; Sun, 12 Sep 2021 17:07:46 -0400 (EDT) Received: from imap46 ([10.202.2.96]) by compute1.internal (MEProxy); Sun, 12 Sep 2021 17:07:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com.au; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=mk RpGHmdJF3f4VUu9ZIMiGiTNXdGreWTcrs7p2zXik0=; b=fxVlL1ozOzGjAqYIva rHCoQEROPYliyrGGm2wYbNgm5899u+ceGh6JO/I8JAVxWt39/S9FtDi2Ig5oNLOd Lnrvg2zw30rde6yZ3lGLui+CLveWzp9gAJDNG8SL0TWnxYij+CbflsswIbbgLhhJ WQi/HheOiq6D0I9yrMRHbkvzR5a8bSmATeVVc7Vj1Sfu0SDsI104XdvW2YrOqIiE ZqhKoroSbPk85E3qwUlp1KtNnpKxfYac7Cv16KEvU0NOETZkA662XTmM3zqrvAeX ixdAIy/0IelQQk/1Jv8MAP4CNRjebks2TaORa4AG/Km4STG2U0GZNIZMUUb/d8Bb 0m3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=mkRpGHmdJF3f4VUu9ZIMiGiTNXdGreWTcrs7p2zXi k0=; b=RywLMun3lGx6nY6vRq69e7fwogZd6KMauG0ZiVds+qCl2ZdLHKawXRdPg d3RRj1VQk0dE9+IWfzKm7In9TdTLtV4zWVuVwpchOqiCmgK1eiToTnruYwu7wJ5Z z36djf+MdGvJ2Ns8NWgJ6pXHTBcD6ZeGHuYGS+gH/vUgRX7Jif5OF9R+517R8S1z RKitbR7hPZV96tPlg4QxOCG1NmIukQDe+Ne3OFi5N1nDUsymXLxdnlHFReSANsar Ef3ORcrLCH4kqyzFKbXn5VL9sAgLxeU5rP1/V9oVKUbjyUUcGVeyg1l1vsf0kw/B sYIEY0sAvfLW2eDeK3D5EnJauIQhg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeghedgudehgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfl ohhhnhcuvfhhohhmshhonhdfuceolhhishhtshesjhhohhhnthhhohhmshhonhdrfhgrsh htmhgrihhlrdgtohhmrdgruheqnecuggftrfgrthhtvghrnhepjedttdejvdfgjeehheek veekleelfffgledugefhjeegvdekudduhedtvdfhkeelnecuffhomhgrihhnpehkvghrnh gvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehlihhsthhssehjohhhnhhthhhomhhsohhnrdhfrghsthhmrghilhdrtghomhdrrg hu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 50C2E1EE0064; Sun, 12 Sep 2021 17:07:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1229-g7ca81dfce5-fm-20210908.005-g7ca81dfc Mime-Version: 1.0 Message-Id: <7d1a7607-15fc-4dd6-9317-c6161c4984db@www.fastmail.com> In-Reply-To: References: <20210608190327.22071-1-vadym.kochan@plvision.eu> <20210608190327.22071-4-vadym.kochan@plvision.eu> Date: Sun, 12 Sep 2021 21:06:39 +0000 From: "John Thomson" To: "Vadym Kochan" , =?UTF-8?Q?Jan_L=C3=BCbbe?= Cc: "Srinivas Kandagatla" , "Rob Herring" , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, "Robert Marko" Subject: Re: [PATCH v2 3/3] nvmem: add ONIE nvmem cells parser Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vadym, On Wed, 8 Sep 2021, at 09:56, Vadym Kochan wrote: >=20 > Hi Jan, >=20 > Jan L=C3=BCbbe writes: =E2=80=A6 >=20 > > I think it would be useful to have a way to express this setup for s= ystems with > > many interfaces, but am unsure of where this should be described. Ma= ybe a "mac- > > address-offset" property in the generic ethernet controller binding? > > > > Regards, > > Jan >=20 > May be something like eth_address_provider should be introduced in > net/ethernet/ ? >=20 > This provider can provide something like eth_provider_address_next() w= hich > will consider "mac-address-num" (or other specific fields). >=20 A patch series proposed the devicetree property mac-address-increment, but it did not get support at the time: of_net: add mac-address-increment support https://lore.kernel.org/all/20200920095724.8251-4-ansuelsmth@gmail.com/ dt-bindings: net: Document use of mac-address-increment https://lore.kernel.org/all/20200920095724.8251-5-ansuelsmth@gmail.com/ Cheers, --=20 John Thomson