iw_cxgb4: explicitly move the qp to ERROR state during flush
authorSteve Wise <swise@opengridcomputing.com>
Fri, 29 Jul 2016 15:38:46 +0000 (08:38 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 17:15:17 +0000 (13:15 -0400)
commit1b1a889dbb9f007bc8fc916f172701cd8b1f7098
treea47b432d58c8b67a48d735d356ccb88cf57a8d3e
parent12eb5137edecfd8fb6d23dacec2a3630e729736f
iw_cxgb4: explicitly move the qp to ERROR state during flush

This forces the connection to abort if the application failed to
disconnect before flushing.  This is aligned with how the common
flush services work.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/qp.c