Re: [ovs-dev] [PATCH] test-lockfile: Provide better diagnostics on failure.

2011-10-18 Thread Justin Pettit
Looks good. Sorry for the delay. --Justin On Sep 29, 2011, at 10:40 AM, Ben Pfaff wrote: > We spotted one failure of the "lock_timeout_runs_out" test several builds > ago, but there weren't enough diagnostics to track it down and I couldn't > reproduce it. > > This commit should make the fail

[ovs-dev] [PATCH 2/2] debian: Decoupled ovs-vlan-test utility from main openvswitch package.

2011-10-18 Thread Ansis Atteka
--- debian/automake.mk |3 +++ debian/control | 10 ++ debian/openvswitch-switch.install |1 - debian/openvswitch-switch.manpages |1 - debian/openvswitch-test.dirs |1 + debian/openvswitch-test.install|1 + debian/openvs

[ovs-dev] [PATCH 1/2] ovs-vlan-test: Add iperf to test basic connectivity.

2011-10-18 Thread Ansis Atteka
ovs-vlan-test runs through a number of tests to identify VLAN issues. This is useful when trying to debug why a particular driver has issues, but it made the testing environment a bit harder to set up. This commit adds an iperf test to check basic functionality. It also useful in detecting perfo

Re: [ovs-dev] [PATCH] datapath: Refactor actions in terms of match fields.

2011-10-18 Thread Ethan Jackson
> Do you habitually run "make check" as root?  This causes tests to be > skipped, so I don't recommend it. I do the same thing, didn't realize it skips tests. I'll have to change it. Ethan > ___ > dev mailing list > dev@openvswitch.org > http://openvs

Re: [ovs-dev] [PATCH] datapath: Refactor actions in terms of match fields.

2011-10-18 Thread Ben Pfaff
On Tue, Oct 18, 2011 at 05:50:58PM -0700, Pravin Shelar wrote: > On Tue, Oct 18, 2011 at 3:47 PM, Jesse Gross wrote: > > You also need to update test 387: ofproto-dpif.at:83 ofproto-dpif - > > VLAN handling to account for the changed output. > > > right, vlan test was skipped in my make check. Do

Re: [ovs-dev] [PATCH] datapath: Refactor actions in terms of match fields.

2011-10-18 Thread Pravin Shelar
On Tue, Oct 18, 2011 at 3:47 PM, Jesse Gross wrote: > On Thu, Oct 13, 2011 at 3:23 PM, Pravin B Shelar wrote: >> Almost all current actions can be expressed in the form of >> push/pop/set , where field is one of the match fields. We can >> create three base actions and take a field. This has both

Re: [ovs-dev] [tunnels2 3/5] ovs-dpctl: Add new "set-if" command.

2011-10-18 Thread Jesse Gross
On Mon, Oct 17, 2011 at 3:14 PM, Ben Pfaff wrote: > diff --git a/utilities/ovs-dpctl.c b/utilities/ovs-dpctl.c > index 4d0d3c2..01bc1eb 100644 > --- a/utilities/ovs-dpctl.c > +++ b/utilities/ovs-dpctl.c > @@ -130,13 +130,17 @@ usage(void) >            "usage: %s [OPTIONS] COMMAND [ARG...]\n" >    

[ovs-dev] [PATCH 5/5] stt: Support simultaneous encrypted and unencrypted to same host

2011-10-18 Thread Ben Pfaff
From: Justin Pettit In general it is only possible to have a single tunnel between a pair of end hosts with a given key. This allows one encrypted and one unencrypted tunnel when using STT. They are distinguished by using a unique port number on transmit and looking at the security path on rece

[ovs-dev] [PATCH 4/5] datapath: Backport sec_path functions.

2011-10-18 Thread Ben Pfaff
From: Justin Pettit The functions to retrieve the sec_path from a skb didn't exist until 2.6.29, so this backports them. Signed-off-by: Justin Pettit Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- datapath/linux/compat/include/linux/skbuff.h | 14 ++ 1 files changed, 14 ins

[ovs-dev] [PATCH 3/5] datapath: Backport XFRM constants.

2011-10-18 Thread Ben Pfaff
From: Justin Pettit This backports the constants for IPsec protocols to the kernels when they weren't available. Signed-off-by: Justin Pettit Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- datapath/linux/Modules.mk|1 + datapath/linux/compat/include/net/xfrm.h | 14

[ovs-dev] [PATCH 2/5] vxlan: Add support for VXLAN-over-IPsec.

