[ovs-git] Open vSwitch: wdp: Change functions that use wdp_port to avoid awkward memory semantics. (wdp)

dev at openvswitch.org dev at openvswitch.org
Thu Apr 8 19:32:01 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, wdp has been updated
       via  df773b8b81a59ebf43a5a9502c05a73dfc83ddee (commit)
       via  1510d7c3ce678e9e0c7dc22f819a95b570a3d191 (commit)
       via  ca9bbddb1b17cb5d7fb901f78ab268971c18855e (commit)
      from  5fc270bf780b3a64a0544764d3baaedca8a96622 (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 df773b8b81a59ebf43a5a9502c05a73dfc83ddee
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=df773b8b81a59ebf43a5a9502c05a73dfc83ddee
Author: Ben Pfaff <blp at nicira.com>
		
wdp: Change functions that use wdp_port to avoid awkward memory semantics.
		
wdp_port_query_by_number(), wdp_port_query_by_name(), and
wdp_port_list() all had semantics for the data that they returned that
were difficult to describe and easy to get wrong.  This commit changes them
to be easier to understand and to implement.

Suggested by partner.


commit 1510d7c3ce678e9e0c7dc22f819a95b570a3d191
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1510d7c3ce678e9e0c7dc22f819a95b570a3d191
Author: Ben Pfaff <blp at nicira.com>
		
netdev: New function netdev_reopen().
		
In the new wdp layer it is convenient to pass around copies of struct
wdp_port, which contains a struct netdev *.  To make this efficient
it makes sense to maintain a reference count in struct netdev itself, so
that copying and freeing copies of a netdev become just incrementing and
decrementing the reference count.  This commit adds that ability.


commit ca9bbddb1b17cb5d7fb901f78ab268971c18855e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ca9bbddb1b17cb5d7fb901f78ab268971c18855e
Author: Ben Pfaff <blp at nicira.com>
		
netdev: Fix typo in comment.
		


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

Summary of changes:
 lib/netdev-provider.h  |    2 +
 lib/netdev.c           |   18 ++++++++--
 lib/netdev.h           |    1 +
 ofproto/ofproto.c      |   55 ++++++++++++++++--------------
 ofproto/wdp-provider.h |   32 ++++++++----------
 ofproto/wdp-xflow.c    |   32 ++++++++++++------
 ofproto/wdp.c          |   86 ++++++++++++++++++++++++++++++++++++------------
 ofproto/wdp.h          |   13 ++++---
 8 files changed, 154 insertions(+), 85 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list