Re: [PATCH v7] igb: Assign random MAC address instead of fail in case of invalid one

From: Leon Romanovsky
Date: Wed Dec 14 2022 - 02:22:24 EST


On Tue, Dec 13, 2022 at 07:47:26AM +0000, Lixue Liang wrote:
> From: Lixue Liang <lianglixue@xxxxxxxxxxxxxxxx>
>
> Add the module parameter "allow_invalid_mac_address" to control the
> behavior. When set to true, a random MAC address is assigned, and the
> driver can be loaded, allowing the user to correct the invalid MAC address.
>
> Signed-off-by: Lixue Liang <lianglixue@xxxxxxxxxxxxxxxx>


I'm amused that we are in v7 version of module parameter.

NAK to any module driver parameter. If it is applicable to all drivers,
please find a way to configure it to more user-friendly. If it is not,
try to do the same as other drivers do.

Thanks