Subject: Re: [PATCH net-next] rtnetlink: Allow setting IFLA_PERM_ADDRESS at device creation time

From: Toke Høiland-Jørgensen <[email-masked]>
Date: Thu, 13 Feb 2025 17:13:53 +0100

Jakub Kicinski <[email-masked]> writes:

> On Thu, 13 Feb 2025 14:45:22 +0100 Toke Høiland-Jørgensen wrote:
>> Eric suggested[0] allowing user-settable values for dev->perm_addr at
>> device creation time, instead of mucking about with netdevsim to get a
>> virtual device with a permanent address set.
>
> I vote no. Complicating the core so that its easier for someone 
> to write a unit test is the wrong engineering trade off.
> Use a VM or netdevsim, that's what they are for.

Hmm, and you don't see any value in being able to specify a permanent
identifier for virtual devices? That bit was not just motivated
reasoning on my part... :)

-Toke