Re: [ovs-discuss] performance drop 60% when using vxlan tunnel

2014-11-05 Thread FengYu LeiDian
于 2014年11月06日 00:08, Jesse Gross 写道: On Tue, Nov 4, 2014 at 11:03 PM, FengYu LeiDian wrote: Hi Env: redhat 6.4, OpenvSwitch-2.1.2, using native datapath/linux/openvswitch.ko module VM1 on host1, VM2 on host2, host1 and host2 are connected by a switch. both VM enable virtio/vhost when launchin

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-05 Thread Madhu Challa
The other issue was in the same file. I am glad make check catches these issues and hope there are none in other files. I attached a patch that should make it simpler to extend the union in the future. Thanks. On Wed, Nov 5, 2014 at 11:54 AM, Madhu Challa wrote: > This test was failing because

Re: [ovs-discuss] performance drop 60% when using vxlan tunnel

2014-11-05 Thread Zhangguanghui
Hi Vxlan tunnel based on udp, (TSO support offloads for tcp, NIC support in default). in the case of case2 , this is entirely normal performance for standard ovs2.1.2 Only if you can make essential performance optimization. zhangguanghui 10102 From: di

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-05 Thread Madhu Challa
This test was failing because of an assumption in the code on its size. diff --git a/lib/learn.c b/lib/learn.c index e93015c..aa4fc45 100644 --- a/lib/learn.c +++ b/lib/learn.c @@ -209,7 +209,7 @@ learn_parse_load_immediate(const char *s, struct ofpact_lear } s = arrow; } el

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-05 Thread Madhu Challa
Thanks Ben. I will debug and get back to you. I will check with Jesse in the upcoming ovs conference if he has other thoughts on implementing this. Thanks. On Wed, Nov 5, 2014 at 8:17 AM, Ben Pfaff wrote: > On Tue, Nov 04, 2014 at 03:10:59PM -0800, Madhu Challa wrote: > > I was playing increasi

Re: [ovs-discuss] OVS NetFlow export - is there passive timeout?