2011-10-18 Thread Ben Pfaff
From: Justin Pettit This makes it possible to automatically set up IPsec encrypted VXLAN tunnels through the OVS database. Signed-off-by: Justin Pettit Signed-off-by: Jesse Gross [Ben modified this commit for VXLAN, added unit tests, and tweaked it] Signed-off-by: Ben Pfaff --- NEWS

[ovs-dev] [PATCH 1/5] Implement draft VXLAN L2-over-L3 tunneling protocol.

2011-10-18 Thread Ben Pfaff
This commit implements the VXLAN tunneling protocol described at http://tools.ietf.org/html/draft-mahalingam-dutt-dcops-vxlan-00 Multicast support is not yet implemented, but it should not be too hard to add. In my simple VM-based test rig, "netperf" performance was the same as GRE. Jesse really

[ovs-dev] [PATCH 0/5] VXLAN v2

2011-10-18 Thread Ben Pfaff
This fixes a problem that Jesse pointed out, whereby as I sent it out before VXLAN and VXLAN-over-IPsec weren't both supported to a single host simultaneously. This patch series takes advantage of patches that Justin wrote earlier for a different purpose. I've described my modifications in brief

Re: [ovs-dev] [STP 6/9] Various bug fixes and cleanups to STP library.

2011-10-18 Thread Justin Pettit
On Oct 18, 2011, at 2:55 PM, Ben Pfaff wrote: >> The spec didn't provide a concise description of what's allowed in >> the states, so I've also added the following patch: > > It's nice. The N and Y would be more visually distinguished if you > changed N to something like -, e.g.: > > *

Re: [ovs-dev] [STP 8/9] ofproto: Add function to set OpenFlow state and update controller.

2011-10-18 Thread Justin Pettit
On Oct 18, 2011, at 10:22 AM, Ben Pfaff wrote: > I'd prefer to limit this just to ofproto providers, so that it should > be declared in ofproto-provider.h instead of ofproto.h. Makes sense. > I'd make ofproto_port_set_state() take a "struct ofport *" directly. > The caller should already have it

Re: [ovs-dev] [PATCH] datapath: Refactor actions in terms of match fields.

2011-10-18 Thread Ben Pfaff
On Tue, Oct 18, 2011 at 03:47:19PM -0700, Jesse Gross wrote: > On Thu, Oct 13, 2011 at 3:23 PM, Pravin B Shelar wrote: > > Almost all current actions can be expressed in the form of > > push/pop/set , where field is one of the match fields. We can > > create three base actions and take a field. Th

Re: [ovs-dev] [PATCH] datapath: Refactor actions in terms of match fields.

2011-10-18 Thread Jesse Gross
On Thu, Oct 13, 2011 at 3:23 PM, Pravin B Shelar wrote: > Almost all current actions can be expressed in the form of > push/pop/set , where field is one of the match fields. We can > create three base actions and take a field. This has both a nice > symmetry and avoids inconsistencies where we can

Re: [ovs-dev] [STP 6/9] Various bug fixes and cleanups to STP library.

2011-10-18 Thread Ben Pfaff
On Tue, Oct 18, 2011 at 02:52:41PM -0700, Justin Pettit wrote: > On Oct 18, 2011, at 10:12 AM, Ben Pfaff wrote: > > Can the STP_ROLE_* constants have some comments? Maybe "Port closest > > to root bridge.", "Forwards frames toward/away from root.", "Not used > > for forwarding." or similar. > > H

Re: [ovs-dev] [STP 6/9] Various bug fixes and cleanups to STP library.

2011-10-18 Thread Justin Pettit
On Oct 18, 2011, at 10:12 AM, Ben Pfaff wrote: > STP_ID_ARGS should parenthesize the name of its argument, in case > someone passes in a complicated expression (unlikely as that is). Whoops. > But can't the ID formatting macros be simplified to: > > #define STP_ID_FMT "%04"PRIx16"."012"PRIx64 >

Re: [ovs-dev] [PATCH] ofp-parse: Validate range of table, priority, and timeout values.

2011-10-18 Thread Ben Pfaff
Thank you, I pushed this. On Tue, Oct 18, 2011 at 12:56:20PM -0700, Ethan Jackson wrote: > Looks good. > > Ethan > > On Tue, Sep 27, 2011 at 16:59, Ben Pfaff wrote: > > Otherwise, "table=257" (e.g.) was silently accepted but had a surprising > > effect. > > > > Bug #7445. > > Reported-by: Micha

Re: [ovs-dev] [STP 5/9] Add back 802.1D Spanning Tree Protocol (STP) library code.

2011-10-18 Thread Justin Pettit
On Oct 18, 2011, at 9:53 AM, Ben Pfaff wrote: Thanks, I cleaned up the whitespace issues, the sparse warnings, the OVS endian typedefs, and updated the copyright. > and then we get some useful warnings from sparse (at least with the > patch to include/linux/types.h that I posted separately): >

Re: [ovs-dev] [PATCH] vlog: Skip reopening a log file if it would have no effect.

2011-10-18 Thread Ben Pfaff
Thank you, I pushed this to master. On Tue, Oct 18, 2011 at 11:19:10AM -0700, Ethan Jackson wrote: > Looks good. > > Ethan > > On Fri, Oct 14, 2011 at 11:37, Ben Pfaff wrote: > > Avoids redundant "closing log file"/"opened log file" messages in log files. > > > > Reported-by: Reid Price > > Bu

Re: [ovs-dev] [PATCH] ofproto-dpif: Make OFPAT_ENQUEUE to input port do nothing.

2011-10-18 Thread Ben Pfaff
Thanks, I pushed this to master, branch-1.3, and branch-1.2. On Tue, Oct 18, 2011 at 11:20:47AM -0700, Ethan Jackson wrote: > Looks good. > > Ethan > > On Sun, Oct 9, 2011 at 15:52, Ben Pfaff wrote: > > This makes OFPAT_ENQUEUE consistent with OFPAT_OUTPUT for the purpose of > > sending a packe

Re: [ovs-dev] [learn bugs 5/5] learn: Correct example in nicira-ext.h and add examples as test cases.

2011-10-18 Thread Ben Pfaff
Thank you for the reviews. I pushed this series. On Tue, Oct 18, 2011 at 12:53:59PM -0700, Ethan Jackson wrote: > Looks good. > > Ethan ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [learn bugs 4/5] learn: Check learn actions after parsing in learn_parse().

2011-10-18 Thread Ben Pfaff
Maybe. The rest are much simpler, though, and I haven't had trouble with them in practice the way I have had with "learn". On Tue, Oct 18, 2011 at 12:52:53PM -0700, Ethan Jackson wrote: > Does it make sense to do something like this for the other complex > actions we have (bundle, autopath, multi

Re: [ovs-dev] [learn bugs 2/5] nx-match: Improve log message for errors parsing NX flow matches.

2011-10-18 Thread Ben Pfaff
That's reasonable, but I don't think it's going to trigger very often, so I think it's OK as-is. Thanks, Ben. On Tue, Oct 18, 2011 at 11:33:10AM -0700, Ethan Jackson wrote: > Looks good to me. > > Does it make sense to guard the log message with a call to > vlog_is_enabled()? That way we could

Re: [ovs-dev] [PATCH] ovsdb: Remove dead Python-related code.

2011-10-18 Thread Ben Pfaff
Thanks, I pushed this to master. On Tue, Oct 18, 2011 at 11:28:10AM -0700, Ethan Jackson wrote: > Looks good. > > Ethan > > On Tue, Oct 18, 2011 at 09:30, Ben Pfaff wrote: > > Initial versions of commit 8cdf034974 "python: Implement write support in > > Python IDL for OVSDB" converted the OVSDB

Re: [ovs-dev] [tunnels2 2/5] datapath: Fix tunnel reconfiguration that does not change key data.

2011-10-18 Thread Ben Pfaff
On Tue, Oct 18, 2011 at 10:49:31AM -0700, Jesse Gross wrote: > On Mon, Oct 17, 2011 at 3:13 PM, Ben Pfaff wrote: > > Without this commit, a pair of commands like > > ?? ??ovs-dpctl add-if br0 gre0,type=gre,remote_ip=192.168.5.2,csum=true > > ?? ??ovs-dpctl set-if br0 gre0,csum=false > > would resu

Re: [ovs-dev] [STP 9/9] ovs-vswitchd: Add support for 802.1D STP.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:31:49PM -0700, Justin Pettit wrote: > Add 802.1D spanning tree protocol support to ovs-vswitchd. Still needs > improvements in the following areas: > > * Does not work over bonds. > * Does not expire entries generated by the learning action when STP > stat

Re: [ovs-dev] [PATCH] ofp-parse: Validate range of table, priority, and timeout values.

