Erik Nordmark wrote: > Cathy Zhou wrote: >> If I understand correctly, today it is using the /devices clone node >> of a specific device, and that will not be changed. > > Are there any issues as this is handed over to the dladmd? For instance, > the kernel might already use e.g. the bge0 datalink and IP be configured > with bge0. But dladmd might have a vanity name for bge0. > What happens in that case? > When the device attaches before dladmd is started, the kernel data-link stil be able to be created but will not be able to added into the dls_vlan_hash table (keyed by linkid) as it is not able to lookup its linkid at that time. But the kernel data-link should still be created and added to the dls_vlan_hash_by_dev hash table, so that dld_open is able to find the corresponding kernel data-link structure so that other DLPI operations will be able to proceed.
But this physical link will not be able to have any vanity naming feature (no /dev/net node will be created for it), and the dladm command might also act unexpected for this link. Is this a problem? I see "boot net" is only a temporary state and things should go fine after next reboot. Thanks - Cathy