[dpdk-dev] [PATCH] pcap: remove test for PCAP_CAN_SEND

2014-03-28 Thread Neil Horman
The libpcap library has had the ability to send packets since 2004, theres really no need to test for it. Especially in the way dpdk is doing as, as according to the libpcap git tree pcap_sendpacket has never been a #define, and dpdk tests for its existance with an #ifdef. Its easier just to remo

[dpdk-dev] VM does not receive any packets from testpmd using SR-IOV VF PMD

2014-03-28 Thread William Tu
Hi folks, I have two Intel Xeon servers connected back-to-back using Intel 82599 NICs (a sender to a receiver). I followed the steps in DPDK manual section 9.3 and use single VF direct pass-through to the VM and run testpmd on the VF at the receiver. At the sender side, I run Pktgen and program th

[dpdk-dev] testpmd only receive 127 packets, then becomes all RX-errors

2014-03-28 Thread William Tu
After trial and error, I found it's because I only enable one port, so once the packet fills up all my rx descriptor, the rest of incoming packet becomes RX-errors. If I set the rxd to 2048, then the RX-packets will be 2047. ./testpmd -c 0xff -n2 -v -m 128M -- --burst=128 -i --rxq 2 --txq 2 --rxd

[dpdk-dev] [memnic PATCH 1/5] pmd: fix race condition

2014-03-28 Thread Thomas Monjalon
2014-03-28 09:49, Hiroshi Shimamoto: > Do you want me resubmit update one? > If so, will do next week. Yes, please submit a v2. Thank you -- Thomas

[dpdk-dev] Achieve maximum transmit rate using Intel DPDK

2014-03-28 Thread sabu kurian
Hi all, Does anyone know on what are the optimal settings that should be provided, so as to get the maximum transmit rate for an NIC using Intel DPDK ?

[dpdk-dev] testpmd only receive 127 packets, then becomes all RX-errors

2014-03-28 Thread William Tu
Hi folks, I'm using two servers connected back to back using 2 Intel 82599 10G NICs to test the dpdk. At the sender side, I use dpdk Pktgen to generate UDP packet. I program the destination mac statically to make sure no ARP is necessary. My first experiments using Pktgen on both sender and rece

[dpdk-dev] Questions on use of multiple NIC interfaces

2014-03-28 Thread Vladimir Medvedkin
1. Yes. 2. Yes. Look at programmer's guide section 16 Multi-process support. 3. You can use blacklist eal option. Regards, Vladimir 2014-03-28 13:25 GMT+04:00 Sujith Sankar (ssujith) : > Hi all, > > Could someone answer the following questions about the usage of multiple > NIC interfaces with D

[dpdk-dev] Questions on use of multiple NIC interfaces

2014-03-28 Thread Sujith Sankar (ssujith)
Thank you Vladimir ! -Sujith From: Vladimir Medvedkin mailto:medvedk...@gmail.com>> Date: Friday, 28 March 2014 3:13 pm To: "Sujith Sankar (ssujith)" mailto:ssujith at cisco.com>> Cc: "dev at dpdk.org" mailto:dev at dpdk.org>> Subject: Re: [dpdk-dev] Questions on use of

[dpdk-dev] [memnic PATCH 1/5] pmd: fix race condition

2014-03-28 Thread Hiroshi Shimamoto
Hi, > Subject: Re: [dpdk-dev] [memnic PATCH 1/5] pmd: fix race condition > > Hi Hiroshi-san, > > Please see my comments below. > > On 03/11/2014 06:37 AM, Hiroshi Shimamoto wrote: > > From: Hiroshi Shimamoto > > > > There is a race condition, on transmit to vSwitch. > > I think we should not

[dpdk-dev] Questions on use of multiple NIC interfaces

2014-03-28 Thread Sujith Sankar (ssujith)
Hi all, Could someone answer the following questions about the usage of multiple NIC interfaces with DPDK? 1. If my server has two identical Intel NICs, could I use both with DPDK and its applications? 2. If both the NIC cards could be used with DPDK, could I use them with separate instances