Chuck Lever 81fe0c57f4 xprtrdma: Invoke rpcrdma_ia_open in the connect worker
Move rdma_cm_id creation into rpcrdma_ep_create() so that it is now
responsible for allocating all per-connection hardware resources.

With this clean-up, all three arms of the switch statement in
rpcrdma_ep_connect are exactly the same now, thus the switch can be
removed.

Because device removal behaves a little differently than
disconnection, there is a little more work to be done before
rpcrdma_ep_destroy() can release the connection's rdma_cm_id. So
it is not quite symmetrical with rpcrdma_ep_create() yet.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2020-03-27 10:47:24 -04:00
..
2020-02-07 17:50:21 -08:00
2020-02-07 17:50:21 -08:00
2019-07-18 14:32:33 -07:00
2018-12-19 13:52:46 -05:00
2020-01-15 10:54:31 -05:00
2018-07-31 12:53:40 -04:00
2019-10-30 16:32:07 -04:00
2019-12-18 18:07:32 +01:00
2020-01-15 10:54:31 -05:00
2019-11-18 10:55:55 +01:00