[ovs-dev] Processing of openvswitch_1.2.2-1_amd64.changes

2011-10-26 Thread Debian FTP Masters
openvswitch_1.2.2-1_amd64.changes uploaded successfully to localhost along with the files: openvswitch_1.2.2-1.dsc openvswitch_1.2.2.orig.tar.gz openvswitch_1.2.2-1.debian.tar.gz openvswitch-common_1.2.2-1_amd64.deb openvswitch-switch_1.2.2-1_amd64.deb openvswitch-ipsec_1.2.2-1_amd64.de

[ovs-dev] openvswitch_1.2.2-1_amd64.changes ACCEPTED into unstable

2011-10-26 Thread Debian FTP Masters
Accepted: openvswitch-brcompat_1.2.2-1_amd64.deb to main/o/openvswitch/openvswitch-brcompat_1.2.2-1_amd64.deb openvswitch-common_1.2.2-1_amd64.deb to main/o/openvswitch/openvswitch-common_1.2.2-1_amd64.deb openvswitch-controller_1.2.2-1_amd64.deb to main/o/openvswitch/openvswitch-controlle

[ovs-dev] Bug#642206: marked as done (Wrong path to executable in /etc/init.d/openvswitch-controller)

2011-10-26 Thread Debian Bug Tracking System
Your message dated Wed, 26 Oct 2011 07:32:51 + with message-id and subject line Bug#642206: fixed in openvswitch 1.2.2-1 has caused the Debian Bug report #642206, regarding Wrong path to executable in /etc/init.d/openvswitch-controller to be marked as done. This means that you claim that the

[ovs-dev] Processing of openvswitch_1.2.2-2_amd64.changes

2011-10-26 Thread Debian FTP Masters
openvswitch_1.2.2-2_amd64.changes uploaded successfully to localhost along with the files: openvswitch_1.2.2-2.dsc openvswitch_1.2.2-2.debian.tar.gz openvswitch-common_1.2.2-2_amd64.deb openvswitch-switch_1.2.2-2_amd64.deb openvswitch-ipsec_1.2.2-2_amd64.deb openvswitch-controller_1.2.2

[ovs-dev] openvswitch_1.2.2-2_amd64.changes ACCEPTED into unstable

2011-10-26 Thread Debian FTP Masters
Accepted: openvswitch-brcompat_1.2.2-2_amd64.deb to main/o/openvswitch/openvswitch-brcompat_1.2.2-2_amd64.deb openvswitch-common_1.2.2-2_amd64.deb to main/o/openvswitch/openvswitch-common_1.2.2-2_amd64.deb openvswitch-controller_1.2.2-2_amd64.deb to main/o/openvswitch/openvswitch-controlle

[ovs-dev] [mirror 00/13] improve mirroring implementation

2011-10-26 Thread Ben Pfaff
This series of patches essentially rewrites the OFPP_NORMAL implementation, improving its performance and eliminating some ofproto-dpif.c. It's an intermediate step toward adding some more mirroring features. Ben Pfaff (13): ofproto-dpif: Do not output RSPAN packets to SPAN ports. ofproto-dpi

[ovs-dev] [mirror 01/13] ofproto-dpif: Do not output RSPAN packets to SPAN ports.

2011-10-26 Thread Ben Pfaff
It's always been my intention that ports used as port mirroring destinations (SPAN) be reserved solely for that purpose. When SPAN and RSPAN are both configured, however, RSPAN mirror packets could get directed to SPAN ports, which was unintentional. This commit also updates the documentation to

[ovs-dev] [mirror 02/13] ofproto-dpif: Remove duplicate VLAN logic.

2011-10-26 Thread Ben Pfaff
flow_get_vlan() duplicated the logic in input_vid_to_vlan() in an unclear way and added some logic of its own to detect invalid input VLANs. This commit eliminates the duplication and makes the code easier to understand. --- ofproto/ofproto-dpif.c | 105 +++---

[ovs-dev] [mirror 03/13] ofproto-dpif: Make compose_mirror_dsts() harder to screw up.

2011-10-26 Thread Ben Pfaff
I came close to add a "continue;" inside the main "while" loop in compose_mirror_dsts(), which would have turned it into an infinite loop. This commit changes it to a "for" loop that is harder to screw up. --- ofproto/ofproto-dpif.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) dif

[ovs-dev] [mirror 04/13] ofproto-dpif: Improve RSPAN translation performance from O(n**2) to O(n).

2011-10-26 Thread Ben Pfaff
This code previously checked whether each individual mirror output was already in the set of destinations. This is O(n**2) in the number of ports in a bridge. The new code uses a smarter algorithm to eliminate duplicates, one that is O(n) in the number of ports in a bridge. --- ofproto/ofproto-d

