From nobody Fri Dec 27 02:19:15 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 1504264471604534.6716216955016; Fri, 1 Sep 2017 04:14:31 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 97A4021E7490C; Fri, 1 Sep 2017 04:11:43 -0700 (PDT) Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (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 1DDFB20958BDC for ; Fri, 1 Sep 2017 04:11:42 -0700 (PDT) Received: by mail-lf0-x231.google.com with SMTP id g18so8073195lfl.2 for ; Fri, 01 Sep 2017 04:14:26 -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 i11sm442673lfk.79.2017.09.01.04.14.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Sep 2017 04:14:23 -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=wBBfbZVwelQSCFl0EMuo6Fg768GIM3tVd6Smil6j1PU=; b=Zewx5Jtwuy93n60wbdvBiroVZefQ7J9YZZxfhR+TYiH6w9/vqEwlprd8i99k0YTKBJ gBfaxBkox5E/P+flZL1Vk8o0dyjh+Y2hgXCaR9JY+x0BEq5oH0k8luvZmyiGO17+AyqI ntNCzWdFp7jvYDWI8HgpzGs+zNZm1jA0EZCsIJdNLX1FxfuJA63EO74t1mffGI5EBxBb 8w3a7IEHsXJKBYcGhq8kuFEMs383cBiiMmh0U7AxMMlMJJFSGGeXjrObDNafXQ80Xm2y 8I+h8thsROgfSwMw0TqvZkvQ5CkHa5dR8js/V6zR3GcFiJE04Rp+2/s2E2whC0iCrWL8 Yvbw== 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=wBBfbZVwelQSCFl0EMuo6Fg768GIM3tVd6Smil6j1PU=; b=GXc1jQLbMUlOl0sfAIZ3pJXXunQ5rz/WqaRTHR9y1LCc9zgGDGlas6xR11D4oPO4WC oPv4fpux0ztRkwCw2gOW/kV61SoWB8nFDCCHMYPcHccqnoMDC0bqUgdZDX3SuGEKpdlH h87ubS6H4dVdZTXiHaYzsYXnE/21dOT4FoWJZebzgt+xn2ECiTEoFCYfpZJFpzYMeeKA n0W+mKnOY62aKj1c9zEsW+Gu6WxI8PTRQfLQI0iguvybTlI6ZVn3oYyXugdXaKIQ1rq5 WfiZeDmpB0nB9ZHX7qmUYC3mMXX4uo4K8LqkpOnMgJMp6bQdKLkSI1KfTsKBVK2kDn7X WA0g== X-Gm-Message-State: AHPjjUisSd6Zf49qBkas30d1iWNSS+qAIen4Yq5PHHS1HEnNsAXXkGSy JfYwbrhESw3lHIo+idv9PQ== X-Google-Smtp-Source: ADKCNb7RJw9MLRzQieJ9ey5ScZUlE6ADEagMc0eMkw9Op4Ln0WCJH3OD7QuoYwUz1bH8Xfr27k5+BA== X-Received: by 10.25.0.149 with SMTP id 143mr625762lfa.60.1504264464428; Fri, 01 Sep 2017 04:14:24 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Fri, 1 Sep 2017 13:17:56 +0200 Message-Id: <1504264679-13613-5-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1504264679-13613-1-git-send-email-mw@semihalf.com> References: <1504264679-13613-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 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.1 Signed-off-by: Joe Zhou Reviewed-by: Ard Biesheuvel --- 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