[ovs-git] Open vSwitch: netdev: Add support for "patch" type (master)

dev at openvswitch.org dev at openvswitch.org
Thu Apr 15 18:45:12 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  8aed4223e0933c0602c1e624b07094d7f7afb23d (commit)
       via  4dcf0d73c247c538807dbb642437aaf33589822b (commit)
       via  5b9334be31c1992ddb6e14e8aea6413f00ddb1ab (commit)
       via  5de48440612252484f028d26f23d04ba57ce7ab9 (commit)
      from  2c5d1389238951aa3c8a7382a39dc93033733120 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8aed4223e0933c0602c1e624b07094d7f7afb23d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8aed4223e0933c0602c1e624b07094d7f7afb23d
Author: Justin Pettit <jpettit at nicira.com>
		
netdev: Add support for "patch" type
		
This commit introduces a new netdev type called "patch".  A patch is a
pair of interfaces, in which frames sent through one of the devices
pop out of the other.  This is useful for linking together datapaths.

A patch's only argument on creation is "peer", which specifies the other
side of the patch.  A patch must be created in pairs, so a second netdev
must be created with the "name" and "peer" values reversed.

The current implementation is built using veth devices.  Further, it's
limited to the veth devices which support configuration through sysfs.
This limits the ability to use a "patch" on 2.6.18 kernels using the
veth device we include (read: flavors of XenServer 5.5).  In the not too
distant future, the implementation will be modified to use the new
kernel port abstraction introduced by Jesse Gross's forthcoming GRE
work.  At that point, patch devices will work on any Linux platform
supported by OVS.


commit 4dcf0d73c247c538807dbb642437aaf33589822b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4dcf0d73c247c538807dbb642437aaf33589822b
Author: Justin Pettit <jpettit at nicira.com>
		
xenserver: Load veth driver on 2.6.18 systems
		
In a future commit, the "patch" netdev type will be introduced.  The
initial implementation will be based on veth, for which we have a kernel
module on 2.6.18.  A more general solution will be used in the future,
at which time, this loading of the veth module can be removed.


commit 5b9334be31c1992ddb6e14e8aea6413f00ddb1ab
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5b9334be31c1992ddb6e14e8aea6413f00ddb1ab
Author: Justin Pettit <jpettit at nicira.com>
		
veth: Fix problems removing veth devices
		
When a user tried to delete a veth device through sysfs, the driver
wasn't properly parsing the device name.  Also, it called
dev_get_by_name(), which increments a refcount on the device, but didn't
make a dev_put() before trying to delete it.


commit 5de48440612252484f028d26f23d04ba57ce7ab9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5de48440612252484f028d26f23d04ba57ce7ab9
Author: Justin Pettit <jpettit at nicira.com>
		
ovs-vsctl: Cleanup some formatting in man page
		


-----------------------------------------------------------------------

Summary of changes:
 datapath/linux-2.6/compat-2.6/veth.c |    5 +-
 lib/netdev-linux.c                   |  195 +++++++++++++++++++++++++++++++++-
 lib/netdev-provider.h                |    1 +
 lib/netdev.c                         |    1 +
 utilities/ovs-vsctl.8.in             |    4 +-
 vswitchd/vswitch.xml                 |    6 +
 xenserver/etc_init.d_openvswitch     |    3 +
 xenserver/openvswitch-xen.spec       |    4 +-
 8 files changed, 213 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list