From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C9C5558DF for ; Mon, 23 May 2016 19:00:58 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 23 May 2016 10:00:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,356,1459839600"; d="scan'208";a="960608056" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.66]) ([10.237.220.66]) by orsmga001.jf.intel.com with ESMTP; 23 May 2016 10:00:55 -0700 To: Alex Wang , dev@dpdk.org References: <1463815522-27916-1-git-send-email-ee07b291@gmail.com> <1463815522-27916-2-git-send-email-ee07b291@gmail.com> Cc: Alex Wang From: Ferruh Yigit Message-ID: <57433746.5040303@intel.com> Date: Mon, 23 May 2016 18:00:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1463815522-27916-2-git-send-email-ee07b291@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 2/2 v2] 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: Mon, 23 May 2016 17:00:59 -0000 On 5/21/2016 8:25 AM, Alex Wang wrote: > 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