[ovs-git] Open vSwitch: ofpbuf: New function ofpbuf_use_const(). (master)

dev at openvswitch.org dev at openvswitch.org
Tue Dec 7 21:47:38 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  0bc9407dbbe18734c25e9dc470592def5cb27077 (commit)
       via  4b87bea69dd12deed4e20fc389b78f76d47f7984 (commit)
       via  2208d6b71356d85e6f2b96d8cd51ac4fc90da74e (commit)
       via  ad8ee2c0f3b7d0e53aab749da97a9c78765d74fa (commit)
       via  f9ba8dad04b6f1b6c2994b462b13531f6e2f24c4 (commit)
       via  06448753e21dcacdce11d7a7e55526561836f550 (commit)
      from  4f564f8dc77a40036b2552902ace44dfb274c36e (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 0bc9407dbbe18734c25e9dc470592def5cb27077
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0bc9407dbbe18734c25e9dc470592def5cb27077
Author: Ben Pfaff <blp at nicira.com>
		
ofpbuf: New function ofpbuf_use_const().
		
This is a code cleanup.

Suggested-by: Justin Pettit <jpettit at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit 4b87bea69dd12deed4e20fc389b78f76d47f7984
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4b87bea69dd12deed4e20fc389b78f76d47f7984
Author: Ben Pfaff <blp at nicira.com>
		
dpif-netdev: Use ofpbuf functions instead of their out-of-line expansions.
		
Acked-by: Jesse Gross <jesse at nicira.com>


commit 2208d6b71356d85e6f2b96d8cd51ac4fc90da74e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2208d6b71356d85e6f2b96d8cd51ac4fc90da74e
Author: Ben Pfaff <blp at nicira.com>
		
cfm: Use ofpbuf_new() instead of its out-of-line expansion.
		
Acked-by: Jesse Gross <jesse at nicira.com>


commit ad8ee2c0f3b7d0e53aab749da97a9c78765d74fa
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ad8ee2c0f3b7d0e53aab749da97a9c78765d74fa
Author: Ben Pfaff <blp at nicira.com>
		
odp-util: Bump up maximum number of ODP actions.
		
The kernel supports more than a single page of actions now, so userspace
should be able to take advantage of this.

Upcoming commits will completely replace this data structure but this
commit makes the bug fix clear and is suitable for cherry-picking to
long-term support branches.


commit f9ba8dad04b6f1b6c2994b462b13531f6e2f24c4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f9ba8dad04b6f1b6c2994b462b13531f6e2f24c4
Author: Ben Pfaff <blp at nicira.com>
		
ofp-util: Fully initialize flow_wildcards in ofputil_cls_rule_from_match().
		
The new 'zero' member was not being properly initialized.  One approach
would be to add an assignment, but it seems more future-proof to let
flow_wildcards_init_catchall() do the right thing.

Noticed by valgrind.

Acked-by: Jesse Gross <jesse at nicira.com>


commit 06448753e21dcacdce11d7a7e55526561836f550
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=06448753e21dcacdce11d7a7e55526561836f550
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Fix odp-compat definition of struct compat_odp_execute.
		
The in_port member and padding were removed from struct odp_execute some
time ago, but the compat definition didn't reflect this.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/odp-compat.h   |    4 ----
 lib/cfm.c               |    4 +---
 lib/dhcp.c              |    3 +--
 lib/dpif-netdev.c       |    9 ++++-----
 lib/learning-switch.c   |    3 +--
 lib/netlink.c           |   12 ++++--------
 lib/odp-util.h          |    4 +---
 lib/ofp-print.c         |    6 ++----
 lib/ofp-util.c          |    2 +-
 lib/ofpbuf.c            |   11 +++++++++++
 lib/ofpbuf.h            |    1 +
 ofproto/ofproto-sflow.c |    3 +--
 ofproto/ofproto.c       |   17 +++++++----------
 13 files changed, 35 insertions(+), 44 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list