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 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 >