[PATCH] IB/mthca: Set RDMA/atomic capabilities correctly
authorRoland Dreier <roland@topspin.com>
Mon, 27 Jun 2005 21:36:41 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 27 Jun 2005 22:11:45 +0000 (15:11 -0700)
commit34a4a753d15f905158d77fb81adc9c19a02a4639
tree73c0bacd8b57dcde4320ed4a89c2e22e07586c93
parentcd123d7fcfde319bd723d14d975d60319a1b2ad8
[PATCH] IB/mthca: Set RDMA/atomic capabilities correctly

mthca apparently had the meanings of the max_rd_atomic and max_dest_rd_atomic
QP attributes backwards.  max_rd_atomic limits the maximum number of
outstanding RDMA/atomic requests as an initiator (on a send queue), and
max_dest_rd_atomic specifies the resources allocated to handle RMDA/atomic
requests from the remote end of the connection.  We were programming our QP
context with these values swapped.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/hw/mthca/mthca_qp.c