Re: tg3 crashes under high load, when using 100Mbits

From: Kai-Heng Feng
Date: Sat Apr 14 2018 - 11:48:25 EST


Hi Satish,

> On 2018Mar21, at 00:57, Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx> wrote:
>
> Satish Baddipadige <satish.baddipadige@xxxxxxxxxxxx> wrote:
>
>> On Thu, Feb 15, 2018 at 7:37 PM, Siva Reddy Kallam
>> <siva.kallam@xxxxxxxxxxxx> wrote:
>>> On Mon, Feb 12, 2018 at 10:59 AM, Siva Reddy Kallam
>>> <siva.kallam@xxxxxxxxxxxx> wrote:
>>>> On Fri, Feb 9, 2018 at 10:41 AM, Kai Heng Feng
>>>> <kai.heng.feng@xxxxxxxxxxxxx> wrote:
>>>>> Hi Broadcom folks,
>>>>>
>>>>> We are now enabling a new platform with tg3 nic, unfortunately we observed
>>>>> the bug [1] that dated back to 2015.
>>>>> I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 MRRS to
>>>>> 2048â) but it doesât work.
>>>>>
>>>>> Do you have any idea how to solve the issue?
>>>>>
>>>>> [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1447664
>>>>>
>>>>> Kai-Heng
>>>> Thank you for reporting. We will check and update you.
>>> With link aware mode, the clock speed could be slow and boot code does not
>>> complete within the expected time with lower link speeds. Need to override
>>> and the clock in driver. We are checking the feasibility of adding
>>> this in driver or firmware.
>>
>> Hi Kai-Heng,
>>
>> Can you please test the attached patch?
>
> I built a kernel and asked affected users to try.

Users reported that the crash still happens with the patch.

Kai-Heng

>
> Thanks for your work.
>
> Kai-Heng
>
>>
>> Thanks,
>> Satish
>> <tg3_5762_clock_override.patch>