Received: by 10.213.65.68 with SMTP id h4csp152457imn; Mon, 19 Mar 2018 23:14:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELukv5dJHsxMffQn4KNr2LeH6xakcUuXLDrqkSwD0r7zzBbHkblJJsRAPycCyParJOgEXyXC X-Received: by 10.98.54.65 with SMTP id d62mr9957187pfa.52.1521526451477; Mon, 19 Mar 2018 23:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521526451; cv=none; d=google.com; s=arc-20160816; b=wRNW34qhvA90J1mII+vaXUK6GAPETHJToo+2XZy1zmOeXhnGKBwV8HYb6owOOxYQsn nSwGAuoQ/Vczzqx0ziwKsEO4JoFLWwcweqbcRVpKdmXOrFtR0tPgzWWhklWm1YzC/g+F r/Z2uLZZxs793ZL1LhzZT/YypJYysemqBExo3ITcNn4SqcMca767tNHCBc9/ZatMe6WP VHu6mqlBrgecPfMvMFY+squsNY4hMh0bBcDJdM9mnZUP0XEsk/8Odbr8ITka3FEI2o4b chnMCF33ePvVKG8SL8Lpw0wmStTt87yDULWFX+Tc1hGNiZNnPX+HiFLe+PRFBJBPQzj+ itLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature:arc-authentication-results; bh=DNJfX1Xl6EhLT+btt/hYOaLvz0SHe5zz7BPV7zbD6fg=; b=OlJBfTOxjShl6FNKr6G/DAsuAMU/VbYm6vA5Sz9a6y5Zn9bcZnGRKYyO9I+mc3dvNa vEDqUgVh+4/ctbwk+I/O1pRQ191/h9/m/fhtiEAGQo5IFKrAXoZxMOYZmzPkcnj3SRZg MeGt6/RjpNmfaWs0xQHyQk8LNJzMIXNILx2D5cWj+1J+OXkZd1DVdM6fdPJPAXBA4Z61 FQD2lrGM/VfxBadbIn0FXyfMvSIixxvOmPWoh12TrnX6RZNzcg/sDhi3778a9ufbkjOk 8ma4DSD9/+0oQSS1LCQSFGn8rqGv6X1nlHSH+7IKVH885V9wMPEr2O3VzvdU+VAYcGjS fi3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=YeLDwmwY; 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 d21-v6si891515pll.559.2018.03.19.23.13.57; Mon, 19 Mar 2018 23:14: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=YeLDwmwY; 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 S1751550AbeCTGND (ORCPT + 99 others); Tue, 20 Mar 2018 02:13:03 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:33083 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751330AbeCTGNB (ORCPT ); Tue, 20 Mar 2018 02:13:01 -0400 Received: by mail-lf0-f47.google.com with SMTP id x205-v6so718011lfa.0 for ; Mon, 19 Mar 2018 23:13:01 -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; bh=DNJfX1Xl6EhLT+btt/hYOaLvz0SHe5zz7BPV7zbD6fg=; b=YeLDwmwYpUPaCCN7Qbf1oxFcRAkes0XbxDy5X4rEGhhY/94PzrpngMSWK0Onqm1L1f Cw397Y+7UVk1C2v+x4kKHH6CYRK/W9cXp20cTCDVirYwQfbd9gXjM7VYUWUJIcb8GOnJ y6BVrPn++z3tLCpXQHt4tLUsb+lI2WW3StjyM= 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; bh=DNJfX1Xl6EhLT+btt/hYOaLvz0SHe5zz7BPV7zbD6fg=; b=LXTH0cIBV4YQQeMhL3n9GoSYc++Kot4gdDNfMDNyr6jATSsVLHY4SXx4ZJJqJYCof3 g4U82wfwBeFq13HAoDqieMGFJzd0yr2e30itvxN0lOMJCcnUKCr5rORRXWv+A+Ug49Gn c4EtUlMuOgaF//eKG37+tD8EmmuSmCFbqoGmTJ6ernUId2bmcrvaVdEOiEHd7KEfnQis 3XCRGYlffCB1Rsm0u2iKu9hwAtlsdH8Xp6svf3UAj+0EZw2sdRiN5fYaGChCTN5pkBQ5 ml2BhpOnaUCF3Dfj6cklNZyIbUEdisLKmWpjdUfFXcKtucwb+9IaRXQeaMCMpov77yaG +Fcw== X-Gm-Message-State: AElRT7GA6TuGAl6+Eof1eslbbcElT95FouYTYf/A1mJVo0wyZpaUTRC5 wNp5SuudcgG7Jhl2wQTUm7xaiEuqYN1BML0f5hwHCA== X-Received: by 2002:a19:ca09:: with SMTP id a9-v6mr674349lfg.55.1521526380256; Mon, 19 Mar 2018 23:13:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.46.20 with HTTP; Mon, 19 Mar 2018 23:12:59 -0700 (PDT) From: Satish Baddipadige Date: Tue, 20 Mar 2018 11:42:59 +0530 Message-ID: Subject: Re: tg3 crashes under high load, when using 100Mbits To: Siva Reddy Kallam Cc: Kai Heng Feng , Prashant Sreedharan , Michael Chan , Linux Netdev List , Linux Kernel Mailing List , Stanley Hsiao , Tim Chen Content-Type: multipart/mixed; boundary="0000000000006b9a210567d1f729" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0000000000006b9a210567d1f729 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 obser= ved >>> the bug [1] that dated back to 2015. >>> I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 MRRS= 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 no= t > complete within the expected time with lower link speeds. Need to overrid= e > 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? Thanks, Satish --0000000000006b9a210567d1f729 Content-Type: application/octet-stream; name="tg3_5762_clock_override.patch" Content-Disposition: attachment; filename="tg3_5762_clock_override.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_jez9iicb0 ZGlmZiAtLWdpdCBhL2RyaXZlcnMvbmV0L2V0aGVybmV0L2Jyb2FkY29tL3RnMy5jIGIvZHJpdmVy cy9uZXQvZXRoZXJuZXQvYnJvYWRjb20vdGczLmMKaW5kZXggZjI1OTM5Ny4uZDI3MzM3ZCAxMDA2 NDQKLS0tIGEvZHJpdmVycy9uZXQvZXRoZXJuZXQvYnJvYWRjb20vdGczLmMKKysrIGIvZHJpdmVy cy9uZXQvZXRoZXJuZXQvYnJvYWRjb20vdGczLmMKQEAgLTkwMTAsNiArOTAxMCw3IEBAIHN0YXRp YyB2b2lkIHRnM19vdmVycmlkZV9jbGsoc3RydWN0IHRnMyAqdHApCiAKIAlzd2l0Y2ggKHRnM19h c2ljX3Jldih0cCkpIHsKIAljYXNlIEFTSUNfUkVWXzU3MTc6CisJY2FzZSBBU0lDX1JFVl81NzYy OgogCQl2YWwgPSB0cjMyKFRHM19DUE1VX0NMQ0tfT1JJREVfRU5BQkxFKTsKIAkJdHczMihURzNf Q1BNVV9DTENLX09SSURFX0VOQUJMRSwgdmFsIHwKIAkJICAgICBURzNfQ1BNVV9NQUNfT1JJREVf RU5BQkxFKTsKQEAgLTkwMzEsNiArOTAzMiw3IEBAIHN0YXRpYyB2b2lkIHRnM19yZXN0b3JlX2Ns ayhzdHJ1Y3QgdGczICp0cCkKIAogCXN3aXRjaCAodGczX2FzaWNfcmV2KHRwKSkgewogCWNhc2Ug QVNJQ19SRVZfNTcxNzoKKwljYXNlIEFTSUNfUkVWXzU3NjI6CiAJCXZhbCA9IHRyMzIoVEczX0NQ TVVfQ0xDS19PUklERV9FTkFCTEUpOwogCQl0dzMyKFRHM19DUE1VX0NMQ0tfT1JJREVfRU5BQkxF LAogCQkgICAgIHZhbCAmIH5URzNfQ1BNVV9NQUNfT1JJREVfRU5BQkxFKTsK --0000000000006b9a210567d1f729--