From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id A4D328E88 for ; Tue, 14 Jun 2016 17:16:48 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id v199so126032135wmv.0 for ; Tue, 14 Jun 2016 08:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=NPeCwvfyctLVzyLzaxdMIG4ShJgSrf0A0VTReaA5w4o=; b=XgznC/e0CrMZd8vJLhRlV3mpZcx32haxZEpie7KzbG8yPJc7msmoe96sNXZfFzWHGl Kho3jVQR9I0GU/jrdXh9IpNkiAzzvvGBoJLOt9jF2x3+7pMbfGSAT6AbPPFhlf/CmMiY zVcx/UVL/B1AflSuvSiXk6hF2JB6S0iTStADG96O19/Rdd/dzgTzSr2D4l2l2TIrOGeR A97XebsLQE920fyH+nxMJL/E+o4hcw/T9lo8vDiHjMOe2VJLqWzBmH137qS897dZnOCJ kISPSAhTSOZhJim/TGaqwYF0o22NL9Qb+Z64RWi4fX337er6jvWYT9HlFNDUdXyhAL7g 7XzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=NPeCwvfyctLVzyLzaxdMIG4ShJgSrf0A0VTReaA5w4o=; b=CidkrhYFdrjjky0OqVTgAZ+DR+z6SLjDdSZHpWSuFTJbqiTV6r2cx5tBKUOib4G3DJ SIzRV4Y1RLgEnY1kYwnpqaA3cyMlT6niye5oZBktlknU1HBN+TcI1hiOXN1NS1iK6+nC 6k28Tzdj3j5BezkxBV8Z8Kcjb+r0leWRYurobq9ceuPcxGj1GxvNlyVKE50obQlf9kfu 8vSrcceT9xqhrMNgxtXu9s5VOlWiSS+Q3ZG6bF4BiCpmic4VR/vzo4LSxaKEQZagkdxG yat6rVNt76IOf2v/aZ8OFPswwBut6L+jhS2/Kt2srRBpoZX9cbx3iC0YbziDXxNw9OvZ +pQw== X-Gm-Message-State: ALyK8tLSBg+9pYSsa/iEVfBtrPFcGQv4dhbowP86Q/ni85WRcivklRqANtpWb7jWbtt9zpbt X-Received: by 10.28.20.139 with SMTP id 133mr6727622wmu.35.1465917408431; Tue, 14 Jun 2016 08:16:48 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id t190sm4584288wmt.24.2016.06.14.08.16.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jun 2016 08:16:47 -0700 (PDT) From: Thomas Monjalon To: Alex Wang Cc: dev@dpdk.org, "Mcnamara, John" , Alex Wang , "Yigit, Ferruh" Date: Tue, 14 Jun 2016 17:16:46 +0200 Message-ID: <3874603.SFYHsKPlnv@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1463817516-1752-1-git-send-email-ee07b291@gmail.com> <1463817516-1752-2-git-send-email-ee07b291@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 2/2 v3] kni: add documentation for the mempool capacity X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2016 15:16:48 -0000 > > From: Alex Wang > > > > Function like 'rte_kni_rx_burst()' keeps allocating 'MAX_MBUF_BURST_NUM' > > mbufs to kni fifo queue unless the queue's capacity > > ('KNI_FIFO_COUNT_MAX') is reached. So, if the mempool is under- > > provisioned, user may run into "Out of Memory" logs from KNI code. > > This commit documents the need to provision mempool capacity of more than > > "2 x KNI_FIFO_COUNT_MAX" for each KNI interface. > > > > Signed-off-by: Alex Wang > > Acked-by: Ferruh Yigit > > Acked-by: John McNamara Applied, thanks