1
linux/drivers/infiniband/hw
Alexander Schmidt 51ad241af4 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>
2008-08-12 11:34:58 -07:00
..
amso1100 RDMA/core: Add local DMA L_Key support 2008-07-14 23:48:53 -07:00
cxgb3 RDMA/cxgb3: Fix deadlock initializing iw_cxgb3 device 2008-08-04 11:08:37 -07:00
ehca IB/ehca: Update qp_state on cached modify_qp() 2008-08-12 11:34:58 -07:00
ipath Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2008-08-07 18:14:07 -07:00
mlx4 IB/mlx4: Allow 4K messages for UD QPs 2008-08-07 14:06:50 -07:00
mthca dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
nes RDMA/nes: CM connection setup/teardown rework 2008-07-24 20:50:45 -07:00