[ovs-dev] [mirror 05/13] flow: Rename flow_compare() to flow_compare_3way().

2011-10-26 Thread Ben Pfaff
I like the _3way suffix convention. It makes the interpretation of the return value clear. We use it elsewhere in the tree, so use it here too. There weren't any users of flow_compare() outside of flow.h, but there soon will be. --- lib/flow.h |6 +++--- 1 files changed, 3 insertions(+), 3

[ovs-dev] [mirror 06/13] shash: New function shash_find_len().

2011-10-26 Thread Ben Pfaff
This will acquire a user in an upcoming commit that uses it in parsing without modifying the text being parsed or copying it. --- lib/shash.c | 25 ++--- lib/shash.h |3 ++- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/lib/shash.c b/lib/shash.c index 32

[ovs-dev] [mirror 07/13] odp-util: Code formatting improvements.

2011-10-26 Thread Ben Pfaff
--- lib/odp-util.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/odp-util.c b/lib/odp-util.c index 33672c8..1f6f33d 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -33,8 +33,7 @@ #include "timeval.h" #include "util.h" -static void -format_odp_key_attr(c

[ovs-dev] [mirror 08/13] odp-util: New function ovs_key_attr_to_string().

2011-10-26 Thread Ben Pfaff
This seems like a worthwhile improvement in itself, but it will also see additional users in upcoming commits. --- lib/odp-util.c | 40 +++- 1 files changed, 35 insertions(+), 5 deletions(-) diff --git a/lib/odp-util.c b/lib/odp-util.c index 1f6f33d..9959662

[ovs-dev] [mirror 09/13] odp-util: New function factored out of put_userspace_action().

2011-10-26 Thread Ben Pfaff
An upcoming patch to odp-util will add a new user, but this seems like a reasonable change in any case. --- lib/odp-util.c | 22 ++ lib/odp-util.h |3 +++ ofproto/ofproto-dpif.c |9 + 3 files changed, 26 insertions(+), 8 deletions(-) diff --gi

[ovs-dev] [mirror 10/13] odp-util: Add support for named ports to odp_flow_key_from_string().

2011-10-26 Thread Ben Pfaff
Really the "trace" command should support this but in fact I need it for an upcoming update to a test. --- lib/odp-util.c | 29 ++--- lib/odp-util.h |4 +++- ofproto/ofproto-dpif.c |2 +- tests/test-odp.c |2 +- 4 files changed, 31 insert

[ovs-dev] [mirror 11/13] odp-util: New function odp_actions_from_string().

2011-10-26 Thread Ben Pfaff
An upcoming commit will add a user. The only planned users for now are part of unit tests themselves, so it doesn't seem important to unit test it. --- lib/odp-util.c| 255 - lib/odp-util.h|3 + utilities/ovs-dpctl.c | 29

[ovs-dev] [mirror 12/13] tests: Rewrite code for comparing sets of ODP actions.

2011-10-26 Thread Ben Pfaff
The compare-odp-actions.pl utility isn't fully general, even for its intended purpose of allowing sets of ODP actions to be compared ignoring unimportant differences in ordering of output actions and VLAN set actions. I decided that the proper way to do it was to have a utility that can actually p

[ovs-dev] [mirror 13/13] ofproto-dpif: Get rid of "struct dst".

2011-10-26 Thread Ben Pfaff
struct dst is an intermediate form for OFPP_NORMAL translation that has existed since the beginning of Open vSwitch development. It has always been a bit ugly, since ideally we wouldn't need any intermediate form at all. This commit eliminates it, which speeds up OFPP_NORMAL translation. struct

[ovs-dev] [PATCH] datapath: Convert kernel priority actions into match/set.

2011-10-26 Thread Pravin B Shelar
Following patch adds skb-priority to flow key. So userspace will know what was priority when packet arrived and we can remove the pop/reset priority action. It's no longer necessary to have a special action for pop that is based on the kernel remembering original skb->priority. Userspace can just e

[ovs-dev] [PATCH] vswitch: Don't update STP on synthetic ports.

2011-10-26 Thread Ethan Jackson
This can cause ovs-vswitchd to crash. Bug #8007. Reported-by: Krishna Miriyala --- vswitchd/bridge.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 3a19235..09696d5 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/br

Re: [ovs-dev] [PATCH] vswitch: Don't update STP on synthetic ports.

