From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ndsl.kaist.edu; h=content-transfer-encoding:content-type:content-type :in-reply-to:mime-version:user-agent:date:date:message-id:from :from:references:to:subject:subject; s=dkim; t=1448433544; x= 1449297544; bh=3SQyePVCcUhFKpaRO7kAdQ0U4RLQi2Qy+XGwafW78CE=; b=B jz5NZoBfsfdXuYrzPbTDfGD74ESFF2nZ3DjhGhcySq80yqp+qSFIIiLWkrar3eT/ 3/oxr7ETjtR1FMcPFavFwVrWnGdinKKmumuHcp1Y6jsRYESAXO6m7mHADth6VwUI SppuxQnfkqd2Ik703W3y80AEkaiRst5ARnJ6kehmbQ= X-Virus-Scanned: Debian amavisd-new at ndsl.kaist.ac.kr 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) Received: from [10.0.2.15] (ndsl-pc2.kaist.ac.kr [143.248.129.22]) by mail.ndsl.kaist.edu (Postfix) with ESMTPSA id 0FB0DC01C8; Wed, 25 Nov 2015 15:39:00 +0900 (KST) To: "Tan, Jianfeng" , "dev@dpdk.org" References: <56554B08.3040400@ndsl.kaist.edu> From: Younghwan Go Message-ID: <56555795.60408@ndsl.kaist.edu> Date: Wed, 25 Nov 2015 15:39:17 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 06:39:06 -0000 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 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