linux/drivers/infiniband/hw
Michael S. Tsirkin 65adfa911a IB/mlx4: Fix RESET to RESET and RESET to ERROR transitions
According to the IB spec, a QP can be moved from RESET back to RESET
or to the ERROR state, but mlx4 firmware does not support this and
returns an error if we try.  Fix the RESET to RESET transition by
just returning 0 without doing anything, and fix RESET to ERROR by
moving the QP from RESET to INIT with dummy parameters and then
transitioning from INIT to ERROR.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-05-19 08:51:57 -07:00
..
amso1100 IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
cxgb3 IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
ehca IB/ehca: Return proper error code if register_mr fails 2007-05-19 08:51:54 -07:00
ipath IB/ipath: Fix potential deadlock with multicast spinlocks 2007-05-19 08:51:53 -07:00
mlx4 IB/mlx4: Fix RESET to RESET and RESET to ERROR transitions 2007-05-19 08:51:57 -07:00
mthca IB/mthca: Fix RESET to ERROR transition 2007-05-19 08:51:57 -07:00