Re: [ovs-discuss] Gre tunnel segmenting packets to 1500 bytes

2014-07-28 Thread Han Zhou
Hi, > > OK - I see, thanks for clearing that up. > Do you know if VXLAN has the same limitation ? > The Contrail vrouter seems to be able to work around it.. > http://opencontrail.org/evaluating-opencontrail-virtual-router-performance/ > Yes, VXLAN is the same. I just read the OpenContrail link yo

Re: [ovs-discuss] reg:quire about --detach

2014-07-28 Thread Justin Pettit
On July 27, 2014 at 10:23:04 PM, Anand S Angadi (as.an...@globaledgesoft.com) wrote: > Hi All, > any one please tell me which version of dpdkVswitch having > --detach option in ovs_vswitchd. As Ben mentioned, if you are using a fork of OVS, your best bet is to ask in their forum.  However, there

Re: [ovs-discuss] ovs data structure

2014-07-28 Thread Ben Pfaff
On Mon, Jul 28, 2014 at 03:16:20PM -0700, Bo Hu wrote: > I have a question about the data structure of the flow entries saving in > OVS. I install several flow entries in ascending priority, however, when I > want to get these flow entries, I find that the order of the reply seems > randomly. Is th

[ovs-discuss] ovs data structure

2014-07-28 Thread Bo Hu
Hi, I have a question about the data structure of the flow entries saving in OVS. I install several flow entries in ascending priority, however, when I want to get these flow entries, I find that the order of the reply seems randomly. Is the installation of flow entries also randomly in the data st

Re: [ovs-discuss] How to use the test suite?

2014-07-28 Thread Arthur BONI
Thank you! Date: Mon, 28 Jul 2014 17:27:03 +0200 From: bachha...@gmail.com To: ab...@live.fr CC: discuss@openvswitch.org Subject: Re: [ovs-discuss] How to use the test suite? Dear Arthur, It was written how to use it in the INSTALL file. Just scroll down

Re: [ovs-discuss] bug: Adding or deleting port results to flush of QoS policy for all bridge ports

2014-07-28 Thread Andrey Korolyov
On Mon, Jul 28, 2014 at 9:44 PM, Ben Pfaff wrote: > On Fri, Jul 25, 2014 at 07:29:24PM +0400, Andrey Korolyov wrote: >> Assuming we have trivial case: libvirt, its QoS limits (for which >> appropriate rules are executed for each port) and more than one VM >> sharing the same OVS bridge. Port confi

Re: [ovs-discuss] Detecting Elephant flow.

2014-07-28 Thread Peter Phaal
One way to detect Elephant flows on OVS is to enable sFlow on OVS. The following article provides an example of Elephant flow detection and marking using OVS / Mininet: http://blog.sflow.com/2014/04/mininet-integrated-hybrid-openflow.html There have been some experiments described using patched

Re: [ovs-discuss] does vswitchd runs multiple threads when i added dpdk devices

2014-07-28 Thread Alex Wang
Hey Srinivas, Right now, ovs has only one dpdk polling thread. We are working on creating multiple polling threads and pinning polling threads to the same cpu socket as dpdk interface. Thanks, Alex Wang, On Mon, Jul 28, 2014 at 9:15 AM, Ben Pfaff wrote: > On Mon, Jul 28, 2014 at 07:33:35AM

Re: [ovs-discuss] bug: Adding or deleting port results to flush of QoS policy for all bridge ports

2014-07-28 Thread Ben Pfaff
On Fri, Jul 25, 2014 at 07:29:24PM +0400, Andrey Korolyov wrote: > Assuming we have trivial case: libvirt, its QoS limits (for which > appropriate rules are executed for each port) and more than one VM > sharing the same OVS bridge. Port configurations are initially empty > and addition going throu

Re: [ovs-discuss] OVS support for Openflow meter

2014-07-28 Thread Ben Pfaff
On Sun, Jul 27, 2014 at 05:26:16PM +0800, Dickens wrote: > Excuse me, does any versions or patches can make the OVS software > support METER now? I use OVS 2.3.90 on Ubuntu, and ovs-ofctl > command answers with error OFPMMFC_OUT_OF_METER. This is in the FAQ. Q: Does Open vSwitch support OpenFlow

Re: [ovs-discuss] reg:quire about --detach

2014-07-28 Thread Ben Pfaff
On Mon, Jul 28, 2014 at 10:49:23AM +0530, Anand S Angadi wrote: > any one please tell me which version of dpdkVswitch having > --detach option in ovs_vswitchd. Please ask questions about the dpdk vswitch on its mailing lists. ___ discuss mailin

