]> git.baikalelectronics.ru Git - kernel.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)
commitdcd6c5fbbc4a807f8297e626de175dadbf862c1f
tree9df84d19a2e3991348246756dd2b58b7786ed4b3
parent9abc5aab18198d50afc662ae00a3f90cf4b3a19e
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