[ovs-git] Open vSwitch: ofproto: Report 0 Mbps when speed not available instead of 100 Mbps. (master)

dev at openvswitch.org dev at openvswitch.org
Sun Nov 4 01:02:38 UTC 2012


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  d02a5f8ea4e1da19ccc4f903026b77649472b236 (commit)
      from  8087f5ff825cae3a699e5a60ca6dd0deb10fc8e5 (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 d02a5f8ea4e1da19ccc4f903026b77649472b236
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d02a5f8ea4e1da19ccc4f903026b77649472b236
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Report 0 Mbps when speed not available instead of 100 Mbps.
		
When a link is down, or when a link has no speed because it is not a
physical interface, Open vSwitch previously reported that its rate is 100
Mbps as a default.  This is counterintuitive, however, so this commit
changes Open vSwitch behavior to report 0 Mbps when a link is down or its
speed is otherwise unavailable.

Bug #13388.
Reported-by: Hiroshi Tanaka <htanaka at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/netdev-linux.c           |    4 ++--
 lib/netdev.c                 |    7 ++++---
 lib/netdev.h                 |    3 ++-
 lib/ofp-util.c               |    4 ++--
 ofproto/ofproto-dpif-sflow.c |    2 +-
 ofproto/ofproto.c            |    4 ++--
 tests/ofp-print.at           |    2 +-
 tests/ofproto.at             |   16 ++++++++--------
 vswitchd/bridge.c            |   18 ++++++------------
 9 files changed, 28 insertions(+), 32 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list