RDMA: Get rid of iw_cm_verbs
authorKamal Heib <kamalheib1@gmail.com>
Mon, 29 Apr 2019 11:59:06 +0000 (14:59 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 3 May 2019 13:56:56 +0000 (10:56 -0300)
commitdd05cb828d0ebecd3d772075fccb85ec3618bedf
treef209a5fe272c5c41638b3ea7bb024193dea441d5
parenteb15c78b05bd9fbac45ee5b56aaf29b2570b5238
RDMA: Get rid of iw_cm_verbs

Integrate iw_cm_verbs data members into ib_device_ops and ib_device
structs, this is done to achieve the following:

1) Avoid memory related bugs durring error unwind
2) Make the code more cleaner
3) Reduce code duplication

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/device.c
drivers/infiniband/core/iwcm.c
drivers/infiniband/hw/cxgb3/iwch_provider.c
drivers/infiniband/hw/cxgb4/provider.c
drivers/infiniband/hw/i40iw/i40iw_verbs.c
drivers/infiniband/hw/nes/nes_verbs.c
drivers/infiniband/hw/qedr/main.c
include/rdma/ib_verbs.h
include/rdma/iw_cm.h