2014-11-05 Thread Ben Pfaff
On Wed, Nov 05, 2014 at 04:59:30PM +0100, Martin Vizvary wrote: > does anybody know if and how is implemented passive timeout for flow > expiration? > > I was playing around with it, but you can configure only active timeout. > (passive timeout is approximately 1s - I guess it is connected with >

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-05 Thread Ben Pfaff
On Tue, Nov 04, 2014 at 03:10:59PM -0800, Madhu Challa wrote: > I was playing increasing the size of these structures to be able to read > Geneve metadata. Currently they are limited to 16 bytes. I noticed that > some of the test cases fail when I do this. I guess I can read the oxms > directly wit

Re: [ovs-discuss] performance drop 60% when using vxlan tunnel

2014-11-05 Thread Jesse Gross
On Tue, Nov 4, 2014 at 11:03 PM, FengYu LeiDian wrote: > Hi > > Env: redhat 6.4, OpenvSwitch-2.1.2, using native > datapath/linux/openvswitch.ko module > > VM1 on host1, VM2 on host2, host1 and host2 are connected by a switch. > both VM enable virtio/vhost when launching VM > > case1: > VM -> tap

[ovs-discuss] Problem with deleting ports on a bridge of datapath_type "netdev"

2014-11-05 Thread Ferriter, Cian
I'm trying to delete a "dpdk" type port and add it again. I start vswitchd with DPDK argumentsand create a bridge with datapath_type "netdev" . . /vswitchd/ovs-vswitchd --dpdk -c 0x2 -n 4 --socket-mem 4096,0 -- unix:/usr/local/var/run/openvswitch/db.sock --pidfile --log-file -de

Re: [ovs-discuss] ovs 2.3 kernel module build failed on rhel 7.0 GA

2014-11-05 Thread Gang U Xu
Hi, For why I have to build openvswitch-kmod, I think it is from spec under rhel/openvswitch.spec ... Requires: openvswitch-kmod, logrotate, python ... I read spec from Fedora source rpm ftp://fr2.rpmfind.net/linux/fedora/linux/development/rawhide/source/SRPMS/o/openvswitch-2.3.0-2.fc22.src.rpm

Re: [ovs-discuss] ovs 2.3 kernel module build failed on rhel 7.0 GA

2014-11-05 Thread Gang U Xu
Hi, I followed your way and can build kernal succ. Seemed that important step is we need run boot.sh again. I found after run this step, all errors changed to warning so build passed. I think as rhel 7 has been out for some time, although only a few product switch to 7.0. It will better to pr

[ovs-discuss] [QoS (ingress policing limitation ) have working but it work with have different than result Lab on home website]

2014-11-05 Thread Lâm Hải Sơn
I have to do step by step for QOS lab on website(openvswitch.org) http://openvswitch.org/support/config-cookbooks/qos-rate-limiting . But when I test result after complete configuration of openvswitch. I faced a more difference than result on web site. When I test on VM, bandwidth do not limited. B

Re: [ovs-discuss] ovs 2.3 kernel module build failed on rhel 7.0 GA

2014-11-05 Thread Gang U Xu
Below Thanks From: Flavio Leitner To: Gang U Xu/China/IBM@IBMCN Cc: Alex Wang , b...@openvswitch.org Date: 2014/10/31 21:33 Subject:Re: [ovs-discuss] ovs 2.3 kernel module build failed on rhel 7.0 GA Hi Gang, I've tried 2.3 with that fix on 3.10.0-123.8.1. See my ste

Re: [ovs-discuss] ovs 2.3 kernel module build failed on rhel 7.0 GA

2014-11-05 Thread Gang U Xu
Yes, In fact, I reboot the whole system after I upgrade kernel. Below for your reference [root@vs260 ~]# rpm -qa | grep kernel- kernel-tools-3.10.0-123.8.1.el7.x86_64 kernel-devel-3.10.0-123.8.1.el7.x86_64 kernel-3.10.0-123.8.1.el7.x86_64 kernel-3.10.0-123.el7.x86_64 kernel-devel-3.10.0-123.el7.

Re: [ovs-discuss] ovs 2.3 kernel module build failed on rhel 7.0 GA

2014-11-05 Thread Gang U Xu
Hi all, In fact, I really boot my build node after upgrade kernel. I did some investigation 1. For below error: In file included from /home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/gre.h:10:0, from /home/xugang/tmp3/ovs-2.3/BUIL

Re: [ovs-discuss] ovs 2.3 kernel module build failed on rhel 7.0 GA

2014-11-05 Thread Gang U Xu
Hi all, Thanks your quick support first! I did below 1. Update kernel to 3.10.0-123.8.1.el7.x86_64 2. I cherry-pick 4ae2b2c1c4c345d0cb5f5a6b0f20fd6afb4a6962 from branch 2.3, then generate one patch 3. After install patch, build again, the problem skb_zerocopy solved now, but still failed for be

[ovs-discuss] OVS NetFlow export - is there passive timeout?

2014-11-05 Thread Martin Vizvary
Hi, does anybody know if and how is implemented passive timeout for flow expiration? I was playing around with it, but you can configure only active timeout. (passive timeout is approximately 1s - I guess it is connected with next_timeout cycle only... Martin -- Mgr. Martin Vizvary

Re: [ovs-discuss] Matching GTP-U with openvswitch

2014-11-05 Thread Ben Pfaff
If the fields you are adding are for a tunnel, and flow extraction will look beyond the tunnel header into the encapsulated packet, then I recommend adding your fields to struct flow_tnl--it will make the remaining changes easier. Otherwise, they probably should not be in flow_tnl. On Wed, Nov 05

Re: [ovs-discuss] Regarding http://patchwork.openvswitch.org/patch/6679/

2014-11-05 Thread Gurucharan Shetty
[Adding ovs-discuss as others may find it useful, I hope you don't mind.] Yes, my patch is doing the same. But be aware that 'ovs-docker' is just a very simple script that adds an interface into the container after it is created. So you will need some mechanism inside the container to prevent the

Re: [ovs-discuss] Matching GTP-U with openvswitch

2014-11-05 Thread Dani Camps
Hi Ben, Thanks. Looking at struct flow I see the structure flow_tnl. Should matching fields of the GTP header be declared in here or directly as members of the flow struct? Cheers Daniel On Tue, Nov 4, 2014 at 6:50 PM, Ben Pfaff wrote: > On Tue, Nov 04, 2014 at 07:42:36PM +0100, Dani Camps wro