[dpdk-users] Mellanox 100G NIC, VF SR-IOV, docker container, EAL could not detect the device

2017-05-22 Thread Wu, Xiaoban
Dear DPDK users, I am trying to use the VF of the Mellanox 100G NIC enabled by SR-IOV. The following is what I have done. 1. Add "intel_iommu=on iommu=pt" to kernel command line option, update-grub, and reboot 2. Install the MLNX-OFED, reboot 3. In default the card is in

Re: [dpdk-users] pktgen - IP address randomness

2017-05-22 Thread Shyam Shrivastav
Sometime back I used lua in moongen to continuously generate ip:tcp packets with random ip src and random tcp src/dst ports. Here is the corresponding lua script fragment, don't know how much useful it can be with pktgen as I have not looked at or used pktgen till now but just in case ...

[dpdk-users] pktgen - IP address randomness

2017-05-22 Thread Chris Hall
Hello, pktgen-3.2.4 I Looking to get as much randomness out of src ip’s as possible. Using this config in lua… pktgen.src_ip('0', 'start',"0.0.0.1"); pktgen.src_ip('0', 'min', "0.0.0.1"); pktgen.src_ip('0', 'max', "255.255.255.254"); pktgen.src_ip('0', 'inc',

[dpdk-users] Sending & Receiving Packets from Internet

2017-05-22 Thread Manoj Mallawaarachchi
Dear All, I'm new to DPDK and try to implement below scenario in my physical box having DPDK supported 1GB two port NIC( 82575EB) Connectivity scenario : PC laptop (via cross cable+static IP)> [DPDK physical Box]- DPDK port 0 --> L2forwarder -->DPDK port 1 ---> Internet router/Gw.

Re: [dpdk-users] Packet losses using DPDK

2017-05-22 Thread Wiles, Keith
> On May 22, 2017, at 4:40 AM, dfernan...@toulouse.viveris.com wrote: > > Hi ! > > I performed many tests using Pktgen and it seems to work much better. > However, I observed that one of the tests showed that 2 packets were dropped. > In this test I sent packets between the 2 physical ports

Re: [dpdk-users] Packet losses using DPDK

2017-05-22 Thread Andriy Berestovskyy
Hi, Please have a look at https://en.wikipedia.org/wiki/High_availability I was trying to calculate your link availability, but my Ubuntu calculator gives me 0 for 2 / 34 481 474 846 ;) Most probably you dropped a packet during the start/stop. ierrors is what you NIC consider as an error

Re: [dpdk-users] Packet losses using DPDK

2017-05-22 Thread dfernandes
Hi ! I performed many tests using Pktgen and it seems to work much better. However, I observed that one of the tests showed that 2 packets were dropped. In this test I sent packets between the 2 physical ports in bidirectional mode during 24 hours. The packets size was 450 bytes and the rate