From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/2 v3] kni: add documentation for the mempool capacity Date: Tue, 14 Jun 2016 17:16:46 +0200 Message-ID: <3874603.SFYHsKPlnv@xps13> References: <1463817516-1752-1-git-send-email-ee07b291@gmail.com> <1463817516-1752-2-git-send-email-ee07b291@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Mcnamara, John" , Alex Wang , "Yigit, Ferruh" To: Alex Wang 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) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > 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