[ovs-git] Open vSwitch: ofproto: Convert units correctly in ofport_open(). (branch-2.0)
dev at openvswitch.org
dev at openvswitch.org
Wed Sep 4 20:38:46 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-2.0 has been updated
via 5f192af0f1e5f3f6bd6e6c4cfd62e8792cc6d1aa (commit)
from cd2c51dd9071b2b2a4bae405f576d1ef99667a13 (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 5f192af0f1e5f3f6bd6e6c4cfd62e8792cc6d1aa
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5f192af0f1e5f3f6bd6e6c4cfd62e8792cc6d1aa
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