diff options
author | Potnuri Bharat Teja <bharat@chelsio.com> | 2019-04-02 14:46:11 +0530 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-04-04 08:29:04 -0300 |
commit | d2c33370ae73105c7c7df8f7048d20653991b4cb (patch) | |
tree | 991c8e311eb3e6db643106ff6b9b58e7a04cb43b /drivers/infiniband/core/cm.c | |
parent | 0f51427bd0976fc4824ca16e73b7985f224cbbf8 (diff) |
RDMA/iw_cxgb4: Always disconnect when QP is transitioning to TERMINATE state
On receiving a TERM from tje peer, Host moves the QP to TERMINATE state
and then moves the adapter out of RDMA mode. After issuing a TERM, peer
issues a CLOSE and at this point of time if the connectivity between peer
and host is lost for a significant amount of time, the QP remains in
TERMINATE state.
Therefore c4iw_modify_qp() needs to initiate a close on entering terminate
state.
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/cm.c')
0 files changed, 0 insertions, 0 deletions