From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) 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) 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) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com, jinghua@marvell.com, agraf@suse.de, mw@semihalf.com, jsd@semihalf.com, Joe Zhou 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: [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: , X-List-Received-Date: Fri, 01 Sep 2017 02:30:54 -0000 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/Marvell/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 DAMAGE. #define MVPP2_RXQ_TOTAL_NUM (MVPP2_MAX_PORTS * MVPP2_MAX_RXQ) /* Max number of Rx descriptors */ -#define MVPP2_MAX_RXD 32 +#define MVPP2_MAX_RXD 64 /* Max number of Tx descriptors */ #define MVPP2_MAX_TXD 32 diff --git a/Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h b/Platform/Marvell/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 DAMAGE. #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 /* * BM short pool packet Size -- 1.8.3.1