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

dev at openvswitch.org dev at openvswitch.org
Wed Sep 4 20:38:49 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, branch-1.11 has been updated
       via  bb0c4b09b1a3192b31990cfac735eed214d33d04 (commit)
      from  37f9d3a82f6f7681b001ea20cf3e14ddc7fe0e3e (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 bb0c4b09b1a3192b31990cfac735eed214d33d04
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bb0c4b09b1a3192b31990cfac735eed214d33d04
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