2011-10-18 Thread Ethan Jackson
Looks good. Ethan On Tue, Sep 27, 2011 at 16:59, Ben Pfaff wrote: > Otherwise, "table=257" (e.g.) was silently accepted but had a surprising > effect. > > Bug #7445. > Reported-by: Michael Mao > --- >  lib/ofp-parse.c |   30 ++ >  1 files changed, 26 insertions(+), 4

Re: [ovs-dev] [learn bugs 5/5] learn: Correct example in nicira-ext.h and add examples as test cases.

2011-10-18 Thread Ethan Jackson
Looks good. Ethan On Tue, Sep 27, 2011 at 13:36, Ben Pfaff wrote: > --- >  include/openflow/nicira-ext.h |    3 ++- >  tests/learn.at                |   17 + >  2 files changed, 19 insertions(+), 1 deletions(-) > > diff --git a/include/openflow/nicira-ext.h b/include/openflow/nic

Re: [ovs-dev] [learn bugs 4/5] learn: Check learn actions after parsing in learn_parse().

2011-10-18 Thread Ethan Jackson
Looks good. Does it make sense to do something like this for the other complex actions we have (bundle, autopath, multipath, etc)? Ethan On Tue, Sep 27, 2011 at 13:36, Ben Pfaff wrote: > learn_parse() and learn_check() are supposed to apply the same checks, but > they are implemented very diffe

Re: [ovs-dev] [learn bugs 3/5] learn: Allow read-only fields to be matched.

2011-10-18 Thread Ethan Jackson
Looks good. Ethan On Tue, Sep 27, 2011 at 13:36, Ben Pfaff wrote: > nxm_dst_check() requires a writable field.  Since NX_LEARN_DST_MATCH only > matches on a field and doesn't write to a field, use nxm_src_check() for > that case instead. > > Bug #7510. > Reported-by: Michael Mao > --- >  lib/le

Re: [ovs-dev] [learn bugs 2/5] nx-match: Improve log message for errors parsing NX flow matches.

2011-10-18 Thread Ethan Jackson
Looks good to me. Does it make sense to guard the log message with a call to vlog_is_enabled()? That way we could avoid the memory allocation when it isn't going to be used. May not matter though. Ethan On Tue, Sep 27, 2011 at 13:36, Ben Pfaff wrote: > --- >  lib/nx-match.c |    7 +-- >  

Re: [ovs-dev] [PATCH] ovsdb: Remove dead Python-related code.

2011-10-18 Thread Ethan Jackson
Looks good. Ethan On Tue, Oct 18, 2011 at 09:30, Ben Pfaff wrote: > Initial versions of commit 8cdf034974 "python: Implement write support in > Python IDL for OVSDB" converted the OVSDB schemas to Python code so that > their Python clients could just import them.  The final version instead > rea

Re: [ovs-dev] [PATCH] ofproto-dpif: Fix in-band action for sFlow.

2011-10-18 Thread Pravin Shelar
On Tue, Oct 18, 2011 at 11:13 AM, Ben Pfaff wrote: > On Tue, Oct 18, 2011 at 11:08:06AM -0700, Pravin B Shelar wrote: >>         Use compose_output_action() API to generate OUTPUT action so >> that sFlow can record output port. > > Looks good.  Thank you for the bug fix. > Thanks, pushed to mast

Re: [ovs-dev] [PATCH] ofproto-dpif: Make OFPAT_ENQUEUE to input port do nothing.

2011-10-18 Thread Ethan Jackson
Looks good. Ethan On Sun, Oct 9, 2011 at 15:52, Ben Pfaff wrote: > This makes OFPAT_ENQUEUE consistent with OFPAT_OUTPUT for the purpose of > sending a packet back out the input port: both only do it if the port is > given as OFPP_IN_PORT. > > Found by inspection. > --- >  ofproto/ofproto-dpif.c

Re: [ovs-dev] [PATCH] vlog: Skip reopening a log file if it would have no effect.

2011-10-18 Thread Ethan Jackson
Looks good. Ethan On Fri, Oct 14, 2011 at 11:37, Ben Pfaff wrote: > Avoids redundant "closing log file"/"opened log file" messages in log files. > > Reported-by: Reid Price > Bug #7750. > --- >  lib/vlog.c |   21 - >  1 files changed, 20 insertions(+), 1 deletions(-) > > dif

Re: [ovs-dev] [PATCH] ofproto-dpif: Fix in-band action for sFlow.

