Re: [PATCH] net: can: Add support for aliases in CAN

From: Kumar, Udit
Date: Fri Jan 12 2024 - 10:24:10 EST


Hi Marc

On 1/2/2024 4:43 PM, Marc Kleine-Budde wrote:
On 02.01.2024 15:59:49, Bhavya Kapoor wrote:
When multiple CAN's are present, then names that are getting assigned
changes after every boot even after providing alias in the device tree.
Thus, Add support for implementing CAN aliasing so that names or
alias for CAN will now be provided from device tree.
NACK, please use udev or systemd-networkd to provide stable names for
CAN interfaces.

Would you like to re-consider this NACK.

From kernel side,

IMO if aliasing is set in device tree then kernel should provide consistent baseline names.

However, distributions may choose different or other stable naming,

Also, if some distribution want to rely on kernel naming they still can do.

Thanks


regards,
Marc