From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: no hugepage with UIO poll-mode driver Date: Wed, 25 Nov 2015 10:08:59 +0000 Message-ID: <20151125100859.GA3496@bricha3-MOBL3> References: <56554B08.3040400@ndsl.kaist.edu> <56555795.60408@ndsl.kaist.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Younghwan Go Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 87D898DA7 for ; Wed, 25 Nov 2015 11:09:02 +0100 (CET) Content-Disposition: inline In-Reply-To: <56555795.60408@ndsl.kaist.edu> 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" On Wed, Nov 25, 2015 at 03:39:17PM +0900, Younghwan Go wrote: > Hi Jianfeng, >=20 > Thanks for the email. rte mempool was successfully created without any > error. Now the next problem is that rte_eth_rx_burst() is always return= ing 0 > as if there was no packet to receive... Do you have any suggestion on w= hat > might be causing this issue? In the meantime, I will be digging through > ixgbe driver code to see what's going on. >=20 > Thank you, > Younghwan >=20 The problem is that with --no-huge we don't have the physical address of = the memory to write to the network card. That's what it's marked as for testing only= . /Bruce > 2015-11-25 =EC=98=A4=ED=9B=84 3:19=EC=97=90 Tan, Jianfeng =EC=9D=B4(=EA= =B0=80) =EC=93=B4 =EA=B8=80: > >Hi Younghwan > >When you specify --no-huge, by default, only 64M memory is used. Can y= ou use -m 1024 to > >Mmap 1G memory to have a try? > > > >Jianfeng > > > >>-----Original Message----- > >>From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Younghwan Go > >>Sent: Wednesday, November 25, 2015 1:46 PM > >>To: dev@dpdk.org > >>Subject: [dpdk-dev] no hugepage with UIO poll-mode driver > >> > >>Hello, > >> > >>I'm trying to create rte mempool with my own memory scheme (shared > >>virtual memory between CPU & GPU) other than using hugepage. I'm usin= g > >>IGB UIO module with Ethernet 10G 2P X520 Adapter NIC. > >> > >>I first tried to disable hugepage by inserting "--no-huge" option, bu= t it gave > >>an error at rte_mempool_create function. Then I found in rte_eal.h fi= le that > >>said "no-huge mode cannot be used with UIO poll-mode drivers like > >>igb/ixgbe". > >> > >>Is there a way to switch DPDK code to not use hugepage with ixgbe dri= ver or > >>is it not possible to do so? > >> > >>Thank you, > >>Younghwan >=20