[dpdk-dev] fail to run with testpmd, EAL fail to bind socket

2013-10-24 Thread cheng.luo...@hitachi.com
Dear all, I am a beginner with DPDK. I just install it in fedora18 with two X540 Enthercards. After compile it and run the testpmd I got the following message: [root at localhost test-pmd]# ./testpmd -c7 -n3 -- -i --nb-cores=2

[dpdk-dev] query about port queues

2013-10-24 Thread Jyotiswarup Raiturkar
Thanks Prashant -Jyoti On Wed, Oct 23, 2013 at 7:52 PM, Prashant Upadhyaya < prashant.upadhyaya at aricent.com> wrote: > Hi Jyoti, > > You can configure the number of tx and rx queues via the software when you > are calling the rte_eth_dev_configure. > However you cannot allocate more than what

[dpdk-dev] A query on the latency numbers

2013-10-24 Thread Sujith Sankar (ssujith)
Hi all, In the documentation available on DPDK, I could find the performance numbers in terms of packets per second. Could someone point me to some documentation which gives performance gain of round trip time or packet processing time in terms of time, say, usecs? Also, what is the tool tha

[dpdk-dev] rte_mbuf - contiguous ?

2013-10-24 Thread Jose Gavine Cueto
Hi, Is the rte_mbuf/packet data always map to a contiguous area in memory, and so if I can do a linear copy of it ? Cheers, pepe -- To stop learning is like to stop loving.

[dpdk-dev] rte_mbuf - contiguous ?

2013-10-24 Thread Thomas Monjalon
Hello, 24/10/2013 09:49, Jose Gavine Cueto : > Is the rte_mbuf/packet data always map to a contiguous area in memory, and > so if I can do a linear copy of it ? No, in scatter/gather case, mbuf can be splitted in non contiguous areas. -- Thomas

[dpdk-dev] rte_mbuf - contiguous ?

2013-10-24 Thread Jose Gavine Cueto
Thomas, Thank you for the information. Because I would like to copy an rte_mbuf to a memory mapped file for an application. Is there some dpdk API for this copy operation (linear/nonlinear) or are these left with the application developers ? Thanks, Pepe On Thu, Oct 24, 2013 at 4:03 PM, Thoma

[dpdk-dev] rte_mbuf - contiguous ?

2013-10-24 Thread Thomas Monjalon
24/10/2013 10:09, Jose Gavine Cueto : > Thank you for the information. Because I would like to copy an rte_mbuf to > a memory mapped file for an application. Is there some dpdk API for this > copy operation (linear/nonlinear) or are these left with the application > developers ? You can have som

[dpdk-dev] [PATCH] ixgbe: query assignment of queues to VF

2013-10-24 Thread Thomas Monjalon
23/10/2013 14:26, jigsaw : > First of all, where and how should I post the patch to PF driver? You should send your patch to kernel.org via the netdev mailing list: http://vger.kernel.org/vger-lists.html#netdev > And secondly I have only 82599, so I cannot run test for 82598 and > X540. I

[dpdk-dev] [PATCH] ixgbe: query assignment of queues to VF

2013-10-24 Thread jigsaw
Hi Thomas, Thanks for your answer. I'll try to send the patch to netdev list and let you know the result. BTW, I double checked 82598 and find that it doesn't have mailbox at all, meaning this patch is for 82599 and X540 only. So the test is only needed for X540. thx & rgds, -ql On Thu, Oct 24,