Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4298286pxu; Mon, 12 Oct 2020 15:22:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzbQtA4W8SC3po7QFCUJJ8NupHKNmG3huIx+Z7K/oUqdzHGa4+w6VuP0GbPp18DHbLD5ug X-Received: by 2002:a05:6402:151a:: with SMTP id f26mr17031048edw.386.1602541350781; Mon, 12 Oct 2020 15:22:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602541350; cv=none; d=google.com; s=arc-20160816; b=NwhAlwYeqmbSQRwJpattWsoYNad+HcW0t+JsPvPSn0enVL//OYimdn335c23+ZT7B2 4RtIu3ctQREIVMxjq9ZHP52iSk+4jFMhSm4K+SVDoTq7KAKhwQw7YYaxFyYfDRBD8Amq 572tQ90PUScW6A+HJIYyWFE/yfK5bbsluok9ZCUV4FJmZCkTy1nVlNG4jZSKzcwrmSPf gaRp8nlMy18C+mgOaULMlO0+ZJVgGu2h694KJQoNr9Z1PTKVgHEmOJXmTcmGsgmkh4Fx v9D56QLKdTFjIrpfywBvjsBY5F8W4zADi7pAIvMCn8nPCk9m2zE98pNqdoYE99AC8IqI BCWA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NyrZSV1wcGGAq+3dj2DXzZEI9grFPDixCoBXoKnPez4=; b=0WBn8tXBBzTBUA/NkQM2Y2LZA/wlKwO/05h3UQvzrTQX3IaUpdr0vGgeJ4u6ZgYb6N yRII2Ro08hS9bQM7WWEmnDaPp8drax2B0yepSIEME3H2xz3g4h26QiYEx0QWV4yHp1sc HyvyIRQ2+t93LwarzEtK9E4Ku9j52jnZkd/y0mLeNHMmM7lkAXxQDSKAZmu4Ppl3XHFM t5turuPDZ8sZqZZjuLJ+MKjqmWVPfZkuLItON/326bjxSMh7bsy4P+fYXMNyg/w2suAX zLcJ5zImJ3e1dL6JpEYrZ7BQUuKAJNrpfElwC1t997G7JYQpTQwMj0sjYw2FYUJr2/ng WJjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UZmVkqxr; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w1si13371247edf.589.2020.10.12.15.22.07; Mon, 12 Oct 2020 15:22:30 -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=UZmVkqxr; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388720AbgJLNcf (ORCPT + 99 others); Mon, 12 Oct 2020 09:32:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:34080 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730590AbgJLNcR (ORCPT ); Mon, 12 Oct 2020 09:32:17 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 CB9282076E; Mon, 12 Oct 2020 13:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602509537; bh=omDmb/EHkfaofnfyWtsh79Yx1RS9yvzCCe9Y5cUMIIs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UZmVkqxrSn56fflqmQqaWy/X+K1fAnjvXCZo/0g4NOmADoowNCVUgbXnASczTL60G yo9a1bdBM4U4czwzYgwhse6huvde9d3YyfB63u1BUEVY9snfSmkseuyV2+5mvsVnUk 4I+b93JB8DlDB9CtSDKC26TBURUNWABbyT60dLrI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lucy Yan , Moritz Fischer , "David S. Miller" , Sasha Levin Subject: [PATCH 4.4 04/39] net: dec: de2104x: Increase receive ring size for Tulip Date: Mon, 12 Oct 2020 15:26:34 +0200 Message-Id: <20201012132628.345860596@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201012132628.130632267@linuxfoundation.org> References: <20201012132628.130632267@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 cadcee645f74e..11ce50a057998 100644 --- a/drivers/net/ethernet/dec/tulip/de2104x.c +++ b/drivers/net/ethernet/dec/tulip/de2104x.c @@ -91,7 +91,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