Re: [PATCH 1/3 v3] net: usb: r8152: Check used MAC passthrough address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/11/2022 11:06, Jakub Kicinski wrote:
On Tue, 11 Jan 2022 10:54:50 -0600 Limonciello, Mario wrote:
Also knowing how those OSes handle the new docks which don't have
unique device IDs would obviously be great..

I'm sorry, can you give me some more context on this?  What unique
device IDs?

We used to match the NICs based on their device ID. The USB NICs
present in docks had lenovo as manufacturer and a unique device ID.
Now reportedly the new docks are using generic realtek IDs so we have
no way to differentiate "blessed" dock NICs from random USB dongles,
and inheriting the address to all devices with the generic relatek IDs
breaks setups with multiple dongles, e.g. Henning's setup. >
If we know of a fuse that can be read on new docks that'd put us back
in more comfortable position. If we need to execute random heuristics
to find the "right NIC" we'd much rather have udev or NetworkManager
or some other user space do that according to whatever policy it
chooses.

I agree - this stuff in the kernel isn't supposed to be applying to anything other than the OEM dongles or docks. If you can't identify them they shouldn't be in here.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux