[ovs-git] Open vSwitch: ofproto: Convert units correctly in ofport_open(). (master)

dev at openvswitch.org dev at openvswitch.org
Wed Sep 4 20:38:09 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  cd65125d97da87d2d3f9b7e8e2d35b6dd25ac6d3 (commit)
      from  e253f7323f6ef7d4bab13e303c68db92ba7ce767 (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 cd65125d97da87d2d3f9b7e8e2d35b6dd25ac6d3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cd65125d97da87d2d3f9b7e8e2d35b6dd25ac6d3
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Convert units correctly in ofport_open().
		
netdev_features_to_bps() returns a speed in bps, but struct
ofputil_phy_port's curr_speed and max_speed are in kbps, so a conversion
is necessary.  This commit fixes the problem.

Reported-by: Benjamin Lunsky <benjamin.lunsky at netronome.com>
Tested-by: Benjamin Lunsky <benjamin.lunsky at netronome.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 ofproto/ofproto.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list