[dpdk-dev] Is rte_mempool library is multi-thread safe ???

2013-12-19 Thread Peter Chen
does that mean that on the same core, we can't do rte_eth_rx_burst in one thread (I assume this function allocates from mempool for storing mbufs everytime it receives a packet), while another thread calls rte_pktmbuf_alloc from the same mem_pool? On Thu, Dec 19, 2013 at 9:04 AM, Thomas Monjalon

[dpdk-dev] Transmit and Receive Queue: Prefetch, Host, Writeback

2013-07-02 Thread Peter Chen
I looked at the description for transmit and receive queue configurations in the Programmar's Guide, but was confused by how the configuration worked. I am assuming that one descriptor in the queue refers to one pktmbuf? I am not sure what prefetch, host and writeback of queue descriptors mean for

[dpdk-dev] Where is the Kernel NIC interface example in the source code?

2013-06-26 Thread Peter Chen
This is in the sample application guide. I want to use tcpdump on the dpdk port, however its not in the examples folder of the source code...was it accidentally left out? -- next part -- An HTML attachment was scrubbed... URL:

[dpdk-dev] Get 2 ports out of 1 NIC?

2013-06-25 Thread Peter Chen
Hi, is there a way to get 2 ports out of one NIC? I have an Intel 82598. -- next part -- An HTML attachment was scrubbed... URL:

[dpdk-dev] Sending & Receiving Packets

2013-06-23 Thread Peter Chen
I was wondering how I can send/receive packets from my computer to my server which has dpdk running. Since what seems to happen is that dpdk binds to the ethernet device, what would be its IP address? For example how would I send a ping from one computer to my server with dpdk binded to the NIC?

[dpdk-dev] testpmd port topology

2013-06-20 Thread Peter Chen
port, so is it that each NIC card = one port or is there a way to get two ports out of a NIC? On Thu, Jun 20, 2013 at 12:44 PM, Peter Chen wrote: > Hi, I am trying to run testpmd app under dpdk. I have Ubuntu Server 12.04 > running on a Dell R510 with two quad Xeon 5506 and one Intel 82598

[dpdk-dev] testpmd port topology

2013-06-20 Thread Peter Chen
Hi, I am trying to run testpmd app under dpdk. I have Ubuntu Server 12.04 running on a Dell R510 with two quad Xeon 5506 and one Intel 82598EB 10G NIC. However when I run it, I get the following error: No commandline core given, start packet forwarding Warning! Cannot handle an odd numb

[dpdk-dev] testpmd errors

2013-06-14 Thread Peter Chen
en support them. Does anyone know? Peter On Tue, Jun 11, 2013 at 4:23 PM, Peter Chen wrote: > Just a bit more of information, I am using ubuntu 12.04 server. > > > On Tue, Jun 11, 2013 at 3:56 PM, Peter Chen gmail.com>wrote: > >> Hi All, >> >> I am try

[dpdk-dev] testpmd errors

2013-06-11 Thread Peter Chen
Just a bit more of information, I am using ubuntu 12.04 server. On Tue, Jun 11, 2013 at 3:56 PM, Peter Chen wrote: > Hi All, > > I am trying to install dpdk. Since it says to run test and testpmd to > see if everything works, I ran those apps. > > So far test works fi

[dpdk-dev] testpmd errors

2013-06-11 Thread Peter Chen
Hi All, I am trying to install dpdk. Since it says to run test and testpmd to see if everything works, I ran those apps. So far test works fine for me. However when I run testpmd, I get the following: *probe driver: 8086:10c8 rte_ixgbe_pmd * *unbind kernel driver /sys/bus/pci/dev