udev is the best place to rename devices. Use line like this one, just sync with real device id, type, PCI number,
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{dev_id}=="0x0", ATTR{type}=="32", KERNELS=="0000:04:00.0", NAME="mlxn1"
udev is the best place to rename devices. Use line like this one, just sync with real device id, type, PCI number,
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{dev_id}=="0x0", ATTR{type}=="32", KERNELS=="0000:04:00.0", NAME="mlxn1"