On 05.01.22 16:14, Aaron Ma wrote: > When plugin multiple r8152 ethernet dongles to Lenovo Docks > or USB hub, MAC passthrough address from BIOS should be > checked if it had been used to avoid using on other dongles. > > Currently builtin r8152 on Dock still can't be identified. > First detected r8152 will use the MAC passthrough address. > > v2: > Skip builtin PCI MAC address which is share MAC address with > passthrough MAC. > Check thunderbolt based ethernet. I am sorry and I may be dense, why are you comparing MACs? The pass-through is done per machine. All you nee is a global flag, or if you want to be even more formal, a reference count. Regards Oliver