Thread (14 messages) 14 messages, 4 authors, 2d ago

Re: [PATCH net-next 0/2] dpaa2-eth: devlink port number from the DPMAC

From: Vincent Jardin <vjardin@free.fr>
Date: 2026-09-24 11:58:23
Also in: lkml

Hi Ioana,
Is consistent naming the end goal? Because renaming can already be done
for DPAA2 network interfaces based on the of_node. I usually have
something like below in my udev rules file:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="fsl_dpaa2_eth", \
	ENV{OF_FULLNAME}=="/soc/fsl-mc@80c000000/dpmacs/ethernet@1", NAME="endpmac1"
It was the root of my initial investigation, but I need more:
  - I need to have an attribute that I can use from the userland to name and
    rename many times, so in between it I would need something to rely with
  - cosmetic: just have a propver devlink
Anyhow, I will give the series a spin tomorrow.
Thanks: it should not hurt, and devlink should be more coherent then.

best regards,
  Vincent
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help