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

From: Marc Kleine-Budde
Date: Fri Jan 12 2024 - 11:18:23 EST


On 12.01.2024 20:53:32, Kumar, Udit wrote:
> 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.

This is not a CAN device specific problem. If you want to change this,
talk/convince the networking people.

> 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.

regards,
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |

Attachment: signature.asc
Description: PGP signature