RDMA/qedr: restructure functions that create/destroy QPs
authorAmrani, Ram <[email protected]>
Thu, 22 Dec 2016 12:52:24 +0000 (14:52 +0200)
committerDoug Ledford <[email protected]>
Thu, 12 Jan 2017 17:21:41 +0000 (12:21 -0500)
commitdf15856132bc837b512caa36d2227d2350cf64d8
treea7f92adcf5b95dde4b33a4aab41a2a5b6e7e5045
parentbb75f33cf0f8f332dd69e9c1966a8eb0769ee38b
RDMA/qedr: restructure functions that create/destroy QPs

Simplify function and sub-function flow of QP creation and destruction.
This also serves as a preparation for SRQ and iWARP support.

Signed-off-by: Ram Amrani <[email protected]>
Reviewed-by: Michal Kalderon <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/qedr/verbs.c