]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc25f5a89b28a27b4e18298cbe8694307d1a94ae6
tree9034e0db70f28c93317ad8794437523e3c3c9c52
parent4349a03260cc0b2bbd2f49ec11bb2e77b4a58a4c
[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