git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1401b53
)
IB/ehca: Fix static rate if path faster than link
author
Joachim Fenkes
<fenkes@de.ibm.com>
Sat, 1 Dec 2007 00:19:41 +0000
(16:19 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Sat, 1 Dec 2007 00:19:41 +0000
(16:19 -0800)
The formula would yield -1 if the path is faster than the link, which
is wrong in a bad way (max throttling). Clamp to 0, which is the
correct value.
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found