From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 25 Nov 2015 02:09:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,342,1444719600"; d="scan'208";a="859387604" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.208.62]) by fmsmga002.fm.intel.com with SMTP; 25 Nov 2015 02:08:59 -0800 Received: by (sSMTP sendmail emulation); Wed, 25 Nov 2015 10:08:59 +0025 Date: Wed, 25 Nov 2015 10:08:59 +0000 From: Bruce Richardson To: Younghwan Go 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56555795.60408@ndsl.kaist.edu> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] no hugepage with UIO poll-mode driver 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: Wed, 25 Nov 2015 10:09:02 -0000 On Wed, Nov 25, 2015 at 03:39:17PM +0900, Younghwan Go wrote: > Hi Jianfeng, > > Thanks for the email. rte mempool was successfully created without any > error. Now the next problem is that rte_eth_rx_burst() is always returning 0 > as if there was no packet to receive... Do you have any suggestion on what > might be causing this issue? In the meantime, I will be digging through > ixgbe driver code to see what's going on. > > Thank you, > Younghwan > 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 오후 3:19에 Tan, Jianfeng 이(가) 쓴 글: > >Hi Younghwan > >When you specify --no-huge, by default, only 64M memory is used. Can you 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 using > >>IGB UIO module with Ethernet 10G 2P X520 Adapter NIC. > >> > >>I first tried to disable hugepage by inserting "--no-huge" option, but it gave > >>an error at rte_mempool_create function. Then I found in rte_eal.h file 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 driver or > >>is it not possible to do so? > >> > >>Thank you, > >>Younghwan >