Re: [ovs-discuss] patch does not work

2015-02-03 Thread Ben Pfaff
OK, that naming is a side effect of how we've done releases, with tags on branches instead of on master. It doesn't indicate that you're downloading version 1.1. The final part of the name indicates the Git commit number (ec97c2d), which you can use to verify what commit you're getting. On Tue,

Re: [ovs-discuss] patch does not work

2015-02-03 Thread Ashok Chippa
www.openvswitch.org/download/ Clicking on link https://github.com/openvswitch/ovs/tarball/master a window pops up that says: You have chosen to open: openvswitch-ovs-v1.1.0pre2-7913-gec97c2d.tar.gz On Tue, Feb 3, 2015 at 6:06 PM, Ben Pfaff wrote: > What URL are you viewing and, when you're t

Re: [ovs-discuss] PATCH does not work

2015-02-03 Thread Ashok Chippa
Yes, I think so: 1> ovs-dpctl show: - root@ashok-vb:/home/achippa/dispatcher# ovs-dpctl show system@ovs-system: lookups: hit:266 missed:102 lost:0 flows: 0 masks: hit:368 total:0 hit/pkt:1.00 port 0: ovs-system (internal) port 1: br-int (internal) po

Re: [ovs-discuss] patch does not work

2015-02-03 Thread Ben Pfaff
What URL are you viewing and, when you're there, where are you clicking? On Tue, Feb 03, 2015 at 06:01:23PM -0800, Ashok Chippa wrote: > When I tried to download from openvswitch.org, clicking on the link there > says v1.1.0!!! > > On Tue, Feb 3, 2015 at 5:45 PM, Ben Pfaff wrote: > > > Where di

Re: [ovs-discuss] PATCH does not work

2015-02-03 Thread Ben Pfaff
Are the packets going through your bridge at all? What do "ovs-dpctl show" and "ovs-vsctl show" print? How about "ifconfig"? On Tue, Feb 03, 2015 at 06:00:35PM -0800, Ashok Chippa wrote: > Okay, here it is: I added a flow as shown below, and I expect the ping from > 1.1.1.1 to 1.1.1.2 to not wor

Re: [ovs-discuss] patch does not work

2015-02-03 Thread Ashok Chippa
When I tried to download from openvswitch.org, clicking on the link there says v1.1.0!!! On Tue, Feb 3, 2015 at 5:45 PM, Ben Pfaff wrote: > Where did you get the master tarball, and where does it say v1.1.0? > > On Tue, Feb 03, 2015 at 05:22:12PM -0800, Ashok Chippa wrote: > > That's all I wante

Re: [ovs-discuss] PATCH does not work

2015-02-03 Thread Ashok Chippa
Okay, here it is: I added a flow as shown below, and I expect the ping from 1.1.1.1 to 1.1.1.2 to not work... But the ping goes through... it is not hitting the flow I added, and I cannot tell which flow it is hitting... as dump-flows shows only one flow... BTW, dump-tables shows -ve count (there i

Re: [ovs-discuss] patch does not work

2015-02-03 Thread Ben Pfaff
Where did you get the master tarball, and where does it say v1.1.0? On Tue, Feb 03, 2015 at 05:22:12PM -0800, Ashok Chippa wrote: > That's all I wanted to know. I assumed it was for 2.3.0 (since I remember > mentioning I was working with 2.3.0). It obviously failed cause I tried to > patch it to 2

Re: [ovs-discuss] PATCH does not work

2015-02-03 Thread Ben Pfaff
So what does all the SHOUTING CAPITAL LETTERS and "THIS IS A BLOCKER FOR ME" come from? It sounds like it's not a blocker for you at all, you're just fixated on it. On Tue, Feb 03, 2015 at 05:30:41PM -0800, Ashok Chippa wrote: > It's not actually this I seem to be fixated on... I just want to sta

Re: [ovs-discuss] PATCH does not work

2015-02-03 Thread Ashok Chippa
It's not actually this I seem to be fixated on... I just want to start over (with 0 flows) and add some flows and see them take effect... which this bug seems to be preventing me...or so I think, I could be wrong... My packets seem to be hitting a flow that I am not able to see... Keep in mind, I'm

Re: [ovs-discuss] patch does not work

2015-02-03 Thread Ashok Chippa
That's all I wanted to know. I assumed it was for 2.3.0 (since I remember mentioning I was working with 2.3.0). It obviously failed cause I tried to patch it to 2.3.0. Hence the hunk failures and ... I modified the patch so it could be patched to 2.3.0 and compiled and reinstalled... However, I sti

Re: [ovs-discuss] PATCH does not work

2015-02-03 Thread Ben Pfaff
On Tue, Feb 03, 2015 at 12:06:43AM -0800, Ashok Chippa wrote: > Compiled the patch in and re-installed the .ko: > > STILL SEE THIS: > > root@ashok-vb:/home/achippa/openvswitch-2.3.0# ovs-ofctl del-flows br-int > root@ashok-vb:/home/achippa/openvswitch-2.3.0# ovs-ofctl dump-flows br-int > NXST_FLO

Re: [ovs-discuss] patch does not work

2015-02-03 Thread Ben Pfaff
On Mon, Feb 02, 2015 at 11:19:58PM -0800, Ashok Chippa wrote: > 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: The patch I pro

[ovs-discuss] PATCH does not work

2015-02-03 Thread Ashok Chippa
Compiled the patch in and re-installed the .ko: STILL SEE THIS: root@ashok-vb:/home/achippa/openvswitch-2.3.0# ovs-ofctl del-flows br-int root@ashok-vb:/home/achippa/openvswitch-2.3.0# ovs-ofctl dump-flows br-int NXST_FLOW reply (xid=0x4): root@ashok-vb:/home/achippa/openvswitch-2.3.0# ovs-ofctl

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