RDMA/uverbs: Track dmabuf memory regions
authorGal Pressman <galpress@amazon.com>
Thu, 12 Aug 2021 13:56:06 +0000 (16:56 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 19 Aug 2021 12:59:53 +0000 (09:59 -0300)
commitf6018cc4602659e0e608849529704f3f41276c28
tree82eec0815a5f6781b0ce651a74480dc8052f6833
parentda78fe5fb35737058de52364484ffed74e7d329b
RDMA/uverbs: Track dmabuf memory regions

The dmabuf memory registrations are missing the restrack handling and
hence do not appear in rdma tool.

Fixes: bfe0cc6eb249 ("RDMA/uverbs: Add uverbs command for dma-buf based MR registration")
Link: https://lore.kernel.org/r/20210812135607.6228-1-galpress@amazon.com
Signed-off-by: Gal Pressman <galpress@amazon.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/uverbs_std_types_mr.c