IB/ehca: Fix AQP0/1 QP number
authorHoang-Nam Nguyen <hnguyen@de.ibm.com>
Wed, 9 May 2007 11:48:11 +0000 (13:48 +0200)
committerRoland Dreier <rolandd@cisco.com>
Mon, 14 May 2007 20:39:31 +0000 (13:39 -0700)
commitc55a0ddd8ebdd657224449c2fbfcd427e054c8cc
tree4f86497cbe102ba2b60b6694a4c2edc5f82703fd
parent92761cdaf215599a1bd81d383facb32adabfa620
IB/ehca: Fix AQP0/1 QP number

AQP0/1 should report qp_num={0|1} and the actual QP# should be stored
in struct ehca_qp, not the other way round.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_qp.c