From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) by dpdk.org (Postfix) with ESMTP id 1B3442956 for ; Thu, 9 Jun 2016 19:07:00 +0200 (CEST) Received: by mail-io0-f178.google.com with SMTP id 5so43623462ioy.1 for ; Thu, 09 Jun 2016 10:07:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=awakenetworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=tiD3sVlXmxQAEOTTIWvd11ldGS+q0fdv5Yhui7vP+1g=; b=PA9bwvYutxdL7y7SD/AeW2dnX3K5jtzPaS/Cky6Z8V85PMJ8mOBDFd6a8N+RZY1LWx jzbwG+DrOAH6tFMWFBETjXrpzgC2LGOIdVYqK7cPtp7FzMi/hQ1RwoJQEjJysQ3pcv2e Uy8uCmozZsq9SyaQjPkz4i1aKXE34XJtMqunW9GWXx9AyM67kQoxeH2wLs7v8pO16A4j dRnoSDs0Wtrtq77CRwlipJST8osD/zC3XwbegJEzdzYT/CCK4LAd2wmvYjG30LGZnoWB IK0bzKfPF63/ky18/0gDgFEqqDTy30Uj1JBctapOH6nYAQh5MihYpIr9sAOA3Tg7fK4L Q48Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=tiD3sVlXmxQAEOTTIWvd11ldGS+q0fdv5Yhui7vP+1g=; b=kibu7eoND+mzlek3XtLe/FA7MzurOH1yP22/2xMsSjulfkuC5xD2GkdeLUD9+8TY4R 8vlwcrEUhysZ6bGeSnGmXWpBErNu5I6UJPMKlk1cwAPt7+CjKoRapB3U+Qsyy/5r0R13 LHg3k4mpg4pevfypJSA4u8s6fbdnr4ZccgztmhBwNuW+B+G8t7823qgJCWjjfKC6pANe F+OC8ElFGgXshVq7rY4kP2AsfNszmNh06aHpkTdTFM9DmjFtrTZepLmfCr6Vc0fK6dpy iQ5NDdPmoOxk8rmd6sJstce1nG+BBiRaEUb1ZPOmfgnSA4xPedfONB3BVo3FlGrRShMY yEEg== X-Gm-Message-State: ALyK8tJ0Dpp8ZRaWxPidBgQreaeXUFboHNCoNgh4A1ESRIIK7tG7HBU99LerIXc6yniI7irSDu33YfQvYTLxR1xA MIME-Version: 1.0 X-Received: by 10.107.23.69 with SMTP id 66mr18840542iox.186.1465492019563; Thu, 09 Jun 2016 10:06:59 -0700 (PDT) Received: by 10.79.84.198 with HTTP; Thu, 9 Jun 2016 10:06:59 -0700 (PDT) In-Reply-To: References: <1463817516-1752-1-git-send-email-ee07b291@gmail.com> <1463817516-1752-2-git-send-email-ee07b291@gmail.com> Date: Thu, 9 Jun 2016 10:06:59 -0700 Message-ID: From: Alex Wang To: "Mcnamara, John" Cc: Alex Wang , "dev@dpdk.org" , "Yigit, Ferruh" X-Mailman-Approved-At: Fri, 10 Jun 2016 00:23:59 +0200 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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: Thu, 09 Jun 2016 17:07:00 -0000 Just to confirm, should I do anything before it gets merged? On Thu, Jun 9, 2016 at 5:03 AM, Mcnamara, John wrote: > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Alex Wang > > Sent: Saturday, May 21, 2016 8:59 AM > > To: dev@dpdk.org > > Cc: Yigit, Ferruh ; Alex Wang > > > > Subject: [dpdk-dev] [PATCH 2/2 v3] kni: add documentation for the mempool > > capacity > > > > 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 > >