]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/mthca: reset QP's last pointers when transitioning to reset state
authorMichael S. Tsirkin <mst@mellanox.co.il>
Mon, 28 Nov 2005 19:19:43 +0000 (11:19 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 28 Nov 2005 19:19:43 +0000 (11:19 -0800)
commit187a25863fe014486ee834164776b2a587d6934d
tree918111360e352d128126bb338227ec4fb6e8afbc
parent458af5439fe7ae7d95ca14106844e61f0795166c
IB/mthca: reset QP's last pointers when transitioning to reset state

last pointer is not updated when QP is modified to reset state.  This
causes data corruption if WQEs are already posted on the queue.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c