Received: by 10.223.185.116 with SMTP id b49csp8592880wrg; Fri, 2 Mar 2018 04:42:28 -0800 (PST) X-Google-Smtp-Source: AG47ELvc/MCkkBLLw2mraJXx04MxTtyGQpUfo93TptycJupyjYofwuoz51yqa/CtJPWda7qXQZpO X-Received: by 2002:a17:902:7c84:: with SMTP id y4-v6mr5091414pll.305.1519994547862; Fri, 02 Mar 2018 04:42:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519994547; cv=none; d=google.com; s=arc-20160816; b=iGgOPzTyoTtt1kD9S8YkJefugCRdrDAxMrZuoesuPOYsKYPYlnhjwetoeLN2SZZK9T hCV5n5KIVHSS9ovv81ZP8IHSQ8GCF/3drIT3IxAZRRRvKURFpZhyamVOXji4BKv/UMgN n7wIjILyyotnI0DEf5EG/UNj4EikNei79mcrDT8TrIri8LgacIDITVCO+yS51wgtexBr i2c/uPPm+aGHvTEKQseeXExd1upmbcqA1I4ImacUNEYfEWAtq5xQUMIVK3MxMq7gdI9K bif4tqsXV45LuiaPLWHGt2V9JSNn1eL1jYm9ULlaxPbCSRtP4yqBKpNb5wiBVX8eXJ2k NB9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=nggcFs0rrfTLXoLIHLBYGXlOfXIuZkIV8jCqrWEuK28=; b=GRTK9K9x1LU/duH8HOgOke4mtge+LDQKR+fN8LVyaOWtxfSpwc3Qpr7S8EfPGw9PEB uGTM+Shg6DevcsJDcjHxcf/mv3Uo9j5M2RhfsXpaqYqIiV+RGtp7iDFTHi093c0qQouV SsKYTC+n1jACXHgdPsBJK5paDzOYLZv14CON+L+itaHtfPKlD3k4+ArWgzqdxLdI9dAI O4etlZKy41pBQoLtSG4+0iyNBKkXZmV+FNmOeptHH04cBu8D8/cruADJRo6e4NXHcWo8 6soTJ0w1goDm6qxI8pVsl0xIbDGTz9G0TRI9EObHxlKOA20l3A77Kcuqs7uLqRHdHFAj X2+g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11si3941294pgv.534.2018.03.02.04.42.13; Fri, 02 Mar 2018 04:42:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423493AbeCBIyX (ORCPT + 99 others); Fri, 2 Mar 2018 03:54:23 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:50412 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423465AbeCBIyV (ORCPT ); Fri, 2 Mar 2018 03:54:21 -0500 Received: from localhost (clnet-b04-243.ikbnet.co.at [83.175.124.243]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 469AF1205; Fri, 2 Mar 2018 08:54:20 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Siva Reddy Kallam , Michael Chan , "David S. Miller" , Sasha Levin Subject: [PATCH 4.4 14/34] tg3: Enable PHY reset in MTU change path for 5720 Date: Fri, 2 Mar 2018 09:51:10 +0100 Message-Id: <20180302084436.879173502@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180302084435.842679610@linuxfoundation.org> References: <20180302084435.842679610@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ 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 Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/broadcom/tg3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -14240,7 +14240,8 @@ static int tg3_change_mtu(struct net_dev */ if (tg3_asic_rev(tp) == ASIC_REV_57766 || tg3_asic_rev(tp) == ASIC_REV_5717 || - tg3_asic_rev(tp) == ASIC_REV_5719) + tg3_asic_rev(tp) == ASIC_REV_5719 || + tg3_asic_rev(tp) == ASIC_REV_5720) reset_phy = true; err = tg3_restart_hw(tp, reset_phy);