RDMA/cxgb3: Move QP to error on destroy if the state is IDLE
authorSteve Wise <swise@opengridcomputing.com>
Tue, 6 Mar 2007 20:43:58 +0000 (14:43 -0600)
committerRoland Dreier <rolandd@cisco.com>
Tue, 6 Mar 2007 20:50:45 +0000 (12:50 -0800)
commit2df50da00e679439aca08a59cd0b4db484159540
tree84a58507c0492d0085d7a25a894e072a21e505d8
parent42e31753546d2186d4a675e7d00daa02ea7c8e85
RDMA/cxgb3: Move QP to error on destroy if the state is IDLE

Change iwch_destroy_qp() to always move the QP to ERROR and let
iwch_modify_qp() decide what to do.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_provider.c