From nobody Fri Dec 27 02:39:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1504233224357992.6447288684194; Thu, 31 Aug 2017 19:33:44 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9BD8E21EB5293; Thu, 31 Aug 2017 19:30:56 -0700 (PDT) Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 84C4E21EB5273 for ; Thu, 31 Aug 2017 19:30:53 -0700 (PDT) Received: by mail-lf0-x233.google.com with SMTP id a126so4836038lfa.0 for ; Thu, 31 Aug 2017 19:33:37 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id p5sm263439lfe.72.2017.08.31.19.33.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Aug 2017 19:33:34 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KEWADQldFSHyBKKW1eLSEwSvShTDidhGkZHeIrOqqbs=; b=1KVODAjsk6+WgK8IFzx8I4/mjZ7P/AB+JawGfGm4no8Vnq36e6ztCwoj5S5l8UNq2T gZMequqr/VfO8YNncnkN6MN4o2tDt1BVMi0HnLm7fWMElp/nvkPlgKX74dGGfniAFE4M regVY9wFmOS/YLbM3FARN5Qif8+XqkzTVu8ADu3sMGxb88pP+hPw/4tHo6Ek2H2WsllE IfCb4/U5p8cxomMG7pUK6TkrJ6qGd8x58x7pZgtYYbF8GRlk3OnsJh3GCRP61TiORkN6 9IfxnU2Y1zEu7Afk2vtB6yBnsH9gWpNdiUE/rCpypnYf0AHtnqcg5ecvmN4BqEDoUEWK qOkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KEWADQldFSHyBKKW1eLSEwSvShTDidhGkZHeIrOqqbs=; b=WjJ/Yy9IFW1JT/OTdOvSq3BYCn9dZoce1Wio07wYGPupKjZMgDVhNKfN8ENpYKkAkg Gw6hoByitV+ZtQ3uUfMvklzbhj9HOnbJoqVVUrtn5tMzAqWm0a65oK2GmxMDp0hNtsEy MUYQ2sjAidQOrpk0TyZ6OfyU59V+SDHw52KuLIBxhHUO6t4g34GMZUES/5Cx4xqIZYJ9 CMhq783EpHm8aJ2i/V4hQwJ2btrSnWF/DMnEKsXH5FBDKdsS4Hv4T78EqyzhL9ReKw6z QrIGoKQukHktCTEYtleV9oGjTXkBL1RLL2lzInyDZp9mUtSTWhrRNyUG0yVvPPFrzpQ9 aPmA== X-Gm-Message-State: AHPjjUjxczCvYdkB4MEoiCN9P1UDc7UX6VXoND8IulQ9B9RtABVetvDS 1eE7f2CGP8fHvwH5hhX88g== X-Google-Smtp-Source: ADKCNb6VFmlwkxgWjVSZUdl1WoHMftfzYUvzKjQWY2fdgJJRbW1hiH2Gr6G7GBebGN8thbbQx5Gh+g== X-Received: by 10.46.6.17 with SMTP id 17mr138258ljg.31.1504233215579; Thu, 31 Aug 2017 19:33:35 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Fri, 1 Sep 2017 04:37:28 +0200 Message-Id: <1504233451-6455-5-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1504233451-6455-1-git-send-email-mw@semihalf.com> References: <1504233451-6455-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH 4/7] Drivers/Net/Pp2Dxe: Increase amount of ingress resources X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, Joe Zhou , ard.biesheuvel@linaro.org, agraf@suse.de, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Joe Zhou Increase Rx ring and BM pool size for each port, which is helpful when dealing with more intense incoming network traffic. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Joe Zhou --- Platform/Marvell/Drivers/Net/Pp2Dxe/Mvpp2LibHw.h | 2 +- Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Marvell/Drivers/Net/Pp2Dxe/Mvpp2LibHw.h b/Platform/Ma= rvell/Drivers/Net/Pp2Dxe/Mvpp2LibHw.h index 52509b0..0ebf936 100644 --- a/Platform/Marvell/Drivers/Net/Pp2Dxe/Mvpp2LibHw.h +++ b/Platform/Marvell/Drivers/Net/Pp2Dxe/Mvpp2LibHw.h @@ -965,7 +965,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DA= MAGE. #define MVPP2_RXQ_TOTAL_NUM (MVPP2_MAX_PORTS= * MVPP2_MAX_RXQ) =20 /* Max number of Rx descriptors */ -#define MVPP2_MAX_RXD 32 +#define MVPP2_MAX_RXD 64 =20 /* Max number of Tx descriptors */ #define MVPP2_MAX_TXD 32 diff --git a/Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h b/Platform/Marvel= l/Drivers/Net/Pp2Dxe/Pp2Dxe.h index b85cff7..9e71ec9 100644 --- a/Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h +++ b/Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h @@ -138,7 +138,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DA= MAGE. #define MVPP2_BM_SWF_LONG_POOL(Port) ((Port > 2) ? 2 : Port) #define MVPP2_BM_SWF_SHORT_POOL 3 #define MVPP2_BM_POOL 0 -#define MVPP2_BM_SIZE 32 +#define MVPP2_BM_SIZE 64 =20 /* * BM short pool packet Size --=20 1.8.3.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel