Received: by 10.223.176.5 with SMTP id f5csp779613wra; Sat, 3 Feb 2018 10:05:42 -0800 (PST) X-Google-Smtp-Source: AH8x226guiWVNzx6pIfqAqxfVkUsVgnnwnFS8bPf84NJinLBQntuw5wAMOU+FvZgxGrPeUOk19Df X-Received: by 10.98.67.138 with SMTP id l10mr43243545pfi.72.1517681142782; Sat, 03 Feb 2018 10:05:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517681142; cv=none; d=google.com; s=arc-20160816; b=UCny5ahE8d5/2+sI9oQ4852NSMK3bQYwX1OiMnRUGBjazkTZiEb0sfSBukHSkW1eRo mM5kbRsxRbnlDHvn1fd9nEFlcmPPEhqvFozpaqKyg3HQ36hzz9R83JWin03xjbbYZni5 FFXlharRgu8RU1+ZeXxzmbY+JBSbcdE5N3jzesW9ed9gS27ExzgrQj0kuLka4xtuGn9D grN+1hCj+BbZIwijuCef8/b4BCqTTlpzbXlzidnBYvRN4jjXCnnxmeZHt2KgU5CmktxP zdkzVu6XcoH827kyJHX95YrO1a/IEPcOnCL0hONaFq9SQ4iy7dTWM7bYLqLjehR9N+f2 Mgfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Rve0spp0zEnkg1qjYQGa0WKTqSZwqQofat5McpKbflU=; b=Hviar28tjH4pUtCIC/LSbswbLqEweTmh89cFLdmlbMMR20lYS+XUN6+0ZKGCZrKrgJ p5mSFZNg9ikKRlfpWi/cCbKdbHnpARpy4f/CcAdt/JQ8YfXnH20wvRb+zg6+NLxr+/lt 9oYB0t+N1rAzPpGLkMBK9QzE/dbhwld4aibWilTVYkhmYhkRSR0uYHXQoviujYPW6XgL 5PHxWJzrKwbgz7Cs1nTv2W3p0V/ASw7oWTXKZX5Nx/oa4mFFwFdIOILo4W91Hm68f38L 9jhHcv9Qzw8PEUxHnBGS/N64MIeSX/YJabkhGB7T+GlCLypilv9BHY1W8x3ChTIUarnF KLmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Ul163n6E; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v32-v6si2091190plb.725.2018.02.03.10.05.27; Sat, 03 Feb 2018 10:05:42 -0800 (PST) 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=@microsoft.com header.s=selector1 header.b=Ul163n6E; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753029AbeBCSE1 (ORCPT + 99 others); Sat, 3 Feb 2018 13:04:27 -0500 Received: from mail-by2nam03on0111.outbound.protection.outlook.com ([104.47.42.111]:44500 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753042AbeBCSCM (ORCPT ); Sat, 3 Feb 2018 13:02:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Rve0spp0zEnkg1qjYQGa0WKTqSZwqQofat5McpKbflU=; b=Ul163n6E/yhI7J6A2I01DgLv9Y0MdpKL8iIPu+4Pb8khcr7YPEJaP6ttTRarQ895pE375WhUjdkfA69PLJCk0U7SfbwWCuPPs4q7O9x/hRBcWimbgJ3aYrousXqZSitIGh8QlCZ6oIg00NhcJbjli+x8tduNyJBiyw8/+gkMU44= Received: from BL0PR2101MB1027.namprd21.prod.outlook.com (52.132.20.161) by BL0PR2101MB1105.namprd21.prod.outlook.com (52.132.24.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.485.5; Sat, 3 Feb 2018 18:02:03 +0000 Received: from BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9]) by BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9%3]) with mapi id 15.20.0485.006; Sat, 3 Feb 2018 18:02:03 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Siva Reddy Kallam , Michael Chan , "David S . Miller" , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 062/110] tg3: Enable PHY reset in MTU change path for 5720 Thread-Topic: [PATCH AUTOSEL for 4.14 062/110] tg3: Enable PHY reset in MTU change path for 5720 Thread-Index: AQHTnRjxXV0Oyk3hakuivjKEiEzz5Q== Date: Sat, 3 Feb 2018 18:00:58 +0000 Message-ID: <20180203180015.29073-62-alexander.levin@microsoft.com> References: <20180203180015.29073-1-alexander.levin@microsoft.com> In-Reply-To: <20180203180015.29073-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BL0PR2101MB1105;7:O/UY02LaTh8oVct1GfhXLvatZxdJiq9lbEr1mrzhHEmgmdih86JYWaS/dftLM+Jbnw4Qs8KL+lBHP0bjnBJm0ZDb7ErDYzrHF5//RIPFucYBXjA1nGJDWQqQ5KtKABE/mu1VPib9bSpLpGw7fmhfi60QPwPT+1xzwoPfHUr/6IT7rQrWHOlwkNsXGnLwi6WjBB9WLlTRtgRDlOdRbrDzVVl/xt0Afgjsgm0c2JPibiD0J7jMBPvdI9t9XpbKf4EP x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 790f1aae-60b3-4fa5-d270-08d56b303ac5 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:BL0PR2101MB1105; x-ms-traffictypediagnostic: BL0PR2101MB1105: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231101)(2400082)(944501161)(93006095)(93001095)(6055026)(61426038)(61427038)(6041288)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011);SRVR:BL0PR2101MB1105;BCL:0;PCL:0;RULEID:;SRVR:BL0PR2101MB1105; x-forefront-prvs: 05724A8921 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(39380400002)(39860400002)(346002)(376002)(199004)(189003)(6346003)(97736004)(6512007)(7736002)(26005)(305945005)(102836004)(105586002)(68736007)(5250100002)(8936002)(59450400001)(6486002)(6436002)(106356001)(6506007)(81166006)(81156014)(2501003)(2906002)(10090500001)(99286004)(66066001)(54906003)(6116002)(3846002)(36756003)(1076002)(8676002)(110136005)(575784001)(107886003)(72206003)(2950100002)(478600001)(10290500003)(22452003)(6666003)(5660300001)(2900100001)(4326008)(25786009)(14454004)(316002)(86362001)(53936002)(3280700002)(186003)(3660700001)(76176011)(86612001)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL0PR2101MB1105;H:BL0PR2101MB1027.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: pPnp+u718cFda/Bf2WSPVAlUR67BfCiHpUhdi135swAD/9uQVSxA31DwXtnXAY7cVNFH23F4v7uQ/fadNDu5Tg== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 790f1aae-60b3-4fa5-d270-08d56b303ac5 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2018 18:00:58.2534 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR2101MB1105 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Siva Reddy Kallam [ Upstream commit e60ee41aaf898584205a6af5c996860d0fe6a836 ] A customer noticed RX path hang when MTU is changed on the fly while running heavy traffic with NCSI enabled for 5717 and 5719. Since 5720 belongs to same ASIC family, we observed same issue and same fix could solve this problem for 5720. Signed-off-by: Siva Reddy Kallam Signed-off-by: Michael Chan Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/broadcom/tg3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/bro= adcom/tg3.c index 69e1bd5497aa..48738eb27806 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -14239,7 +14239,8 @@ static int tg3_change_mtu(struct net_device *dev, i= nt new_mtu) */ if (tg3_asic_rev(tp) =3D=3D ASIC_REV_57766 || tg3_asic_rev(tp) =3D=3D ASIC_REV_5717 || - tg3_asic_rev(tp) =3D=3D ASIC_REV_5719) + tg3_asic_rev(tp) =3D=3D ASIC_REV_5719 || + tg3_asic_rev(tp) =3D=3D ASIC_REV_5720) reset_phy =3D true; =20 err =3D tg3_restart_hw(tp, reset_phy); --=20 2.11.0