Re: [dpdk-users] TestPMD testing with VMX3NET Devices...

2018-09-07 Thread Jamie Fargen
Emre- Things are looking better, but this is a ESX6.x hypervisor with CentOS 7.5 Guest, and it looks like vmxnet3 is mis-reporting the driver version. I will try and get more details about the hypervisor. # insmod /root/dpdk-stable-17.11.4/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko #

Re: [dpdk-users] TestPMD testing with VMX3NET Devices...

2018-09-07 Thread Emre Eraltan
Hi Jamie, I have recently used testpmd on VMware ESX 5.5 with a Ubuntu 16.04 VM - and it was working with vmxnet3 devices. Did you try lowering your RXD and TXD sizes? I am not sure VMXNET3 supports your values "--rxd=8192 --txd=8192". Try removing these 2 parameters to use the default sizes or

Re: [dpdk-users] Pure container-ized DPDK test

2018-09-07 Thread Shreyansh Jain
Hello, Comment inline ... > -Original Message- > From: users On Behalf Of Mathieu Devos > Sent: Friday, September 7, 2018 5:58 PM > To: users@dpdk.org > Subject: [dpdk-users] Pure container-ized DPDK test > > Hello, > > For a recent project, we're currently writing an application which

Re: [dpdk-users] TestPMD testing with VMX3NET Devices...

2018-09-07 Thread Rami Rosen
Hi Jamie, >Ok, can you clear something else up. Should I use the vfio-pci or the igb_uio >driver/kernel module? Sure. First there is a third option, which is binding with uio_pci_generic, which is a generic kernel module. When you bind with igb_uio, an entry called max_vfs will be generated under

Re: [dpdk-users] TestPMD testing with VMX3NET Devices...

2018-09-07 Thread Jamie Fargen
Rami- Ok, can you clear something else up. Should I use the vfio-pci or the igb_uio driver/kernel module? Regards, -Jamie On Fri, Sep 7, 2018 at 10:38 AM, Jamie Fargen wrote: > Rami- > > The output show that that CONFIG_RTE_BUILD_SHARED_LIB is set to no. > # cat build/.config | grep -i shared

Re: [dpdk-users] TestPMD testing with VMX3NET Devices...

2018-09-07 Thread Jamie Fargen
Rami- The output show that that CONFIG_RTE_BUILD_SHARED_LIB is set to no. # cat build/.config | grep -i shared CONFIG_RTE_BUILD_SHARED_LIB CONFIG_RTE_BUILD_SHARED_LIB=n I wil l change that to CONFIG_RTE_BUILD_SHARED_LIB=y and reinstall. Regards, -Jamie On Fri, Sep 7, 2018 at 9:52 AM, Rami Rose

Re: [dpdk-users] TestPMD testing with VMX3NET Devices...

2018-09-07 Thread Rami Rosen
Hi, Jamie, By default, building in DPDK (including in stable-17.11.4) is by creating static libs (*.a) and not shared libs (*so). What does cat build/.config | grep -i shared show ? If you have CONFIG_RTE_BUILD_SHARED_LIB=y, this means that you use shared libs, and in such a case, a VMXNET3 *.so s

Re: [dpdk-users] TestPMD testing with VMX3NET Devices...

2018-09-07 Thread Jamie Fargen
Rami- Attached is the results of running testpmd with loglevel=8. The setting CONFIG_RTE_LIBRTE_VMXNET3_PMD=y seems to be set. # grep 'CONFIG_RTE_LIBRTE_VMXNET3_PMD=y' build/.config CONFIG_RTE_LIBRTE_VMXNET3_PMD=y Should a library be build like /usr/lib64/dpdk-pmds/librte_pmd_vmxnet3.so.1? If s

Re: [dpdk-users] TestPMD testing with VMX3NET Devices...

2018-09-07 Thread Rami Rosen
Hi Jamie, Can you run this with --log-level=8 -w :0b:00.0 -w :13:00.0 and post the results here? (I mean like the following: testpmd -l 1,2,3 -n 1 --log-level=8 -w :0b:00.0 -w :13:00.0 -- --disable-hw-vlan --forward-mode=mac --eth-peer=0,00:00:00:00:33:33 --eth-peer=1,00:00:00:00:4

[dpdk-users] Pure container-ized DPDK test

2018-09-07 Thread Mathieu Devos
Hello, For a recent project, we're currently writing an application which is using DKDP to hook into the NICs directly. However, as part of testing this application, we use a CI tool which can compile the application, use a containerized version of DPDK to test said application with the unit tests

[dpdk-users] BNX2X firmware version mismatch

2018-09-07 Thread Hermes Hermes
Hi, I have been unsuccessfully attempting to run DPDK example l2fwd with bnx2x PMD. Please suggest how I can get this to work. Thanks, Nirupama. Here is what I did so far – ./build/l2fwd -c f -n 4 -m 2 --log-level 8 -- -p=0x3 EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detecte

Re: [dpdk-users] Running a second DPDK process that prints the NIC's link status/speed causes the first DPDK process to stop transmitting.

2018-09-07 Thread Antoine POLLENUS
Francis You should read these 2 resources on how DPDK multi process works: https://doc.dpdk.org/guides/prog_guide/multi_proc_support.html https://doc.dpdk.org/guides/sample_app_ug/multi_process.html and most specifically this one : https://doc.dpdk.org/guides/prog_guide/multi_proc_support.htm

[dpdk-users] Running a second DPDK process that prints the NIC's link status/speed causes the first DPDK process to stop transmitting.

2018-09-07 Thread Francis Rammeloo
I have a small utility application that lists the DPDK interfaces and prints their link status and link speed. Running this utility while another DPDK application is running causes that application to enter a seemingly corrupt state (all transmissions start failing). Apparently the call to rte_eal_