Re: [ovs-discuss] Why testpmd fails to start in VM while l2fwd works in the same VM?

2016-08-26 Thread Charlie Li
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>

Re: [ovs-discuss] Why testpmd fails to start in VM while l2fwd works in the same VM?

2016-08-26 Thread Charlie Li
, 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 w

Re: [ovs-discuss] Why all of the packets are dropped at the dpdkvhostuser port?

2016-08-08 Thread Charlie Li
Hi Mauricio, After applying the patch, the packets are flowing to the VM now. However, even at lower bandwidth, it always has a small percentage of frame loss. Is this expected behavior? Thanks, Charlie On Fri, Aug 5, 2016 at 9:22 AM, Charlie Li <charlie...@gmail.com> wrote: &g

Re: [ovs-discuss] Why all of the packets are dropped at the dpdkvhostuser port?

2016-08-05 Thread Charlie Li
Thanks Mauricio, I will try the patch first. Regards, Charlie On Fri, Aug 5, 2016 at 4:56 AM, Mauricio Vasquez <mauricio.vasq...@polito.it > wrote: > Hello Charlie, > > On 08/04/2016 09:22 PM, Charlie Li wrote: > > Hi All, > > I set up a bridge with 2 dpdk port

[ovs-discuss] Why all of the packets are dropped at the dpdkvhostuser port?

2016-08-04 Thread Charlie Li
Hi All, I set up a bridge with 2 dpdk ports and 2 dpdkvhostuser ports. And 4 flows are configured as the follows PHY0 -> dpdk port0 -> dpdkvhostuser port0 -> VM eth-ens3 PHY0 <- dpdk port0 <- dpdkvhostuser port0 <- VM eth-ens3

Re: [ovs-discuss] unable to map backing store for hugepages: Cannot allocate memory

2016-08-03 Thread Charlie Li
gePages: 0 kB > >>HugePages_Total: 4 > >>HugePages_Free:0 > >>HugePages_Rsvd:0 > >>HugePages_Surp:0 > >>Hugepagesize:1048576 kB > > > >Hi Charlie, > > > >Even though you have 4 pages mounted

Re: [ovs-discuss] unable to map backing store for hugepages: Cannot allocate memory

2016-08-03 Thread Charlie Li
, above). > > Have you tried unmounting and remounting the hugepages? > > Thanks, > Mark > > > > >Regards, > > > >Charlie > > > >On Tue, Aug 2, 2016 at 5:23 PM, Chandran, Sugesh < > sugesh.chand...@intel.com> wrote: > > &

Re: [ovs-discuss] [ovs-dev] Compiler warnings with gcc 6.1 (On Fedora 24)

2016-08-02 Thread Charlie Li
I have seen similar compiler error/warnings when compiling DPDK with Fedora 24. I tried to fix the warnings in the source code and passed the compilation, but still could not make the packet flow. Eventually I went back to Fedora 23. Thanks, Charlie On Tue, Jul 26, 2016 at 7:44 AM, Numan

[ovs-discuss] unable to map backing store for hugepages: Cannot allocate memory

2016-08-02 Thread Charlie Li
Hi All, I am trying to use dpdkvhostuser to pass traffic to VM. Here is my basic system configuration. Host and VM OS: Fedora server 23 DPDK 2.2.0 OVS 2.50 QEMU 2.4.1 When I tried to start the VM, it got the following error: qemu-system-x86_64: -object

Re: [ovs-discuss] [ovs-dev] ovs+dpdk hang? (was: Re: c)

2016-07-05 Thread Charlie Li
exact steps that you perform to trigger this > issue? > Also, could you also provide details of your OS, kernel, etc.? > > Thanks, > Mark > > >Thanks, > > > >Ben. > > > >On Sat, Jul 02, 2016 at 10:30:34AM -0500, Charlie Li wrote: > >> Plea

Re: [ovs-discuss] c

