summaryrefslogtreecommitdiffstats
path: root/scripts/decodecode
diff options
context:
space:
mode:
authorMichal Kalderon <michal.kalderon@marvell.com>2019-10-30 11:44:11 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-11-06 13:08:00 -0400
commit3411f9f01b76bd88aa6e0e013847ab6479cb4f24 (patch)
tree2c5234ba44b6a69e48e83bf407828ce33966d9ab /scripts/decodecode
parentb86deba977a91aaa5a4b725d7b42970e6de28d2c (diff)
downloadlinux-3411f9f01b76bd88aa6e0e013847ab6479cb4f24.tar.bz2
RDMA/core: Create mmap database and cookie helper functions
Create some common API's for adding entries to a xa_mmap. Searching for an entry and freeing one. The general approach is copied from the EFA driver and improved to be more general and do more to help the drivers. Integration with the core allows a reference counted scheme with a free function so that the driver can know when its mmaps are all gone. This significant new functionality will be helpful for drivers to have the correct lifetime model for mmap objects. Link: https://lore.kernel.org/r/20191030094417.16866-3-michal.kalderon@marvell.com Signed-off-by: Ariel Elior <ariel.elior@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts/decodecode')
0 files changed, 0 insertions, 0 deletions