[ovs-git] Open vSwitch: ovs-brcompatd: Convert svecs to ssets. (master)
dev at openvswitch.org
dev at openvswitch.org
Thu Mar 31 16:42:23 PDT 2011
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 96ca8c29569b84d881f64bd84dca374d15651a84 (commit)
via 9759479ab6dd8a050f5838e01111536d8d6b2538 (commit)
via 33d532dafaf36cafa1f65c8d4ed042e9ddef8078 (commit)
via 81e2083fe6b7c16055f01c4b1e40f25867594bf6 (commit)
via 53d046612df6c88ad8b02c8e99bbfb6e45fe2326 (commit)
via 19993ef3caac9964c2bef6e31fc8699c4f4b53c8 (commit)
via d0c23a1a57f5bd994d3af124673a218e21528dd3 (commit)
via b3c01ed3308e7899e98e981bf465f74be86f5f12 (commit)
via f391294fde05ecae7c9a1ff8752f872a1db94f3a (commit)
from 4f168c2c3b59f7fe405564188624132277e37ffc (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 96ca8c29569b84d881f64bd84dca374d15651a84
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=96ca8c29569b84d881f64bd84dca374d15651a84
Author: Ben Pfaff <blp at nicira.com>
ovs-brcompatd: Convert svecs to ssets.
commit 9759479ab6dd8a050f5838e01111536d8d6b2538
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9759479ab6dd8a050f5838e01111536d8d6b2538
Author: Ben Pfaff <blp at nicira.com>
bridge: Convert svecs to ssets.
commit 33d532dafaf36cafa1f65c8d4ed042e9ddef8078
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=33d532dafaf36cafa1f65c8d4ed042e9ddef8078
Author: Ben Pfaff <blp at nicira.com>
ovs-openflowd: Use sset in place of svec.
Also deletes svec_split() since this was the only user.
commit 81e2083fe6b7c16055f01c4b1e40f25867594bf6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=81e2083fe6b7c16055f01c4b1e40f25867594bf6
Author: Ben Pfaff <blp at nicira.com>
ofproto: Change string sets in interface from svec to sset.
commit 53d046612df6c88ad8b02c8e99bbfb6e45fe2326
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=53d046612df6c88ad8b02c8e99bbfb6e45fe2326
Author: Ben Pfaff <blp at nicira.com>
ovsdb-parser: Use sset instead of svec for detecting unused members.
Should be slightly cheaper than sorting a list (O(n) vs. O(n lg n)).
commit 19993ef3caac9964c2bef6e31fc8699c4f4b53c8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=19993ef3caac9964c2bef6e31fc8699c4f4b53c8
Author: Ben Pfaff <blp at nicira.com>
netdev: Use sset instead of svec in netdev interface.
commit d0c23a1a57f5bd994d3af124673a218e21528dd3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d0c23a1a57f5bd994d3af124673a218e21528dd3
Author: Ben Pfaff <blp at nicira.com>
dpif: Use sset instead of svec in dpif interface.
commit b3c01ed3308e7899e98e981bf465f74be86f5f12
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b3c01ed3308e7899e98e981bf465f74be86f5f12
Author: Ben Pfaff <blp at nicira.com>
Convert shash users that don't use the 'data' value to sset instead.
In each of the cases converted here, an shash was used simply to maintain
a set of strings, with the shash_nodes' 'data' values set to NULL. This
commit converts them to use sset instead.
commit f391294fde05ecae7c9a1ff8752f872a1db94f3a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f391294fde05ecae7c9a1ff8752f872a1db94f3a
Author: Ben Pfaff <blp at nicira.com>
sset: New data type for a set of strings.
Many uses of "shash" or "svec" data structures really call for a "set of
strings" data type. This commit introduces such a data structure. Later
commits convert inappropriate uses of shash and svec to use sset instead.
-----------------------------------------------------------------------
Summary of changes:
lib/automake.mk | 2 +
lib/dpif-linux.c | 23 ++--
lib/dpif-provider.h | 2 +-
lib/dpif.c | 16 ++--
lib/dpif.h | 6 +-
lib/fatal-signal.c | 24 ++---
lib/netdev-linux.c | 12 +-
lib/netdev-provider.h | 8 +-
lib/netdev.c | 52 +++++-----
lib/netdev.h | 10 +-
lib/ovsdb-parser.c | 14 +--
lib/ovsdb-parser.h | 6 +-
lib/sset.c | 253 +++++++++++++++++++++++++++++++++++++++++++++
lib/sset.h | 88 ++++++++++++++++
lib/svec.c | 18 +---
lib/svec.h | 3 +-
ofproto/collectors.c | 20 ++---
ofproto/collectors.h | 7 +-
ofproto/connmgr.c | 23 +++--
ofproto/connmgr.h | 6 +-
ofproto/netflow.c | 3 +-
ofproto/netflow.h | 6 +-
ofproto/ofproto-sflow.c | 10 +-
ofproto/ofproto.c | 30 +++--
ofproto/ofproto.h | 11 +-
ovsdb/ovsdb-server.c | 34 +++---
utilities/ovs-dpctl.c | 42 ++++----
utilities/ovs-openflowd.c | 86 +++++++++-------
utilities/ovs-vsctl.c | 31 +++---
vswitchd/bridge.c | 142 +++++++++++++-------------
vswitchd/ovs-brcompatd.c | 54 +++++------
31 files changed, 686 insertions(+), 356 deletions(-)
create mode 100644 lib/sset.c
create mode 100644 lib/sset.h
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list