summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>2026-05-19 20:30:39 +0530
committerJason Gunthorpe <jgg@nvidia.com>2026-05-24 12:32:21 -0300
commit54c01d98f480a5622780cb4d5e893e25dda70e57 (patch)
tree2edea3fa2be9152623f23aef9df93b7bb5e8cab8 /include
parent73607410f4f1b0d5c3d0af2d70a79c265482a0e3 (diff)
RDMA/bnxt_re: Enhance dpi lifecycle logic in doorbell uapis
If the DPI is freed when the dbr object is freed, but if the process has not unmapped the page yet, then the DPI slot could get reallocated to another process while the original process still has it mapped. To prevent this, save the DPI info in the mmap entry during dbr allocation and free the DPI slot from bnxt_re_mmap_free(), which enures that there are no references to it. This change is needed to support doorbell allocation to QPs in the next patch. Link: https://patch.msgid.link/r/20260519150041.7251-8-sriharsha.basavapatna@broadcom.com Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions