IB/rdmavt: Add functions to get and release QP references
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Tue, 6 Sep 2016 11:34:21 +0000 (04:34 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 16 Sep 2016 18:35:27 +0000 (14:35 -0400)
commit4107b8a029995e4a2c928b395a12ebc67d8e3689
tree9ad234567e7b1824c5446e0e8b7bcd9d64ebcb22
parente4618d40eb3dc1a6d1f55f7150ea25bb23ab410a
IB/rdmavt: Add functions to get and release QP references

This centralizes the function and improves code readability.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/rdmavt_qp.h