From mboxrd@z Thu Jan 1 00:00:00 1970 From: Younghwan Go Subject: Re: no hugepage with UIO poll-mode driver Date: Wed, 25 Nov 2015 15:39:17 +0900 Message-ID: <56555795.60408@ndsl.kaist.edu> References: <56554B08.3040400@ndsl.kaist.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable To: "Tan, Jianfeng" , "dev@dpdk.org" Return-path: Received: from mail.ndsl.kaist.edu (www.ndsl.kaist.ac.kr [143.248.57.3]) by dpdk.org (Postfix) with ESMTP id 118D43784 for ; Wed, 25 Nov 2015 07:39:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.ndsl.kaist.edu (Postfix) with ESMTP id 44D43C0998 for ; Wed, 25 Nov 2015 15:39:05 +0900 (KST) Received: from mail.ndsl.kaist.edu ([127.0.0.1]) by localhost (ndsl.kaist.ac.kr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sPsba+WkyQE4 for ; Wed, 25 Nov 2015 15:39:04 +0900 (KST) In-Reply-To: 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" Hi Jianfeng, Thanks for the email. rte mempool was successfully created without any=20 error. Now the next problem is that rte_eth_rx_burst() is always=20 returning 0 as if there was no packet to receive... Do you have any=20 suggestion on what might be causing this issue? In the meantime, I will=20 be digging through ixgbe driver code to see what's going on. Thank you, Younghwan 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 yo= u 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 fil= e 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 driv= er or >> is it not possible to do so? >> >> Thank you, >> Younghwan