[ovs-git] Open vSwitch: ofproto: Use netdev's 'change_seq' to reduce port modification check. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Apr 10 21:02:58 UTC 2014


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  61501798a453f71733c0d4b478c45354c638e047 (commit)
       via  045c0d1a77ae0592658f69ce071018ef32938253 (commit)
       via  3e912ffcbbe04ac222e420a5e471b765bc004145 (commit)
      from  6105999dafd97950d8a7d9b61eda6ed2bafcc661 (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 61501798a453f71733c0d4b478c45354c638e047
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=61501798a453f71733c0d4b478c45354c638e047
Author: Alex Wang <alexw at nicira.com>
		
ofproto: Use netdev's 'change_seq' to reduce port modification check.
		
This commit uses the 'change_seq' in 'struct netdev' to determine
whether to update the 'ofport'.  This helps eliminate unnecessary
update.

In the experiment of configuring 5K internal port, there is neither
observable configuration overhead nor additional cpu consumption
after configuration finishes.  When one internal port state is
flapped every 0.3 second, this commit reduces the cpu utilization
of ovs-vswitchd thread from 40 to 12.

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


commit 045c0d1a77ae0592658f69ce071018ef32938253
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=045c0d1a77ae0592658f69ce071018ef32938253
Author: Alex Wang <alexw at nicira.com>
		
netdev-dpdk: Indicate the change of etheraddr and mtu.
		
This commit makes the netdev-dpdk module signal the change of
etheraddr and mtu by changing the global sequence number and
incrementing its 'change_seq'.

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



commit 3e912ffcbbe04ac222e420a5e471b765bc004145
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3e912ffcbbe04ac222e420a5e471b765bc004145
Author: Alex Wang <alexw at nicira.com>
		
netdev: Add 'change_seq' back to netdev.
		
This commit can be seen as a partial revert of commit
da4a619179d (netdev: Globally track port status changes)
by adding the 'change_seq' to 'struct netdev'.

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



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

Summary of changes:
 lib/netdev-bsd.c           |   12 +++++-------
 lib/netdev-dpdk.c          |    6 +++---
 lib/netdev-dummy.c         |    6 ++----
 lib/netdev-linux.c         |    4 +---
 lib/netdev-provider.h      |   20 ++++++++++++++++++++
 lib/netdev-vport.c         |    8 +++-----
 lib/netdev.c               |   11 ++++++++---
 lib/netdev.h               |    1 +
 ofproto/ofproto-provider.h |    1 +
 ofproto/ofproto.c          |   10 +++++++++-
 10 files changed, 53 insertions(+), 26 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list