OSDN Git Service

RDMA/cxgb4: Remove kref accounting for sync operation
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 12 Feb 2019 18:39:15 +0000 (20:39 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 16 Feb 2019 04:39:15 +0000 (21:39 -0700)
commitcfe876d8e6b0491170d44c8040c518b121957104
treee0a5226383cffd0f234b33fcb39baee5f872b6b0
parentbe56b07b4f3d0ab37abfb86a78f47bfcfeb6c51c
RDMA/cxgb4: Remove kref accounting for sync operation

Ucontext allocation and release aren't async events and don't need kref
accounting. The common layer of RDMA subsystem ensures that dealloc
ucontext will be called after all other objects are released.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Tested-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
drivers/infiniband/hw/cxgb4/provider.c
drivers/infiniband/hw/cxgb4/qp.c