Re: [ovs-discuss] patch does not work

2015-02-02 Thread Ashok Chippa
Here is the patch I was expecting from the authors of ofproto.c: I made the changes and here's my patch: --- ofproto.c.orig2015-01-31 00:53:58.961069421 -0800 +++ ofproto.c2015-02-02 23:36:32.176345873 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014 Nicira, I

[ovs-discuss] patch does not work

2015-02-02 Thread Ashok Chippa
Can someone please help?... I AM BLOCKED ON THIS... One hunk has failed and I shared that with you. The code base I have (2.3.0) seems to have changed significantly where I cannot find a place to add these 4 lines: +if (i == 0) { +s->active_count -= connmgr_count_hidden

Re: [ovs-discuss] patch

2015-02-02 Thread Ashok Chippa
Can someone please help?... I AM BLOCKED ON THIS... One hunk has failed and I shared that with you. The code base I have (2.3.0) seems to have changed significantly where I cannot find a place to add these 4 lines: +if (i == 0) { +s->active_count -= connmgr_count_hidden

[ovs-discuss] Queue Size and packets in queue

2015-02-02 Thread Sumit Paliwal
Hello Everyone, I'm new to the openvswitch. I've created queues with the ports. and I'm trying to get the number of packets currently available in queue. ovs-ofctl queue-stats command gives the number of packets in queue. Now my doubt is that, is it the total number of packets ever entered in the

Re: [ovs-discuss] patch

2015-02-02 Thread Ashok Chippa
Hi Ben, Hoping you will provide me with a patch that will work... Here's the ofproto.c.rej: --- ofproto/ofproto.c +++ ofproto/ofproto.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc. + * Copyright (c) 2009-2015 Nicira, Inc. * Copyright (c) 2010 Jean

Re: [ovs-discuss] packet loss in RSPAN trafic

2015-02-02 Thread Philippe Gautier
It seems to be a MTU issue. Only tcp segments which lenght equal to 1484 are dropped (gre packet are 1484 + 38 = 1522) I tried to increase MTU with no success. ip link set eth0 mtu 1535 ip l show eth0 2: eth0: mtu 1535 qdisc pfifo_fast master ovs-system state UP mode DEFAULT group default qlen

Re: [ovs-discuss] packet loss in RSPAN trafic

2015-02-02 Thread Philippe Gautier
ip neigh show 192.168.42.151 dev br0 lladdr c0:3f:d5:60:3c:67 PERMANENT 192.168.42.2 dev br0 lladdr 7c:03:d8:81:2a:94 PERMANENT Same observations with static arp entries. I tried to export traffic to different ip address. I do not think it is related to arp table because my gateway is 192.168.42.

Re: [ovs-discuss] Open vSwitch STT support

2015-02-02 Thread Pravin Shelar
On Mon, Feb 2, 2015 at 11:20 AM, John W. Linville wrote: > On Mon, Feb 02, 2015 at 10:55:25AM -0800, Pravin Shelar wrote: >> STT patches were posted on netdev mailing list, But it was rejected. >> As policy datapath patches must be accepted first in upstream kernel >> before ported to OVS repo. Bu

Re: [ovs-discuss] patch

2015-02-02 Thread Ashok Chippa
Still waiting :) I cannot find the context (around the change) I saw in ofproto.c.rej in 2.3.0 ofproto.c. That's the reason for asking you for the patch (based on 2.3.0). I do not need the entire patch, just the small hunk that failed (in ofproto.c.rej I sent earlier). The faster I get it, the fast

Re: [ovs-discuss] Open vSwitch STT support

2015-02-02 Thread John W. Linville
On Mon, Feb 02, 2015 at 10:55:25AM -0800, Pravin Shelar wrote: > STT patches were posted on netdev mailing list, But it was rejected. > As policy datapath patches must be accepted first in upstream kernel > before ported to OVS repo. But considering STT is well known protocol, > it is used in produ

Re: [ovs-discuss] debugging openvswitch command-line clients

2015-02-02 Thread david jhon
Hi Ben, Thanks for your response. It means that after setting up a break point at cmd_show() method and attaching gdb to ovsdb-server pid (i.e., gdb ovs-vsctl.o --pid=ovsdb-serverpid), I am not able to debug this specific file as single stepping results in the following output: (gdb) n

[ovs-discuss] Open vSwitch STT support

2015-02-02 Thread Pravin Shelar
STT patches were posted on netdev mailing list, But it was rejected. As policy datapath patches must be accepted first in upstream kernel before ported to OVS repo. But considering STT is well known protocol, it is used in production and it can be useful for community, we can make exception for STT

[ovs-discuss] BFD liveness update support

2015-02-02 Thread Padma Jayasankar
Hi, I am using ovs 2.1.1. I am using Ubuntu 12.04. Now I have to use BFD to detect failure and update the liveness of action buckets. I am able to generate BFD traffic and the BFD ststus of interfaces are getting updated to down and up according to link status(failure and recovery). But this statu

[ovs-discuss] Fwd: OVS-controller crashes when tried in SSL mode

2015-02-02 Thread Ruchika Verma
hi, I am running ovs-controller with SSL enabled option using command - sudo ovs-controller -v pssl:6633 -p /mininet/mininet/ctl-privkey.pem -c /mininet/mininet/ctl-cert.pem -C /var/lib/openvswitch/pki/switchca/cacert.pem I have enabled BOOTSTRAP option at switch through - ovs-vsctl -- --b

[ovs-discuss] suse linux support

2015-02-02 Thread hengly
Dears, I install the latest openvswitch on Suse Linux following the steps in INSTALL.md. The ovsdb-server and ovs-vswitchd start successfully and work well. And ovs-vsctl can also create bridges. However, when I try to add a port to the new bridge using "ovs-vsctl add-port ovs0 tap0", the system i

[ovs-discuss] OVS-controller crashes when tried in SSL mode

2015-02-02 Thread Ruchika Verma
hi, I am running ovs-controller with SSL enabled option using command - sudo ovs-controller -v pssl:6633 -p /mininet/mininet/ctl-privkey.pem -c /mininet/mininet/ctl-cert.pem -C /var/lib/openvswitch/pki/switchca/ cacert.pem I have enabled BOOTSTRAP option at switch through - ovs-vsctl -- --

[ovs-discuss] What is the difference between OVS 2.1.0 and 2.3.1

2015-02-02 Thread tech_kals Kals
Hello Experts, #1) Could someone please tell me what is the difference between OVS 2.1.0 and 2.3.1? I was using earlier 2.1.0 and should i move to 2.3.1? #2) will OVS 2.1.0 supports TTP? or should I move to 2.3.1 version to support TTP? Thanks, __Kals__

[ovs-discuss] In flow entries should 'action' be set to normal for BFD control packets

2015-02-02 Thread Padma Jayasankar
Hi, I have to use BFD for failure detection and when i went through some examples the action field for the flow entries were set to 'Normal". Can't we use 'output' action. In that case i have to add two entries (one for each direction). Please claridy Thanks and Regards, Padma V

[ovs-discuss] Problems with MPLS POP, GotoTable -> IP Match

2015-02-02 Thread Steven Gemelos
I have a 3 table switch... Table 0: dl_type=0x8847,actions=resubmit(1,) dl_type=0x0800,actions=resubmit(2,) Table 1: dl_type=0x8847,mpls_bos=1,actions=POPMPLS,resubmit(2,) dl_type-0x8847,mpls_bos=0,actions=output(2) Table 2: dl_type=0x800,nw_src=192.168.2.10,nw_dst=192.168.1.10,actions=PUSHMPLS

Re: [ovs-discuss] [ dpdk-pktgen execution issue ] Error: Didn't find any ports to use

2015-02-02 Thread Mussar, Gary
I am guessing that this is a build issue. The dpdk-1.7.1 code depends on constructors in the object files to register the poll mode drivers. If the drivers are in an object file in a static library and nothing brings that object into the executable, then these constructors will not be invoked.

Re: [ovs-discuss] Packet drops during non-exhaustive flood with OVS and 1.8.0

2015-02-02 Thread Andrey Korolyov
On Thu, Jan 22, 2015 at 8:11 PM, Andrey Korolyov wrote: > On Wed, Jan 21, 2015 at 8:02 PM, Andrey Korolyov wrote: >> Hello, >> >> I observed that the latest OVS with dpdk-1.8.0 and igb_uio starts to >> drop packets earlier than a regular Linux ixgbe 10G interface, setup >> follows: >> >> receiver

[ovs-discuss] Problem compiling ovs with dist-hooks-git in Makefile.am

2015-02-02 Thread Dani Camps
Dear all, I have cloned openvswitch into a private git repository and when compiling with make I get an error that the distribution is missing files in dist-hooks-git. The error comes from this line in Makefile.am: (cd $(srcdir) && git ls-files) | grep -v '\.gitignore$$' | \ sort -u > all-gitfil