[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5411b3a0-7e36-fa75-5c5c-eb2fda9273b1@amd.com>
Date: Tue, 11 Jan 2022 11:10:52 -0600
From: "Limonciello, Mario" <mario.limonciello@....com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Kai-Heng Feng <kai.heng.feng@...onical.com>,
Andrew Lunn <andrew@...n.ch>, Oliver Neukum <oneukum@...e.com>,
Aaron Ma <aaron.ma@...onical.com>, henning.schild@...mens.com,
linux-usb@...r.kernel.org, netdev@...r.kernel.org,
davem@...emloft.net, hayeswang@...ltek.com, tiwai@...e.de
Subject: Re: [PATCH 1/3 v3] net: usb: r8152: Check used MAC passthrough
address
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.
Powered by blists - more mailing lists