RDMA/qedr: restructure functions that create/destroy QPs
authorAmrani, Ram <Ram.Amrani@cavium.com>
Thu, 22 Dec 2016 12:52:24 +0000 (14:52 +0200)
committerDoug Ledford <dledford@redhat.com>
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 <Ram.Amrani@cavium.com>
Reviewed-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/verbs.c