2016-07-02 Thread Charlie Li
f > debugging messages to stdout. Give it a couple of seconds, then hit > control+C and email all of the output that it printed. > > Thanks, > > Ben. > > On Fri, Jul 01, 2016 at 06:35:26PM -0500, Charlie Li wrote: > > ovs-vsctl: cannot create a bridge named br0 because a

Re: [ovs-discuss] c

2016-07-01 Thread Charlie Li
ovs-vsctl: cannot create a bridge named br0 because a bridge named br0 already exists On Fri, Jul 1, 2016 at 5:22 PM, Ben Pfaff <b...@ovn.org> wrote: > If you hit control+C and run the ovs-vsctl command again, what happens? > > On Fri, Jul 01, 2016 at 05:06:27PM -0500, Charlie

Re: [ovs-discuss] c

2016-07-01 Thread Charlie Li
38 PM, Ben Pfaff <b...@ovn.org> wrote: > Does ovs-vswitchd die when you run that? > > On Fri, Jul 01, 2016 at 04:24:15PM -0500, Charlie Li wrote: > > If I don't re-build DPDK and OVS, the following command will hang > > > > sudo ./ovs-vsctl add-br br0 -- set bridge

Re: [ovs-discuss] c

2016-07-01 Thread Charlie Li
t;b...@ovn.org> wrote: > On Fri, Jul 01, 2016 at 01:57:38PM -0500, Charlie Li wrote: > > By now I am successful in running openvswitch-2.5.0 with DPDK-2.2.0 by > > following "INSTALL.DPDK.md <http://install.dpdk.md/>". > > > > I understand that I h

Re: [ovs-discuss] Bug in Openvswitch 2.5

2016-07-01 Thread Charlie Li
Hi Bala, I have a similar problem if I don't build DPDK and OVS every time after reboot. My workaround is to build DPDK and OVS again every time after a system reboot. # Build DPDK cd $DPDK_DIR make install T=x86_64-native-linuxapp-gcc # Configure & build OVS cd $OVS_DIR ./boot.sh ./configure

[ovs-discuss] c

2016-07-01 Thread Charlie Li
Hello, By now I am successful in running openvswitch-2.5.0 with DPDK-2.2.0 by following "INSTALL.DPDK.md ". I understand that I have to build DPDK and OVS for the very first time. # Build DPDK cd $DPDK_DIR make install T=x86_64-native-linuxapp-gcc # Configure & build

Re: [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid argument (0xffffffffffffffff)

2016-07-01 Thread Charlie Li
nel 4.5+ with fedora 23? > > > > Thanks > > Ian > > > > *From:* discuss [mailto:discuss-boun...@openvswitch.org] *On Behalf Of > *Charlie > Li > *Sent:* Wednesday, June 29, 2016 3:51 PM > *To:* Fischetti, Antonio > > *Cc:* discuss@openvswitch.org > *S

Re: [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid argument (0xffffffffffffffff)

2016-06-29 Thread Charlie Li
e same issue with a DPDK app without OVS - it could be > a good idea to post also to the DPDK Mailing-list. > > > > > > Antonio > > > > *From:* Charlie Li [mailto:charlie...@gmail.com] > *Sent:* Tuesday, June 28, 2016 8:36 PM > > *To:* Fischetti, Antoni

Re: [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid argument (0xffffffffffffffff)

2016-06-28 Thread Charlie Li
> sudo ./ovs-vswitchd --dpdk -c 0x1 -n 4 --socket-mem 1024,0 > > -- unix:$DB_SOCK --pidfile –detach > > > > > > *From:* Charlie Li [mailto:charlie...@gmail.com] > *Sent:* Tuesday, June 28, 2016 4:41 PM > *To:* Fischetti, Antonio <antonio.fische...@intel.com> &

Re: [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid argument (0xffffffffffffffff)

2016-06-28 Thread Charlie Li
; > 1. sudo $DPDK_DIR/tools/dpdk_nic_bind.py --status > > > > and also > > > > 2. lspci | grep 02:00 > > > > ? > > > > Antonio > > > > *From:* discuss [mailto:discuss-boun...@openvswitch.org] *On Behalf Of > *Charlie &