]> git.ipfire.org Git - people/ms/linux.git/commit
IB/{rdmavt, qib, hfi1}: Use new routine to release reference counts
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Fri, 12 Apr 2019 13:41:42 +0000 (06:41 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 24 Apr 2019 14:31:49 +0000 (11:31 -0300)
commitd40f69c9b9dff3e47d9647943db267b5792ae215
tree9df84d19a2e3991348246756dd2b58b7786ed4b3
parent52cdbcc2b1822974f547c7b892e8e1e8109d185e
IB/{rdmavt, qib, hfi1}: Use new routine to release reference counts

The reference count adjustments on reference count completion
are open coded throughout.

Add a routine to do all reference count adjustments and use.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/rc.c
drivers/infiniband/hw/qib/qib_rc.c
drivers/infiniband/sw/rdmavt/qp.c
include/rdma/rdmavt_qp.h