Received: by 10.192.165.156 with SMTP id m28csp245979imm; Wed, 18 Apr 2018 21:23:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+SH8vsQbj8WTtf4QbgHRP/hZmsal7D+nToQNhqWnWOdujytJEg4nMPyGYEqXWUf3UY9Oyy X-Received: by 10.99.147.20 with SMTP id b20mr3843872pge.309.1524111791912; Wed, 18 Apr 2018 21:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524111791; cv=none; d=google.com; s=arc-20160816; b=FWE9jz6O3sD50w1c9FtaDTxsU1RILHowISWI0F6E1gMzNUD5kAmAjIv8PLptoJ8V0A PiQcMZ3QVCByXovD9gMYOuG7vafkZO67WfYj+Uep7LoGsxZ4nismtRpGR+6qEmeFVbV9 x5Tf05sJuLZlGl6pbVT01FJ6d3DBlI555+2asWvwa9hwcPv8XTpiuNqQ7Bv10ttAXS5w ISOiNbq5AlgVVurUPjCIeuvJcylHBVDchJYJ9B+6WDfMPOjtjsw9h4lBAd5EXaiX29FZ jRrZu0baTrR4riSTL+gGnk4CbyB/986MuIRNGiJ87z++eZTghArDlkPafDEUyUbaCbkr W7bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:mime-version:dkim-signature :arc-authentication-results; bh=/9skLoA5Fksazxu6FDE3Ew1rDFUD/NZYNbCDKviISIc=; b=fzyaP1XAUht3CjGSXZyhZc0WuIJjbiI8WLQtt5zMzOes5NBxuUO3+ORnE5HaQqHQDV jwtYsAtYMI5mtsIeaTpedh7QYYR5XiAr+MaAQuFpL9sC3xOUxUr+3A7H6cdIYmlTjFXf +Y431624DauTgrJb9md8WDZhaeeE4NKfDiY1xngC/++ELYVci//UT2DtBHbcaFtFj1r2 beeBcGEMrrorsQESXnbD0clgzuEEyie0P1rINXv4ME82CXT1MbxlB9TASmLgegkhm7Tx op6eV0YsF/OXKE6og0UfzCtkTCcGZHa3psKdReYRyFbC9TBcXd74I9PzxxOQBCnfqqWD tceQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=PQL0aWvc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si2411821pfh.60.2018.04.18.21.22.57; Wed, 18 Apr 2018 21:23:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=PQL0aWvc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751660AbeDSEVv (ORCPT + 99 others); Thu, 19 Apr 2018 00:21:51 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:45869 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbeDSEVt (ORCPT ); Thu, 19 Apr 2018 00:21:49 -0400 Received: by mail-qk0-f193.google.com with SMTP id c136so4168191qkb.12 for ; Wed, 18 Apr 2018 21:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=/9skLoA5Fksazxu6FDE3Ew1rDFUD/NZYNbCDKviISIc=; b=PQL0aWvcQFXNVtB5PYQNIols89sKdnNyst88eK9CU2XRuARDKo/m6AD+4qGn0I2Yq1 xmx5lqYUTs0TXrkY4EEPMwmAZROmx+2jknUH2OnPuOWCjs2LofN1fGBD1k0sRFmbdwpN 6cFeDQeKQnduAi4CSwMoUiqZTv55/Q1dBOGko= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=/9skLoA5Fksazxu6FDE3Ew1rDFUD/NZYNbCDKviISIc=; b=GYAFxbYae/mmMyiN3jwFBNrSmLU75zrgLfDe15hjAOZS7k4Rl4VIgfyUS0RT5WQb52 RkYerU+O81KZpUooLNGB8HSWI+RtH9HULUfRPY6O5abXdzolr/9hdM+xWxwj/O58H7fw CE4KTdR9KyEJ2NkB4ieb3Z75RTLsVTANJuNAFMRIzIonG7UyycBAiFZc5QcZK52WFgz5 iz4pZLg0kQT5Zr6wq+gtGVYU4XTGZYkdv21uxG6YC9FdJmEbKRSf+TSoz4EC+Gy60FR3 3vcupUiLIQMBR1I927PqsafIvjyTqcCuQZnXYdf1PNt1NtebERJwiJKXwVLuMrQU4Cyy d5WQ== X-Gm-Message-State: ALQs6tDAk2QZ6dbHdoCHELLqUeyt9NMbvxQbY/VsuMnFRrv7QOJ+sWMR cTauLHO3TKg6MNrgJWOy05/iYxEXYOK3sFYhnYCJ2w== X-Received: by 10.55.15.79 with SMTP id z76mr4236521qkg.373.1524111708784; Wed, 18 Apr 2018 21:21:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.114.9 with HTTP; Wed, 18 Apr 2018 21:21:48 -0700 (PDT) From: Siva Reddy Kallam Date: Thu, 19 Apr 2018 09:51:48 +0530 Message-ID: Subject: Re: tg3 crashes under high load, when using 100Mbits To: Kai-Heng Feng Cc: Satish Baddipadige , Prashant Sreedharan , Michael Chan , Linux Netdev List , Linux Kernel Mailing List , Stanley Hsiao , Tim Chen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 14, 2018 at 9:17 PM, Kai-Heng Feng wrote: > Hi Satish, > >> On 2018Mar21, at 00:57, Kai-Heng Feng wrot= e: >> >> Satish Baddipadige wrote: >> >>> On Thu, Feb 15, 2018 at 7:37 PM, Siva Reddy Kallam >>> wrote: >>>> On Mon, Feb 12, 2018 at 10:59 AM, Siva Reddy Kallam >>>> wrote: >>>>> On Fri, Feb 9, 2018 at 10:41 AM, Kai Heng Feng >>>>> wrote: >>>>>> Hi Broadcom folks, >>>>>> >>>>>> We are now enabling a new platform with tg3 nic, unfortunately we ob= served >>>>>> the bug [1] that dated back to 2015. >>>>>> I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 M= RRS to >>>>>> 2048=E2=80=9D) but it does=E2=80=99t 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 over= ride >>>> 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 the feedback. We will re-work on the patch and soon provide you the update. >> >> Thanks for your work. >> >> Kai-Heng >> >>> >>> Thanks, >>> Satish >>> >