RE: [PATCH] r8152: disable rx checksum offload on Dell TB dock

From: Mario.Limonciello
Date: Mon Nov 27 2017 - 10:11:35 EST


> -----Original Message-----
> From: Kai Heng Feng [mailto:kai.heng.feng@xxxxxxxxxxxxx]
> Sent: Friday, November 24, 2017 3:00 AM
> To: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: David Miller <davem@xxxxxxxxxxxxx>; hayeswang@xxxxxxxxxx; linux-
> usb@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; LKML <linux-
> kernel@xxxxxxxxxxxxxxx>; Limonciello, Mario <Mario_Limonciello@xxxxxxxx>
> Subject: Re: [PATCH] r8152: disable rx checksum offload on Dell TB dock
>
>
> > Also the MAC address is different, can you just trigger off of Dell's
> > MAC address space instead of the address space of the dongle device?
>
> A really good idea, never thought of this. Thanks for the hint :)
> Still, I need to ask Dell folks to get all the answers.
>
> Kai-Heng

The MAC address stuff is workable to tell if it's a r8153-AD (which is in Dell Inc Type C
dongles, TB16 and WD15 docks).

This alone wouldn't be enough to tell if it's a TB16. I believe you'd need to have an
extra check for that, but maybe this workaround can run after you verify it's r8153-AD
in the special MAC address handling section of r8153 driver.