2011-10-26 Thread Ethan Jackson
As an aside. This particular issue has bitten us several times. Does it make sense in the future to push the check for synthetic ifaces into the idl? Ethan On Wed, Oct 26, 2011 at 11:42, Ethan Jackson wrote: > This can cause ovs-vswitchd to crash. > > Bug #8007. > Reported-by: Krishna Miriyala

Re: [ovs-dev] [PATCH] vswitch: Don't update STP on synthetic ports.

2011-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2011 at 11:42:11AM -0700, Ethan Jackson wrote: > This can cause ovs-vswitchd to crash. > > Bug #8007. > Reported-by: Krishna Miriyala The fix looks good in isolation. Did you look around to see whether any other code needs a similar fix? Thanks, Ben. __

Re: [ovs-dev] [PATCH] vswitch: Don't update STP on synthetic ports.

2011-10-26 Thread Ben Pfaff
Hmm, that sounds like a good idea, yes. On Wed, Oct 26, 2011 at 11:42:57AM -0700, Ethan Jackson wrote: > As an aside. This particular issue has bitten us several times. Does > it make sense in the future to push the check for synthetic ifaces > into the idl? > > Ethan > > On Wed, Oct 26, 2011

Re: [ovs-dev] [PATCH] vswitch: Don't update STP on synthetic ports.

2011-10-26 Thread Ethan Jackson
I gave it a once over and nothing in particular stands out. This is the only function which writes to the port table in this way so I think we're good. Thanks for the review. Ethan On Wed, Oct 26, 2011 at 11:42, Ben Pfaff wrote: > On Wed, Oct 26, 2011 at 11:42:11AM -0700, Ethan Jackson wrote: >

Re: [ovs-dev] [PATCH] vswitch: Don't update STP on synthetic ports.

2011-10-26 Thread Ben Pfaff
OK, great, thanks. On Wed, Oct 26, 2011 at 11:50:03AM -0700, Ethan Jackson wrote: > I gave it a once over and nothing in particular stands out. This is > the only function which writes to the port table in this way so I > think we're good. > > Thanks for the review. > Ethan > > On Wed, Oct 26,

[ovs-dev] IPv6 first/later fragments

2011-10-26 Thread Ben Pfaff
Navindra Yadav pointed out in a discussion over on an ONF issue tracker that first/later fragment isn't as useful with IPv6: the TCP/UDP port numbers aren't necessarily in the first fragment, because other intermediate extension headers can follow the fragment header. Any idea what we should do ab

[ovs-dev] [PATCH] datapath: Make port numbers for UDP-based tunnels userspace configurable.

2011-10-26 Thread Ben Pfaff
This is actually intended for use by the VXLAN tunnel implementation, which should use a source port range, but it is fairly generic infrastructure so this implements it independent of VXLAN and applies it to CAPWAP. Not yet tested. --- datapath/tunnel.c| 184

Re: [ovs-dev] IPv6 first/later fragments

2011-10-26 Thread Jesse Gross
On Wed, Oct 26, 2011 at 2:59 PM, Ben Pfaff wrote: > Navindra Yadav pointed out in a discussion over on an ONF issue tracker > that first/later fragment isn't as useful with IPv6: the TCP/UDP port > numbers aren't necessarily in the first fragment, because other > intermediate extension headers can

Re: [ovs-dev] IPv6 first/later fragments

2011-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2011 at 03:34:10PM -0700, Jesse Gross wrote: > On Wed, Oct 26, 2011 at 2:59 PM, Ben Pfaff wrote: > > Navindra Yadav pointed out in a discussion over on an ONF issue tracker > > that first/later fragment isn't as useful with IPv6: the TCP/UDP port > > numbers aren't necessarily in t

[ovs-dev] [PATCH] ovsdb-idl: Don't even try to modify synthetic rows, instead of segfaulting.

2011-10-26 Thread Ben Pfaff
Synthetic rows lack a lot of important metadata that the IDL adds to rows actually obtained from the database, and it's impractical to add that metadata to synthetic rows. This means that the IDL functions to modify these rows dereference null pointers and segfault. So, it's really important not

Re: [ovs-dev] [PATCH] ovsdb-idl: Don't even try to modify synthetic rows, instead of segfaulting.

2011-10-26 Thread Ethan Jackson
Wouldn't we want to remove all of the synthetic checks from the bridge as well? I haven't looked at this closely yet. Ethan On Wed, Oct 26, 2011 at 15:47, Ben Pfaff wrote: > Synthetic rows lack a lot of important metadata that the IDL adds to rows > actually obtained from the database, and it's

Re: [ovs-dev] [PATCH] ovsdb-idl: Don't even try to modify synthetic rows, instead of segfaulting.

