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