netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Iulian Gilca <igilca1980@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>,
	igilca@outlook.com, Heiner Kallweit <hkallweit1@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] of: net: Add option for random mac address
Date: Thu, 10 Oct 2024 23:54:35 +0100	[thread overview]
Message-ID: <ZwhbK_QKm8oSHcO6@shell.armlinux.org.uk> (raw)
In-Reply-To: <20241010215417.332801-1-igilca1980@gmail.com>

On Thu, Oct 10, 2024 at 05:54:17PM -0400, Iulian Gilca wrote:
> Embedded devices that don't have a fixed mac address may want
> to use this property. For example dsa switch ports may use this property in
> order avoid setting this from user space.

As Andrew has already explained, DSA switch ports derive their ethernet
address from the ethernet address of the host MAC they are connected to,
and each port does not have its own ethernet address.

Please explain why you want to have DSA switch ports having their own
randomised ethernet addresses, and why this is advantageous over having
a stable ethernet address for the switch ports.

> Sometimes, in case of DSA switch
> ports is desirable to use a random mac address rather than using the 
> conduit interface mac address.

This is just a statement but gives no insight into _why_ you want this.

We want to know the reason behind this change.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

  reply	other threads:[~2024-10-10 22:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-10 19:05 [PATCH] of: net: Add option for random mac address Iulian Gilca
2024-10-10 19:53 ` Andrew Lunn
2024-10-10 20:29   ` [PATCH v2] User random address if dt sets so Iulian Gilca
2024-10-10 20:59     ` Andrew Lunn
2024-10-10 21:54       ` [PATCH] of: net: Add option for random mac address Iulian Gilca
2024-10-10 22:54         ` Russell King (Oracle) [this message]
2024-10-10 23:00         ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZwhbK_QKm8oSHcO6@shell.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hkallweit1@gmail.com \
    --cc=igilca1980@gmail.com \
    --cc=igilca@outlook.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).