2011-10-26 Thread Ben Pfaff
That's now possible but not necessary. It could be added as a followup at any time. It's more important to actually make mistakes not blow up. On Wed, Oct 26, 2011 at 03:49:33PM -0700, Ethan Jackson wrote: > Wouldn't we want to remove all of the synthetic checks from the bridge > as well? I hav

Re: [ovs-dev] IPv6 first/later fragments

2011-10-26 Thread Jesse Gross
On Wed, Oct 26, 2011 at 3:36 PM, Ben Pfaff wrote: > On Wed, Oct 26, 2011 at 03:34:10PM -0700, Jesse Gross wrote: >> On Wed, Oct 26, 2011 at 2:59 PM, Ben Pfaff wrote: >> > Navindra Yadav pointed out in a discussion over on an ONF issue tracker >> > that first/later fragment isn't as useful with IP

Re: [ovs-dev] [manpages 3/5] tests: Fix noinst_man_MANS.

2011-10-26 Thread Ben Pfaff
I'm dropping this patch because test-openflowd has been deleted. On Fri, Oct 21, 2011 at 06:44:09PM -0700, Ethan Jackson wrote: > Looks good. > > Ethan > > On Thu, Aug 25, 2011 at 12:34, Ben Pfaff wrote: > > The manpage name is test-openflowd.8, not ovs-openflowd.8. > > > > This should have cau

Re: [ovs-dev] [manpages 4/5] test-openflowd: Fix groff warning.

2011-10-26 Thread Ben Pfaff
I'm dropping this patch because test-openflowd has been deleted. On Fri, Oct 21, 2011 at 06:44:49PM -0700, Ethan Jackson wrote: > Looks good. > > Ethan > > On Thu, Aug 25, 2011 at 12:34, Ben Pfaff wrote: > > The warning is: > > ? ? ? ?tests/test-openflowd.8:365: warning: macro `DD' not defined

Re: [ovs-dev] IPv6 first/later fragments

2011-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2011 at 03:53:49PM -0700, Jesse Gross wrote: > On Wed, Oct 26, 2011 at 3:36 PM, Ben Pfaff wrote: > > On Wed, Oct 26, 2011 at 03:34:10PM -0700, Jesse Gross wrote: > >> On Wed, Oct 26, 2011 at 2:59 PM, Ben Pfaff wrote: > >> > Navindra Yadav pointed out in a discussion over on an ONF

Re: [ovs-dev] [manpages 2/5] Implement automatic dependency generation for manpages.

2011-10-26 Thread Ben Pfaff
On Fri, Oct 21, 2011 at 06:42:00PM -0700, Ethan Jackson wrote: > Should sodepends.pl be copyright 2008, 2011 as well as 2011? It's derived from soexpand.pl which has a 2008 copyright, so my (imperfect) understanding of the rules is that the earlier copyright year should be retained. > I think the

Re: [ovs-dev] [manpages 2/5] Implement automatic dependency generation for manpages.

