diff options
| author | Jacob Moroni <jmoroni@google.com> | 2026-06-18 20:14:56 +0000 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-07-05 06:44:41 -0400 |
| commit | a7d0a6b58256a77566e9088a99e1594bf35821ec (patch) | |
| tree | 763099306d42c66e37e050f09efc3ff028e43c71 /scripts/Makefile.thinlto | |
| parent | 097f50384e1877b7cf3ace12ff0d1beed19f2088 (diff) | |
RDMA/irdma: Add a refcount to track user ring MR associations
User QP/CQ/SRQ rings are registered with the normal reg_mr
mechanism prior to creating the actual QP/CQ/SRQ object. In
order to prevent userspace from deregistering these special MRs
while the child object still exists, a refcount will be used.
This commit adds the refcount and logic to reject a dereg_mr
with active references. Subsequent commits will add logic to
bump this refcount when the user QP/CQ/SRQ objects are created.
Signed-off-by: Jacob Moroni <jmoroni@google.com>
Link: https://patch.msgid.link/20260618201458.875740-3-jmoroni@google.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