2011-10-18 Thread Ben Pfaff
On Tue, Oct 18, 2011 at 11:08:06AM -0700, Pravin B Shelar wrote: > Use compose_output_action() API to generate OUTPUT action so > that sFlow can record output port. Looks good. Thank you for the bug fix. ___ dev mailing list dev@openvswitch.org

[ovs-dev] [PATCH] ofproto-dpif: Fix in-band action for sFlow.

2011-10-18 Thread Pravin B Shelar
Use compose_output_action() API to generate OUTPUT action so that sFlow can record output port. --- ofproto/ofproto-dpif.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index ae76e98..9f73a8f 100644 --- a/ofprot

Re: [ovs-dev] [tunnels2 2/5] datapath: Fix tunnel reconfiguration that does not change key data.

2011-10-18 Thread Jesse Gross
On Mon, Oct 17, 2011 at 3:13 PM, Ben Pfaff wrote: > Without this commit, a pair of commands like >    ovs-dpctl add-if br0 gre0,type=gre,remote_ip=192.168.5.2,csum=true >    ovs-dpctl set-if br0 gre0,csum=false > would result in a csum of "true" for gre0, that is, the second command > would silent

Re: [ovs-dev] [tunnels2 1/5] datapath: Reject attempts to change vport type with OVS_VPORT_CMD_SET.

2011-10-18 Thread Jesse Gross
On Mon, Oct 17, 2011 at 3:13 PM, Ben Pfaff wrote: > Until now this has just silently failed, but it seems to me like we should > actively reject it. > > Signed-off-by: Ben Pfaff This makes sense but it seems to me that there are plenty of other things that fall into the category of invalid but s

Re: [ovs-dev] [STP 4/9] packets.h: Fix STP destination MAC address.

2011-10-18 Thread Justin Pettit
On Oct 18, 2011, at 9:35 AM, Ben Pfaff wrote: > This should go to branch-1.2 and branch-1.3 as well as master. Thanks. I'll push this and the other bug fix into branch-1.2 momentarily. As previously mentioned, this whole series is going into branch-1.3. --Justin

Re: [ovs-dev] [STP 1/9] ofproto-dpif: Update bundle when OFPPC_NO_FLOOD changed.

2011-10-18 Thread Justin Pettit
On Oct 18, 2011, at 9:32 AM, Ben Pfaff wrote: > I guess that this should go to branch-1.2 and branch-1.3 also. I'm pulling it into branch-1.2 right now. The plan is for this whole series to go into branch-1.3, so it should be covered. --Justin ___

Re: [ovs-dev] [PATCH] types: Fix endianness check.

2011-10-18 Thread Ben Pfaff
Thanks for the review. I pushed this to master and branch-1.3. On Tue, Oct 18, 2011 at 10:21:11AM -0700, Justin Pettit wrote: > Looks good. Since there's still some stuff landing in branch-1.3 > (such as STP), I'm guessing this is worth including, too. If you > agree, can you do that when you c

Re: [ovs-dev] [STP 8/9] ofproto: Add function to set OpenFlow state and update controller.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:31:48PM -0700, Justin Pettit wrote: > This will be used in an upcoming commit. I'd prefer to limit this just to ofproto providers, so that it should be declared in ofproto-provider.h instead of ofproto.h. I'd make ofproto_port_set_state() take a "struct ofport *" direct

Re: [ovs-dev] [PATCH] types: Fix endianness check.

2011-10-18 Thread Justin Pettit
Looks good. Since there's still some stuff landing in branch-1.3 (such as STP), I'm guessing this is worth including, too. If you agree, can you do that when you commit? Thanks, --Justin On Oct 18, 2011, at 9:49 AM, Ben Pfaff wrote: > The Linux headers only check endianness if __CHECK_ENDI

Re: [ovs-dev] [STP 7/9] ofproto: Mark 'ofproto' arg in is_mirror_output_bundle() as const.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:31:47PM -0700, Justin Pettit wrote: > No changes are made to 'ofproto', so it's safe to mark the argument as > const. This will be useful in a later commit. Looks good, thanks. ___ dev mailing list dev@openvswitch.org http://o

Re: [ovs-dev] [STP 6/9] Various bug fixes and cleanups to STP library.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:31:46PM -0700, Justin Pettit wrote: > - Don't apply endian conversions to flags, which are 8 bits. > - Use #defines for default times for use outside library. > - Clarify our behavior when in STP_DISABLED state. > - Add "aux" member to STP port struct to b

