RDMA/cxgb3: Don't zero QP attrs when moving to IDLE
authorSteve Wise <swise@opengridcomputing.com>
Tue, 21 Apr 2009 00:00:53 +0000 (17:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 21 Apr 2009 00:00:53 +0000 (17:00 -0700)
commitcde9e2f9307dd6af6bf8c5f02e41a6e27da9682a
treec0503da1e1ee368d5cbd5d37f6309f1798be49e7
parent96ac7e88922da6ab33efea87c6b560ba5ab11e75
RDMA/cxgb3: Don't zero QP attrs when moving to IDLE

QP attributes must stay initialized when moving back to IDLE.  Zeroing
them will crash the system in _flush_qp() if the QP is subsequently
moved to ERROR and back to IDLE.

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