[dpdk-dev] no hugepage with UIO poll-mode driver

Younghwan Go yhwan at ndsl.kaist.edu
Wed Nov 25 07:39:17 CET 2015


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 at dpdk.org] On Behalf Of Younghwan Go
>> Sent: Wednesday, November 25, 2015 1:46 PM
>> To: dev at 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



More information about the dev mailing list