aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ehca/hcp_phyp.h
diff options
context:
space:
mode:
authorJoachim Fenkes <fenkes@de.ibm.com>2007-11-30 16:19:41 -0800
committerRoland Dreier <rolandd@cisco.com>2007-11-30 16:19:41 -0800
commitb1812582ba94b5f377d5d3cec7646cc17d84e733 (patch)
treeb176268f3b565171bc223fac2296f4982b12bbc1 /drivers/infiniband/hw/ehca/hcp_phyp.h
parentIPoIB: Fix oops if xmit is called when priv->broadcast is NULL (diff)
downloadlinux-dev-b1812582ba94b5f377d5d3cec7646cc17d84e733.tar.xz
linux-dev-b1812582ba94b5f377d5d3cec7646cc17d84e733.zip
IB/ehca: Fix static rate if path faster than link
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>
Diffstat (limited to 'drivers/infiniband/hw/ehca/hcp_phyp.h')
0 files changed, 0 insertions, 0 deletions