[PATCH] IB/mthca: assign ACK timeout field correctly
authorRoland Dreier <rolandd@cisco.com>
Mon, 12 Sep 2005 21:08:51 +0000 (14:08 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 19 Sep 2005 05:02:37 +0000 (22:02 -0700)
commitbb4a7f0da75ce9f3e933880428d39b2aa1f16961
tree9034e0db70f28c93317ad8794437523e3c3c9c52
parent51574e0398a2d93cbf7f26e36b673cd919062268
[PATCH] IB/mthca: assign ACK timeout field correctly

The hardware reads the ACK timeout field from the most significant 5
bits of struct mthca_qp_path's ackto field, not the least significant
bits.  This fix has the driver put the timeout in the right place.
Without this, we get a timeout that is 2^8 times too small.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c