From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from COL004-OMC3S17.hotmail.com (col004-omc3s17.hotmail.com [65.55.34.156]) by dpdk.org (Postfix) with ESMTP id 99DBB593E for ; Tue, 19 Aug 2014 04:11:05 +0200 (CEST) Received: from COL402-EAS94 ([65.55.34.137]) by COL004-OMC3S17.hotmail.com with Microsoft SMTPSVC(7.5.7601.22701); Mon, 18 Aug 2014 19:14:30 -0700 X-TMN: [aEDEA6eMt4mS3L8DSAdz6JxOFekHD3G8] X-Originating-Email: [jinronggong@hotmail.com] Message-ID: From: GongJinrong To: "'Richardson, Bruce'" , References: <59AF69C657FD0841A61C55336867B5B0343E52A2@IRSMSX103.ger.corp.intel.com> In-Reply-To: <59AF69C657FD0841A61C55336867B5B0343E52A2@IRSMSX103.ger.corp.intel.com> Date: Tue, 19 Aug 2014 10:14:13 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQABAgME0EZaYam/8UE6UMoex5e1FwAhxzQUn3OStJA= Content-Language: zh-cn X-OriginalArrivalTime: 19 Aug 2014 02:14:30.0590 (UTC) FILETIME=[4F678DE0:01CFBB53] Subject: Re: [dpdk-dev] How to use dpdk ring and mem lib in kernel level? 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, 19 Aug 2014 02:11:06 -0000 Thanks, Bruce, it's a good sample. -----Original Message----- From: Richardson, Bruce [mailto:bruce.richardson@intel.com] Sent: Monday, August 18, 2014 8:10 PM To: GongJinrong; dev@dpdk.org Subject: RE: [dpdk-dev] How to use dpdk ring and mem lib in kernel level? > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of GongJinrong > Sent: Sunday, August 17, 2014 7:10 AM > To: dev@dpdk.org > Subject: [dpdk-dev] How to use dpdk ring and mem lib in kernel level? > > Hi, guys > > Can dpdk support allocate mempool and create ring in kernel level? > I know dpdk is user space driver, but many application need a channel > to transmit data from kernel to user space without any hardware > dependency(just like pf ring)? Anyone has a sample like this? > > Best Regards > John Gong Have you looked at the KNI kernel module and library, it might provide what you need? It is documented in the programmers guide, if you want to read up about it. Regards, /Bruce