Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2464858yba; Mon, 15 Apr 2019 12:12:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxe5ElWgz40j97bJS7Yig9i/QdJFFtgyWqv7DSkpTrpJ4yNbzYr58DsxHPLUlZ3g3Pfy7nL X-Received: by 2002:a17:902:6b03:: with SMTP id o3mr77463601plk.226.1555355539751; Mon, 15 Apr 2019 12:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555355539; cv=none; d=google.com; s=arc-20160816; b=B9zVhlnp7BOkyyVjjczWHyCnf3vjSyNAU5ApW4L0HKyPIb1MgpyGZCYkjIDtAWN/5c MEM7DqhywV0EqEywK3MuOZ3U89XMMStMRBIB65JRoctT8WRcFkrqLSRxX10dLMvK48S9 YdKf1W4yGnW1rerVRZ2lQAOFx0jaw0ExriNkE16fa9Mw5NPBtcPrZonpbXeT99ikrz1e zFN9u7oyNcxkI8nbMoW2fSnM+E1IdQQFdkv5ixExPTZoK2BlG+ZEfuMie9I/SWWPDw4R WnjnO3eZ5CuHOP9xH/XKdvJklBBHUIWraOKNYduKQomh2MRX/t3uEwMI/OUw5AauBoO0 siog== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=eOhlf3Wqo/qvVFtdO/ycTpK4gb2ZIcYtVT071BRQV4g=; b=aRfFMqdQMDLSoZWp2eTPrOS7EflmOhksTDXw/o28rLBr//FlUCqUA5BMYGUtjUaKzK KaSxLmL+xEzzQaDpdIl0FS7UXAyUsSXP4Jvhtc4oE3MK7qykgCpP2MGvezZbV/k5rsny z5OcibwhBS0rXIajIeRDs1lt84x2bUK5JnQ5YfMPLMBagnqxNjBknpVquPIss5ZSVlcA 5sKquXk6JprVPKD2iYDEDkOdZG0x9D7s7NxD60mqqEiDNoO6Pl3kTKijJZfIyfVbut5P 59IMVIKAVkvNZkWA5pRN79AzV2e2GTWRgiG0OyHuyDaUV/W0RtVbybKm3sFhGIX7H6P8 t0gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=m0zokWtZ; 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 v3si39911950pgo.433.2019.04.15.12.12.03; Mon, 15 Apr 2019 12:12:19 -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=@kernel.org header.s=default header.b=m0zokWtZ; 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 S1731106AbfDOTKs (ORCPT + 99 others); Mon, 15 Apr 2019 15:10:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:47362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731092AbfDOTKq (ORCPT ); Mon, 15 Apr 2019 15:10:46 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 58E33218FF; Mon, 15 Apr 2019 19:10:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555355445; bh=25RIbdRpRJnFuzT0xmyUuz0bjP6Jffz4ce/FSt4R6hI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m0zokWtZ7+OoJxnIJn6clnI9VBmpBmiwQq7BZmbubhTu6LfDRvKI+r4GpdmA9Lymy X44/UfFtGm80GjBpD8UhR+HoABIoi4gUz2QPXaK8UEYAXLX85/4KRGuktgA0CEUyfb QBaZ86tM+qw6+NUAl9i2zuHCLW/8KibZRW1JIlDs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mike Crowe , Heiner Kallweit , "David S. Miller" , Sasha Levin Subject: [PATCH 5.0 038/117] r8169: disable default rx interrupt coalescing on RTL8168 Date: Mon, 15 Apr 2019 21:00:08 +0200 Message-Id: <20190415183746.975951896@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190415183744.887851196@linuxfoundation.org> References: <20190415183744.887851196@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 288ac524cf70a8e7ed851a61ed2a9744039dae8d ] It was reported that re-introducing ASPM, in combination with RX interrupt coalescing, results in significantly increased packet latency, see [0]. Disabling ASPM or RX interrupt coalescing fixes the issue. Therefore change the driver's default to disable RX interrupt coalescing. Users still have the option to enable RX coalescing via ethtool. [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925496 Fixes: a99790bf5c7f ("r8169: Reinstate ASPM Support") Reported-by: Mike Crowe Signed-off-by: Heiner Kallweit Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 5adb00f521db..365cddbfc684 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -5333,7 +5333,7 @@ static void rtl_hw_start_8168(struct rtl8169_private *tp) tp->cp_cmd |= PktCntrDisable | INTT_1; RTL_W16(tp, CPlusCmd, tp->cp_cmd); - RTL_W16(tp, IntrMitigate, 0x5151); + RTL_W16(tp, IntrMitigate, 0x5100); /* Work around for RxFIFO overflow. */ if (tp->mac_version == RTL_GIGA_MAC_VER_11) { -- 2.19.1