Re: [ovs-dev] [STP 5/9] Add back 802.1D Spanning Tree Protocol (STP) library code.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:31:45PM -0700, Justin Pettit wrote: > At one point, the OVS distribution contained an IEEE 802.1D Spanning > Tree Protocol (STP) library written by Ben Pfaff and based on the > 802.1D-1998 reference code. It was never integrated into ovs-vswitchd, > so it was removed as

[ovs-dev] [PATCH] types: Fix endianness check.

2011-10-18 Thread Ben Pfaff
The Linux headers only check endianness if __CHECK_ENDIAN__ is declared. We want that, so turn it on. --- include/linux/types.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/linux/types.h b/include/linux/types.h index 13112e8..fb05744 100644 --- a/include/lin

Re: [ovs-dev] [STP 4/9] packets.h: Fix STP destination MAC address.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:31:44PM -0700, Justin Pettit wrote: > static const uint8_t eth_addr_stp[ETH_ADDR_LEN] OVS_UNUSED > -= { 0x01, 0x80, 0xC2, 0x00, 0x00, 0x01 }; > += { 0x01, 0x80, 0xC2, 0x00, 0x00, 0x00 }; Sheesh. That's embarrassing. This should go to branch-1.2 and branch-1.3

Re: [ovs-dev] [STP 3/9] ofproto: Fix comment describing ofport_modified().

2011-10-18 Thread Ben Pfaff
Looks good, thank you. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [STP 2/9] ovs-vsctl: Fix small formatting error in man page.

2011-10-18 Thread Ben Pfaff
Looks good, thank you. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [STP 1/9] ofproto-dpif: Update bundle when OFPPC_NO_FLOOD changed.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:31:41PM -0700, Justin Pettit wrote: > When the OFPPC_NO_FLOOD flag is toggled on the port, the "floodable" > member of the bundle was not updated. This would cause OFPP_NORMAL to > not include the proper ports when flooding. With this commit, > OFPPC_NO_FLOOD changes wi

Re: [ovs-dev] [link_resets 1/7] gitignore: Add idltest.py.

2011-10-18 Thread Ben Pfaff
I sent out my fix. On Mon, Oct 17, 2011 at 12:34:27PM -0700, Ethan Jackson wrote: > Sounds good. I'll drop this patch. > > Ethan > > On Mon, Oct 17, 2011 at 12:32, Ben Pfaff wrote: > > On Mon, Oct 17, 2011 at 12:10:18PM -0700, Ethan Jackson wrote: > >> --- a/tests/.gitignore > >> +++ b/tests/.

[ovs-dev] [PATCH] ovsdb: Remove dead Python-related code.

2011-10-18 Thread Ben Pfaff
Initial versions of commit 8cdf034974 "python: Implement write support in Python IDL for OVSDB" converted the OVSDB schemas to Python code so that their Python clients could just import them. The final version instead read the schemas from a file, but I forgot to remove some code that generated th

Re: [ovs-dev] [PATCH 1/2] datapath: Add version check for struct netdev_ops.

2011-10-18 Thread Jesse Gross
On Tue, Oct 18, 2011 at 8:51 AM, Ben Pfaff wrote: > On Mon, Oct 17, 2011 at 10:10:52PM -0700, Jesse Gross wrote: >> Linux 3.1 drops the symbol HAVE_NET_DEVICE_OPS that lets us know >> whether struct netdev_ops is present.  As a result, we need to >> replace it with an explicit version check. >> >>

Re: [ovs-dev] [PATCH 2/2] datapath: Assert IFF_TX_SKB_SHARING on internal devices.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:10:53PM -0700, Jesse Gross wrote: > Linux 3.1 adds a flag to check whether it's OK for shared skbs to > be transmitted on devices. This generally isn't a problem for > hardware devices but software devices such as OVS that hold state > in the skb need to clear the flag,

Re: [ovs-dev] [PATCH 1/2] datapath: Add version check for struct netdev_ops.

2011-10-18 Thread Ben Pfaff
On Mon, Oct 17, 2011 at 10:10:52PM -0700, Jesse Gross wrote: > Linux 3.1 drops the symbol HAVE_NET_DEVICE_OPS that lets us know > whether struct netdev_ops is present. As a result, we need to > replace it with an explicit version check. > > Signed-off-by: Jesse Gross Acked-by: Ben Pfaff __