2011-10-26 Thread Ethan Jackson
> This is nastier than it looks at first.  Automake is what does the > include processing here (take a look at the generated Makefile in your > build directory: it won't have any include directive from this). > Automake will error out if an include file is missing.  That means that > we need to inc

Re: [ovs-dev] [manpages 2/5] Implement automatic dependency generation for manpages.

2011-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2011 at 04:10:14PM -0700, Ethan Jackson wrote: > > This is nastier than it looks at first. ?Automake is what does the > > include processing here (take a look at the generated Makefile in your > > build directory: it won't have any include directive from this). > > Automake will err

[ovs-dev] [PATCH 1/2] bundle: Allow OFPP_NONE in bundle actions.

2011-10-26 Thread Ethan Jackson
This patch special cases OFPP_NONE to be always up in bundle actions. Presumably, if a controller put OFPP_NONE in their bundle action, they want it to be an available choice. --- ofproto/ofproto-dpif.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ofproto/ofproto-dpif.

[ovs-dev] [PATCH 2/2] bundle: Don't special case OFPP_LOCAL in bundle actions.

2011-10-26 Thread Ethan Jackson
The OFPP_LOCAL port is a real port with a carrier status. There isn't a good reason to ignore this data when implementing the bundle action. --- ofproto/ofproto-dpif.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 39

Re: [ovs-dev] [PATCH 1/2] bundle: Allow OFPP_NONE in bundle actions.

2011-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2011 at 04:14:48PM -0700, Ethan Jackson wrote: > This patch special cases OFPP_NONE to be always up in bundle > actions. Presumably, if a controller put OFPP_NONE in their bundle > action, they want it to be an available choice. Seems reasonable but I'd update nicira-ext.h to ment

Re: [ovs-dev] [PATCH 2/2] bundle: Don't special case OFPP_LOCAL in bundle actions.

2011-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2011 at 04:14:49PM -0700, Ethan Jackson wrote: > The OFPP_LOCAL port is a real port with a carrier status. There > isn't a good reason to ignore this data when implementing the > bundle action. Looks good to me. ___ dev mailing list dev@

Re: [ovs-dev] [manpages 2/5] Implement automatic dependency generation for manpages.

2011-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2011 at 04:10:10PM -0700, Ben Pfaff wrote: > On Wed, Oct 26, 2011 at 04:10:14PM -0700, Ethan Jackson wrote: > > > This is nastier than it looks at first. ?Automake is what does the > > > include processing here (take a look at the generated Makefile in your > > > build directory: it

[ovs-dev] [PATCH 1/2] bundle: Allow OFPP_NONE in bundle actions.

2011-10-26 Thread Ethan Jackson
This patch special cases OFPP_NONE to be always up in bundle actions. Presumably, if a controller put OFPP_NONE in their bundle action, they want it to be an available choice. This patch also adds documentation to the bundle action about slave liveness. --- include/openflow/nicira-ext.h |7 +

Re: [ovs-dev] [PATCH] ovsdb-idl: Don't even try to modify synthetic rows, instead of segfaulting.

2011-10-26 Thread Ethan Jackson
Looks good to me. I didn't check that everywhere that needs to change did in-fact change. In the next couple of days, I'm going to write a patch which removes all of the synthetic checks from the bridge. Ethan On Wed, Oct 26, 2011 at 15:47, Ben Pfaff wrote: > Synthetic rows lack a lot of impor

[ovs-dev] (no subject)

2011-10-26 Thread Velomana Tolleson
We can help you with the urgent loan you need. get back to us with the below info if interested. Name.. Country... Loan amount needed.. Loan Duration. Thanks Nosotros le podemos ayudar con el préstamo de urgencia que necesita. Para regresar a nosotros con la información siguien

Re: [ovs-dev] [PATCH 1/2] bundle: Allow OFPP_NONE in bundle actions.

2011-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2011 at 04:37:46PM -0700, Ethan Jackson wrote: > This patch special cases OFPP_NONE to be always up in bundle > actions. Presumably, if a controller put OFPP_NONE in their bundle > action, they want it to be an available choice. > > This patch also adds documentation to the bundle

Re: [ovs-dev] [PATCH] datapath: Convert kernel priority actions into match/set.

2011-10-26 Thread Jesse Gross
On Wed, Oct 26, 2011 at 11:32 AM, Pravin B Shelar wrote: > diff --git a/datapath/datapath.c b/datapath/datapath.c > index be90d54..4809d4b 100644 > --- a/datapath/datapath.c > +++ b/datapath/datapath.c > @@ -770,7 +764,8 @@ static int ovs_packet_cmd_execute(struct sk_buff *skb, > struct genl_info

[ovs-dev] [PATCH] tests: Fix intermittent failure in ovs-monitor-ipsec test.

2011-10-26 Thread Jesse Gross
The ovs-monitor-ipsec test waits for a specific number of lines of output before doing a comparison to the correct values. However, some copy and pasted code did not update the number of lines to look for resulting in a race condition where the comparison could happen before the script finished ru

Re: [ovs-dev] [PATCH] tests: Fix intermittent failure in ovs-monitor-ipsec test.

2011-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2011 at 09:19:20PM -0700, Jesse Gross wrote: > The ovs-monitor-ipsec test waits for a specific number of lines > of output before doing a comparison to the correct values. However, > some copy and pasted code did not update the number of lines to > look for resulting in a race cond

Re: [ovs-dev] [PATCH] tests: Fix intermittent failure in ovs-monitor-ipsec test.

2011-10-26 Thread Jesse Gross
On Wed, Oct 26, 2011 at 9:23 PM, Ben Pfaff wrote: > On Wed, Oct 26, 2011 at 09:19:20PM -0700, Jesse Gross wrote: >> The ovs-monitor-ipsec test waits for a specific number of lines >> of output before doing a comparison to the correct values.  However, >> some copy and pasted code did not update th

Re: [ovs-dev] [mirror 05/13] flow: Rename flow_compare() to flow_compare_3way().

2011-10-26 Thread Justin Pettit
I'm not square. Go for it, man! --Justin On Oct 26, 2011, at 10:09 AM, Ben Pfaff wrote: > I like the _3way suffix convention. It makes the interpretation of the > return value clear. We use it elsewhere in the tree, so use it here too. > > There weren't any users of flow_compare() outside o