aboutsummaryrefslogtreecommitdiff
path: root/include/rdma/ib_addr.h
diff options
context:
space:
mode:
authorAlexander Schmidt <alexs@linux.vnet.ibm.com>2008-08-12 15:46:07 +0200
committerRoland Dreier <rolandd@cisco.com>2008-08-12 11:34:58 -0700
commit51ad241af45a0bfc02d1ed72a3ad58b46f8e30df (patch)
tree53c427390b91a0430309668153d6f7994b970bbf /include/rdma/ib_addr.h
parentf2d7499be1b1fe1cd8a5e6a01c1f44173894a241 (diff)
IB/ehca: Update qp_state on cached modify_qp()
Since the introduction of the port auto-detect mode for ehca, calls to modify_qp() may be cached in the device driver when the ports are not activated yet. When a modify_qp() call is cached, the qp state remains untouched until the port is activated, which will leave the qp in the reset state. In the reset state, however, it is not allowed to post SQ WQEs, which confuses applications like ib_mad. The solution for this problem is to immediately set the qp state as requested by modify_qp(), even when the call is cached. Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma/ib_addr.h')
0 files changed, 0 insertions, 0 deletions