lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <7d1a7607-15fc-4dd6-9317-c6161c4984db@www.fastmail.com>
Date:   Sun, 12 Sep 2021 21:06:39 +0000
From:   "John Thomson" <lists@...nthomson.fastmail.com.au>
To:     "Vadym Kochan" <vadym.kochan@...ision.eu>,
        Jan Lübbe <jlu@...gutronix.de>
Cc:     "Srinivas Kandagatla" <srinivas.kandagatla@...aro.org>,
        "Rob Herring" <robh+dt@...nel.org>, linux-kernel@...r.kernel.org,
        devicetree@...r.kernel.org,
        "Robert Marko" <robert.marko@...tura.hr>
Subject: Re: [PATCH v2 3/3] nvmem: add ONIE nvmem cells parser

Hi Vadym,

On Wed, 8 Sep 2021, at 09:56, Vadym Kochan wrote:
> 
> Hi Jan,
> 
> Jan Lübbe <jlu@...gutronix.de> writes:
…
> 
> > I think it would be useful to have a way to express this setup for systems with
> > many interfaces, but am unsure of where this should be described. Maybe a "mac-
> > address-offset" property in the generic ethernet controller binding?
> >
> > Regards,
> > Jan
> 
> May be something like eth_address_provider should be introduced in
> net/ethernet/ ?
> 
> This provider can provide something like eth_provider_address_next() which
> will consider "mac-address-num" (or other specific fields).
> 

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,
-- 
  John Thomson

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