[ovs-git] Open vSwitch: dpif-netdev: Add missing 'const' qualifiers to function parameters. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Dec 29 06:42: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, master has been updated
       via  e70f33fc8ae27732edd40841402bc38a3ca5d42a (commit)
       via  2ab4c7bf5156f66b8d06dd273e776e3823b6f516 (commit)
       via  282cf6319fcd942e5f22a29cc50c2a0a1cd72615 (commit)
       via  0a54c658c635b0f0618072e06164652ad5f13f23 (commit)
       via  c77d9d13998d76c8cb8b51adcce564093330edc7 (commit)
      from  7cfb3c26b2abb82e95bbecaaf78317e7e7e343d4 (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 e70f33fc8ae27732edd40841402bc38a3ca5d42a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e70f33fc8ae27732edd40841402bc38a3ca5d42a
Author: Ben Pfaff <blp at nicira.com>
		
dpif-netdev: Add missing 'const' qualifiers to function parameters.
		
These functions don't modify their flow key arguments but the prototypes
implied that they did.

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


commit 2ab4c7bf5156f66b8d06dd273e776e3823b6f516
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2ab4c7bf5156f66b8d06dd273e776e3823b6f516
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Remove ODPP_NORMAL macro.
		
This macro hasn't ever been used.

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


commit 282cf6319fcd942e5f22a29cc50c2a0a1cd72615
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=282cf6319fcd942e5f22a29cc50c2a0a1cd72615
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Fix 32-bit truncation of argument to ODPAT_OUTPUT_CONTROL.
		
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit 0a54c658c635b0f0618072e06164652ad5f13f23
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0a54c658c635b0f0618072e06164652ad5f13f23
Author: Ben Pfaff <blp at nicira.com>
		
ovs-dpctl: Reimplement get_port_number() using dpif_port_query_by_name().
		
Presumably this function was written to iterate all of the ports because
at some point we didn't have a direct way to do this, but now
dpif_port_query_by_name() is the obvious way to do it.

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


commit c77d9d13998d76c8cb8b51adcce564093330edc7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c77d9d13998d76c8cb8b51adcce564093330edc7
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Use shash instead of svec for uniquifying, in reinit_ports().
		
No point in using an O(n log n) algorithm when an O(n) algorithm is
readily available.

(I'm sure that the actual performance difference, if any, does not matter
in practice.)

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


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

Summary of changes:
 datapath/actions.c                      |    2 +-
 include/openvswitch/datapath-protocol.h |    1 -
 lib/dpif-netdev.c                       |    7 ++++---
 ofproto/ofproto.c                       |   16 ++++++++--------
 utilities/ovs-dpctl.c                   |   22 ++++++++--------------
 5 files changed, 21 insertions(+), 27 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list