Hi Mauricio, The issue is resolved by adding "--txqflags=0xf00 --disable-hw-vlan", that is,
sudo -E ./testpmd -c 0x3 -n 2 -- -i --txqflags=0xf00 --disable-hw-vlan --portmask=0x3 --nb-cores=1 Thanks, Charlie On Fri, Aug 26, 2016 at 9:38 AM, Charlie Li <charlie...@gmail.com> wrote: > Thanks Mauricio, > > OVS - 2.5.0 > DPDK - 2.2.0 > QEMU - 2.4.1 > > I used the ${DPDK_PATH}/tools/setup.sh to set up the environment including > binding interfaces. > > after starting the setup.sh script, > > 1) select option 14 // build DPDK > 2) select option 17 // start ign_uio > 3) select option 20 then 512 // allocate hugepages > 4) option 23 then 0000:00:03.0 // bind the first interface to DPDK > 5) option 23 then 0000:00:04.0 // bind the second interface to DPDK > 6) option 34 // exit setup.sh script > > cd ${DPDK_PATH}/app/test-pmd > make > sudo -E ./testpmd -c 0x3 -n 2 -- -i --portmask=0x3 --nb-cores=1 > > This is where I got the errors. > > But I can use l2fwd without any problem > > cd ${RTE_SDK}/examples/l2fwd > make > sudo -E ./build/l2fwd -c 0x3 -n 2 -- -p 0x3 > > Regards, > Charlie > > On Fri, Aug 26, 2016 at 8:12 AM, Mauricio Vasquez < > mauricio.vasq...@polito.it> wrote: > >> Hello Charlie, >> On 08/25/2016 02:30 PM, Charlie Li wrote: >> >> Hi All, >> >> My host and VM both are running Fedora 23. >> >> In the host, DPDK (testpmd, l2fwd and l3fwd) works fine. >> >> Then I set up OVS with DPDK and pass two (dpdkvhostuser) ports to the VM. >> >> In the VM, l2fwd works fine, but testpmd fails to start. Pleas see the >> attached screenshot of the VM with error messages. >> >> Has anybody seen similar issue in the VM? >> >> Thanks, >> >> Charlie >> >> >> _______________________________________________ >> discuss mailing >> listdiscuss@openvswitch.orghttp://openvswitch.org/mailman/listinfo/discuss >> >> >> My first thought is that it is a DPDK issue, but more information is >> needed. >> Could you please provide some more details? >> - OvS, DPDK and QEMU versions you are using. >> - The exact steps you perform in the guest before starting the testpmd >> application, specifically how do you bind the virtio interfaces to DPDK. >> >> Thanks, >> >> Mauricio V. >> >> >> >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss