[ovs-git] Open vSwitch: netdev-vport: Build on all platforms. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Jan 29 21:56:02 UTC 2013


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  c060c4cf83c03385f295680e34bc55f4a8024034 (commit)
       via  0f5383787d687b2fa21286bd61102c16ab958829 (commit)
       via  b9ad7294a5b4faf886a5022c5ec53b500f93cf3f (commit)
       via  7d1a8e7a7b69b79745c4a8b7de47c2fef5233303 (commit)
       via  de281153654c7fa9e41f579076941ebb9dfeec4d (commit)
       via  48cecbdc39ccf29e7ea98a348cd2f4664272500b (commit)
       via  add90f6f205a65c2569bb240683c0a70cc249c6b (commit)
       via  8f73d5377d24ebc89540065a94a2e3117f114a4c (commit)
       via  72d64e3322bba929e733886fef50711558016701 (commit)
       via  58c6adda89411391d076ee45e503c2788c61ebf5 (commit)
       via  11e26106204de5974af1060a9e25be033bc1a375 (commit)
      from  f18a39b73a3548dd646f274f7555e07926c74371 (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 c060c4cf83c03385f295680e34bc55f4a8024034
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c060c4cf83c03385f295680e34bc55f4a8024034
Author: Ethan Jackson <ethan at nicira.com>
		
netdev-vport: Build on all platforms.
		
This patch removes the final bit of linux specific code which
prevents building netdev-vport everywhere.  With this, other
platforms automatically get access to patch ports, and (if their
datapath supports it), flow based tunneling.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 0f5383787d687b2fa21286bd61102c16ab958829
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0f5383787d687b2fa21286bd61102c16ab958829
Author: Ethan Jackson <ethan at nicira.com>
		
tests: Add tunnel unit tests.
		
This commit adds unit tests which exercise the flow based
tunneling code added in previous patches.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit b9ad7294a5b4faf886a5022c5ec53b500f93cf3f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b9ad7294a5b4faf886a5022c5ec53b500f93cf3f
Author: Ethan Jackson <ethan at nicira.com>
		
lib: Switch to flow based tunneling.
		
With this patch, ovs-vswitchd uses flow based tunneling
exclusively.  I.E. each kind of tunnel shares a single tunnel
backer in the datapath.  Tunnel headers are set by userspace using
the ipv4_tunnel datapath action.  And, the configuration of
individual tunnels is now a userspace responsibility, so
netdev-vport no longer marshals and unmarshals Netlink attributes
for tunnel configuration, instead only storing the configuration
internally.  There are still some significant pieces of work to do,
but the basic building blocks are there to begin testing.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
Co-authored-by: Jesse Gross <jesse at nicira.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


commit 7d1a8e7a7b69b79745c4a8b7de47c2fef5233303
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7d1a8e7a7b69b79745c4a8b7de47c2fef5233303
Author: Jesse Gross <jesse at nicira.com>
		
tunnel: Userspace implementation of tunnel manipulation.
		
The kernel tunneling code currently needs to handle a large number
of operations when tunnel packets are encapsulated and
decapsulated.  Some examples of this are: finding the correct
tunnel port on receive, TTL and ToS inheritance, ECN handling, etc.
All of these can be done on a per-flow basis in userspace now that
we have both the inner and outer header information, which allows
us to both simplify the kernel and take advantage of userspace's
information.  Once tunnel packets are redirected into this code,
the redundant pieces can be removed from other places.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit de281153654c7fa9e41f579076941ebb9dfeec4d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=de281153654c7fa9e41f579076941ebb9dfeec4d
Author: Ethan Jackson <ethan at nicira.com>
		
netdev: New function netdev_get_dpif_port().
		
In future patches, a netdev's datapath port name may not
necessarily be the same as its device name. This patch prepares for
this by making the distinction in the netdev and dpif layers.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 48cecbdc39ccf29e7ea98a348cd2f4664272500b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=48cecbdc39ccf29e7ea98a348cd2f4664272500b
Author: Ethan Jackson <ethan at nicira.com>
		
packets: Create global helper is_ip_any().
		
Used outside of meta-flow in future patches.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit add90f6f205a65c2569bb240683c0a70cc249c6b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=add90f6f205a65c2569bb240683c0a70cc249c6b
Author: Ethan Jackson <ethan at nicira.com>
		
dpif-netdev: Allow stub interfaces on the dummy datapath.
		
Future patches will need to add netdevs to the dummy datapath which
can't actually send or receive packets.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 8f73d5377d24ebc89540065a94a2e3117f114a4c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8f73d5377d24ebc89540065a94a2e3117f114a4c
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Install drops for flows from invalid in_ports.
		
Before this patch, if a packet came in on a port which userspace
doesn't know about, it would be silently dropped without installing
a drop flow.  Historically, this has been fine because this
situation could only occur during transient reconfiguration
periods.  However, in future, this could occur when the tunneling
code decides to reject a packet due to invalid headers.  In this
case, it's preferable to drop the packet in the kernel to avoid a
high bandwidth stream of invalid packets DoSing the switch.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 72d64e3322bba929e733886fef50711558016701
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=72d64e3322bba929e733886fef50711558016701
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Require an in_port when tracing datapath flows.
		
All datapath flows should have an in_port, so it doesn't make a lot
of sense to allow omitting it when tracing.  If a user wants to
trace a flow which has no in_port, they can use the OpenFlow syntax
which doesn't go through ofproto_receive().

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 58c6adda89411391d076ee45e503c2788c61ebf5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=58c6adda89411391d076ee45e503c2788c61ebf5
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Use ofproto_receive() in update_stats().
		
This removes a bit of duplicate code, and will be necessary to
support future patches.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 11e26106204de5974af1060a9e25be033bc1a375
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=11e26106204de5974af1060a9e25be033bc1a375
Author: Ethan Jackson <ethan at nicira.com>
		
route-table: Add route_table_wait() to the stub implementation.
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 NEWS                   |    2 +
 lib/automake.mk        |    4 +-
 lib/dpif-linux.c       |   73 +++++++--
 lib/dpif-netdev.c      |   29 ++-
 lib/dpif.h             |    1 -
 lib/match.c            |    5 +-
 lib/meta-flow.c        |    7 -
 lib/netdev-dummy.c     |   11 ++
 lib/netdev-linux.c     |   59 ++++++-
 lib/netdev-provider.h  |    1 -
 lib/netdev-vport.c     |  413 +++++++++---------------------------------
 lib/netdev-vport.h     |   19 +--
 lib/netdev.c           |    3 +-
 lib/odp-util.c         |   43 +++--
 lib/odp-util.h         |    7 +-
 lib/ofp-parse.c        |    4 +
 lib/packets.c          |    6 +-
 lib/packets.h          |    8 +-
 lib/route-table-stub.c |    5 +
 ofproto/automake.mk    |    4 +-
 ofproto/ofproto-dpif.c |  391 +++++++++++++++++++++++++++++++---------
 ofproto/tunnel.c       |  470 ++++++++++++++++++++++++++++++++++++++++++++++++
 ofproto/tunnel.h       |   47 +++++
 tests/automake.mk      |    1 +
 tests/ofproto-dpif.at  |   37 +---
 tests/testsuite.at     |    1 +
 tests/tunnel.at        |  312 ++++++++++++++++++++++++++++++++
 27 files changed, 1439 insertions(+), 524 deletions(-)
 create mode 100644 ofproto/tunnel.c
 create mode 100644 ofproto/tunnel.h
 create mode 100644 tests/tunnel.at


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list