Re: [ovs-discuss] does vswitchd runs multiple threads when i added dpdk devices

2014-07-28 Thread Ben Pfaff
On Mon, Jul 28, 2014 at 07:33:35AM +, Srinivas Reddi wrote: > As per my understanding each dpdk device is polled on different thread . > But in my case vswithcd is running in only single thread [on core 0] , I > expected to run on 3 cores .. > > One thing I want to clarify that .. does o

Re: [ovs-discuss] How to use the test suite?

2014-07-28 Thread Duy Bach Ha
Dear Arthur, It was written how to use it in the INSTALL file. Just scroll down a little bitfar. List: /make check TESTSUITEFLAGS=--list | grep tunnel /### or you can "/grep gre/" I haven't checked what will work. Test case 123 and 477: /make check TESTSUITEFLAGS='123 477'/ Regards, Duy On

Re: [ovs-discuss] Gre tunnel segmenting packets to 1500 bytes

2014-07-28 Thread Kristoffer Egefelt
Hi Han, >> GRE: 9000 bytes >> NIC: 9000 bytes >> > Where did you get NIC: 9000 bytes? What's the MTU of your physical interface? tcpdump on the physical interface show GRE packets are segmented to ~9000 if the VMs vif has MTU 9000. The MTU on the physical NIC is 9192. > Otherwise it is normal

[ovs-discuss] How to use the test suite?

2014-07-28 Thread Arthur BONI
Hi, Can someone tell me how can I use the test suite (tests/*) to test tunnels? Thanks! Arthur ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] Detecting Elephant flow.

2014-07-28 Thread Bhargav Bhikkaji
How do one detect Elephant flow on OVS ?. Is there a configurable value, if so, can you provide more details ? Thanks Bhargav ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Gre tunnel segmenting packets to 1500 bytes

2014-07-28 Thread Han Zhou
Hi Kristoffer, On Mon, Jul 28, 2014 at 5:29 PM, Kristoffer Egefelt wrote: > GRE: 9000 bytes > NIC: 9000 bytes > Where did you get NIC: 9000 bytes? What's the MTU of your physical interface? Otherwise it is normal. TSO of virtual driver of VM offload 64k buffers to host, and host (without GRE off

Re: [ovs-discuss] OFP v1.3 match normalisation & set field syntax

2014-07-28 Thread Kmindg G
On Mon, Jul 28, 2014 at 6:14 PM, Wenqin SHAO wrote: > match normalisation resolved: > > checked OF norms again, now working, the right way of formulating rules > should be: > > sudo ovs-ofctl -O OpenFlow13 add-flow s1 > ip,tcp,dl_src=00:00:00:00:aa:bb,dl_dst=aa:aa:00:00:00:00,nw_src=192.168.0.1,n

Re: [ovs-discuss] OFP v1.3 match normalisation & set field syntax

2014-07-28 Thread Wenqin SHAO
match normalisation resolved: checked OF norms again, now working, the right way of formulating rules should be: sudo ovs-ofctl -O OpenFlow13 add-flow s1 ip,tcp,dl_src=00:00:00:00:aa:bb,dl_dst=aa:aa:00:00:00:00,nw_src=192.168.0.1,nw_dst=8.8.8.8,tp_src=7788,actions=output:1 On Mon, Jul 28, 2014

[ovs-discuss] OFP v1.3 match normalisation & set field syntax

2014-07-28 Thread Wenqin SHAO
Hi list, New to here, and I encountered some seem-to-be-very-basic problems concerning flow installation. Here it goes: First, it's about matching normalisation, I tried to install a rule manually via ovs-ofctl. sudo ovs-ofctl -O OpenFlow13 add-flow s1 dl_src=00:00:00:00:aa:bb,dl_dst=aa:aa:00:00

Re: [ovs-discuss] Gre tunnel segmenting packets to 1500 bytes

2014-07-28 Thread Kristoffer Egefelt
Do you mean that GRE offloading is needed for OVS to forward GSO/GRO packets ? The funny thing is, that it seems to be the VMs MTU that determines what the GRE MTU will be. So at VM mtu 1500, packet sizes are: VM: 64K VIF: 64K Bridge: 64K GRE: 1500 bytes NIC: 1500 bytes At VM mtu 9000, packet si

[ovs-discuss] does vswitchd runs multiple threads when i added dpdk devices

2014-07-28 Thread Srinivas Reddi
Hi, I have taken the code form https://github.com/openvswitch/ovs I have added two dpdk devices ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk ovs-vsctl add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK In the above