Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3444520pxk; Mon, 28 Sep 2020 18:42:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+lr0EdJNdRfvc21Z73Bj4GLTxH23bjqpr3locOlw2fRHKcaC+aBCFQkf7JGKhepo/S2pL X-Received: by 2002:a17:906:719a:: with SMTP id h26mr1579947ejk.336.1601343758391; Mon, 28 Sep 2020 18:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601343758; cv=none; d=google.com; s=arc-20160816; b=cPl8lyAKSR0LoNOJZNavJmKDgSYuKPOoptz6Nmz5v/GJiPgE2dg5lcDy0tIcEiFpZ+ C4RIMO9okzt6Fuk9aHLpGULF2bj2ru6+IQrNH7oiY1CBeVrBwsAJ1iOw/QgNtj5oWQ88 /RJnwjh1LiJBZHrQSEcpRDoeL9HOSOyfP0PNpGFXokl7T9PzdqrzO/aDPI+rQxtdeaxd 9nMnYna76hh8RVydGqNqQxjrB4MTptPaGMx0EFVSewdNzelB7B+Mh7l9mVIi8gD2uGDI ATM75ZZWD7VZ9vxxFo+8Zq6WDqj1cAi8AL+Wuzfpw7n9uRf48KkU0jtVXOjk/GRONn2c D3+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=L3Eazt1tRtPARLGCP9nrGkrS0KkHLGs++VpZth+Njus=; b=KXUE34S5/TD8NORuB4Mxj/7n4c/4sHIQCcZx4Bwl5UDyrfeZTcqbTrPcWW6d0cA3jC vNiMelhVh/jLsjLyH9v9/7C9vF6cmc2on1mOkCLHBnlQWkKzTHvaykHghX2+LsqI4/o/ /jsDCX7vAowliKAQjkeylMnjHcRbIg2O0WiR5HPDnDGCvNwAAeMHSkem3xk1NvX53Ns+ TVYbtPLGDIxQ4iWZ3jET/nT+uFFQ2ibekRvC2lc1oWotWQ7YdcTojvRYTcajEJd0ZtK1 2RZtU8G0ezL95udXVGbD7oIJHE10cqgzY48C139vCweaDt/gJTyXaGm1ZgzwROOTj0u8 WSNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=snH42J9J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jo8si1742414ejb.524.2020.09.28.18.42.07; Mon, 28 Sep 2020 18:42:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=snH42J9J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728152AbgI2Bgq (ORCPT + 99 others); Mon, 28 Sep 2020 21:36:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:39644 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727375AbgI2Bam (ORCPT ); Mon, 28 Sep 2020 21:30:42 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A75702184D; Tue, 29 Sep 2020 01:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601343041; bh=wQCFzCdhjnD9ZKAePJ3HjzMMAumFLdPf43/b/FMorBU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=snH42J9JWXk2fsq8vEYwJljXvPhedHOnLwndVFZeizOePgRI8PgaKmb7w3twnv+C9 cNU1gadAxhWQ38JbkzO4jeG6EiKwKK1W417n//68t2La/ZbKzhtvUEBYmzQ+KwIo/W jYtoAo++i1UlswLP9ndz+hwYRUlpRdIdnx2rHF3Y= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Lucy Yan , Moritz Fischer , "David S . Miller" , Sasha Levin , netdev@vger.kernel.org, linux-parisc@vger.kernel.org Subject: [PATCH AUTOSEL 5.8 10/29] net: dec: de2104x: Increase receive ring size for Tulip Date: Mon, 28 Sep 2020 21:30:07 -0400 Message-Id: <20200929013027.2406344-10-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929013027.2406344-1-sashal@kernel.org> References: <20200929013027.2406344-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lucy Yan [ Upstream commit ee460417d254d941dfea5fb7cff841f589643992 ] Increase Rx ring size to address issue where hardware is reaching the receive work limit. Before: [ 102.223342] de2104x 0000:17:00.0 eth0: rx work limit reached [ 102.245695] de2104x 0000:17:00.0 eth0: rx work limit reached [ 102.251387] de2104x 0000:17:00.0 eth0: rx work limit reached [ 102.267444] de2104x 0000:17:00.0 eth0: rx work limit reached Signed-off-by: Lucy Yan Reviewed-by: Moritz Fischer Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/dec/tulip/de2104x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/dec/tulip/de2104x.c b/drivers/net/ethernet/dec/tulip/de2104x.c index 592454f444ce2..0b30011b9839e 100644 --- a/drivers/net/ethernet/dec/tulip/de2104x.c +++ b/drivers/net/ethernet/dec/tulip/de2104x.c @@ -85,7 +85,7 @@ MODULE_PARM_DESC (rx_copybreak, "de2104x Breakpoint at which Rx packets are copi #define DSL CONFIG_DE2104X_DSL #endif -#define DE_RX_RING_SIZE 64 +#define DE_RX_RING_SIZE 128 #define DE_TX_RING_SIZE 64 #define DE_RING_BYTES \ ((sizeof(struct de_desc) * DE_RX_RING_SIZE) + \ -- 2.25.1