[ovs-git] Open vSwitch: dpif: Change get_max_ports() to return uint32_t. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Aug 23 18:35:54 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  1dd16b9a274afbde46c9d9a4052d720d4cf3c3e2 (commit)
       via  430dbb14c150ced081b42ec6314c7dc63661a1d1 (commit)
      from  34042e9c7def9f8d6cea92281b8a37f01e5f3178 (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 1dd16b9a274afbde46c9d9a4052d720d4cf3c3e2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1dd16b9a274afbde46c9d9a4052d720d4cf3c3e2
Author: Alex Wang <alexw at nicira.com>
		
dpif: Change get_max_ports() to return uint32_t.
		
The declaration of 'get_max_ports()' to return odp_port_t adds
unwanted complexity to coding.  This commit changes it back to
return uint32_t type.

Signed-off-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 430dbb14c150ced081b42ec6314c7dc63661a1d1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=430dbb14c150ced081b42ec6314c7dc63661a1d1
Author: Alex Wang <alexw at nicira.com>
		
ofproto: Change max_ports and alloc_port_no to uint16_t type.
		
The declaration of 'max_ports' and 'alloc_port_no' as ofp_port_t
adds unwanted complexity to coding.  This commit changes them back
to uint16_t type.

Signed-off-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/dpif-linux.c           |    4 ++--
 lib/dpif-netdev.c          |    4 ++--
 lib/dpif-provider.h        |    2 +-
 lib/dpif.c                 |    2 +-
 lib/dpif.h                 |    2 +-
 ofproto/ofproto-dpif.c     |    5 ++---
 ofproto/ofproto-provider.h |    6 +++---
 ofproto/ofproto.c          |   44 ++++++++++++++++++++------------------------
 8 files changed, 32 insertions(+), 37 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list