From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id CE68B2617 for ; Thu, 9 Jun 2016 14:04:13 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 09 Jun 2016 05:03:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,444,1459839600"; d="scan'208";a="824796874" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga003.jf.intel.com with ESMTP; 09 Jun 2016 05:03:53 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.240]) by IRSMSX151.ger.corp.intel.com ([169.254.4.151]) with mapi id 14.03.0248.002; Thu, 9 Jun 2016 13:03:50 +0100 From: "Mcnamara, John" To: Alex Wang , "dev@dpdk.org" CC: "Yigit, Ferruh" , Alex Wang Thread-Topic: [dpdk-dev] [PATCH 2/2 v3] kni: add documentation for the mempool capacity Thread-Index: AQHRtRak4+HoZRhbjUqhoBoMOM16H5/hI6+w Date: Thu, 9 Jun 2016 12:03:49 +0000 Message-ID: References: <1463817516-1752-1-git-send-email-ee07b291@gmail.com> <1463817516-1752-2-git-send-email-ee07b291@gmail.com> In-Reply-To: <1463817516-1752-2-git-send-email-ee07b291@gmail.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDFhN2E1OGEtNmFkOC00OWMwLWEzMGQtNDc3MWM5MGY5MzVlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ikxza0NoamZFNVwvbXRTRWY5NEQ1V2NGbXJlYWR3d3VBaTZJV1dzWkVXd0prPSJ9 x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 12:04:14 -0000 > -----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 >=20 > From: Alex Wang >=20 > 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. >=20 > Signed-off-by: Alex Wang > Acked-by: Ferruh Yigit Acked-by: John McNamara