[dpdk-dev] DMAR errors when running testpmd on kernel >= 3.15

2014-07-22 Thread didier.pallard
Hello, I am testing testpmd on recent kernels (>= 3.15) and i have an IOMMU problem (there are several commits around IOMMU in v3.15, they may be related with this problem): Hardware: Platform: Intel S2600IP CPU: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz BIOS version: SE5C600.86B.02.03.0003.041

[dpdk-dev] DMAR errors when running testpmd

2014-05-08 Thread Yang, Tao Y
k-dev] DMAR errors when running testpmd Hi Anatoly It seems that the problem was Ubuntu distribution. We switched to Ubuntu 14.04 Server Edition and sending packets through NIC works like charm Thanks Tomasz PS. This is for google to index in case anyone else has similar problems If You are

[dpdk-dev] DMAR errors when running testpmd

2014-05-08 Thread Tomasz K
Hi Anatoly It seems that the problem was Ubuntu distribution. We switched to Ubuntu 14.04 Server Edition and sending packets through NIC works like charm Thanks Tomasz PS. This is for google to index in case anyone else has similar problems If You are using: HP ProLiant DL380p Gen8 HP SmartArray

[dpdk-dev] DMAR errors when running testpmd

2014-05-07 Thread Tomasz K
Hi Anatoly You guessed right...it doesn't "show port stats all" always shows zeros. Thanks Tomasz 2014-05-07 17:08 GMT+02:00 Burakov, Anatoly : > Hi Tomasz, > > > 2. dmesg messages appear only when I invoke "start tx_first" in testpmd > app (so only when I try to send some packets) > > Does r

[dpdk-dev] DMAR errors when running testpmd

2014-05-07 Thread Tomasz K
Hi Anatoly I'm using dpdk-1.6.0r2 on Ubuntu 12.04 LTS with kernel 3.11.0-20-generic #35~precise1-Ubuntu SMP As for further investigation: 1. It doesn't matter whether DPDK uses 1GB or 2MB hugepages. 2. dmesg messages appear only when I invoke "start tx_first" in testpmd app (so only when I try to

[dpdk-dev] DMAR errors when running testpmd

2014-05-07 Thread Tomasz K
Hi Anatoly. Yes I do have iommu=on set when booting kernel. This is one of prerequisites to have SR-IOV running. Below is the cmdline output cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.11.0-20-generic root=UUID=c70fa456-ee10-43e5-9f07-4dbb372dcee3 ro quiet splash iommu=pt intel_iommu=on default_

[dpdk-dev] DMAR errors when running testpmd

2014-05-07 Thread Tomasz K
Hi All We're trying to run testpmd application on HP Proliant DL380P Gen 8 server. We've enabled SR-IOV in BIOS and set appropriate flags when booting kernel (iommu=pt intel_iommu=on) The NIC we are using is 82599EB (2 ports, 10Gb SFP+) When running testpmd application we always encouter DMAR err

[dpdk-dev] DMAR errors when running testpmd

2014-05-07 Thread Burakov, Anatoly
Hi Tomasz, > You guessed right...it doesn't > "show port stats all" always shows zeros. As I said earlier, such errors are usually related to errors in boot parameters, but your kernel cmdline looks perfectly fine, so unless there's something really odd happening, I can't see this being at faul

[dpdk-dev] DMAR errors when running testpmd

2014-05-07 Thread Burakov, Anatoly
Hi Tomasz, > 2. dmesg messages appear only when I invoke "start tx_first" in testpmd app > (so only when I try to send some packets) Does receiving packets work? I would assume it doesn't, but just making sure. Best regards, Anatoly Burakov DPDK SW Engineer

[dpdk-dev] DMAR errors when running testpmd

2014-05-07 Thread Burakov, Anatoly
Hi Tomasz, > > Here lies your mistake :-) Boot your kernel with iommu to "pt" (iommu=pt > intel_iommu=on) and everything will work. Thje "pt" option enables IOMMU > only for VM's while "on" sets up your whole system to work through IOMMU > (including host devices). However, both of these options

[dpdk-dev] DMAR errors when running testpmd

2014-05-07 Thread Burakov, Anatoly
Hi Tomasz, Your words: > We've enabled SR-IOV in BIOS and set appropriate flags when booting kernel > (iommu=pt intel_iommu=on) Your other words: > Yes I do have iommu=on set when booting kernel. Here lies your mistake :-) Boot your kernel with iommu to "pt" (iommu=pt intel_iommu=on) and ever

[dpdk-dev] DMAR errors when running testpmd

2014-05-07 Thread Burakov, Anatoly
Hi Tomasz It looks like you have your kernel booted with iommu=on. Please check your /proc/cmdline to make sure you didn't accidentally selected the wrong bootloader entry. > We're trying to run testpmd application on HP Proliant DL380P Gen 8 server. > We've enabled SR-IOV in BIOS and set appro