aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mana/device.c
diff options
context:
space:
mode:
authorKonstantin Taranov <[email protected]>2025-02-13 13:54:21 +0000
committerLeon Romanovsky <[email protected]>2025-02-18 13:26:27 +0000
commitffd67b6b420d0549e250f91eb670e98e189cd73a (patch)
treefcb250ae32729c5e3a67b259bcaeecffc1d6926b /drivers/infiniband/hw/mana/device.c
parentRDMA/irdma: Switch to using the crc32c library (diff)
downloadkernel-ffd67b6b420d0549e250f91eb670e98e189cd73a.tar.gz
kernel-ffd67b6b420d0549e250f91eb670e98e189cd73a.zip
RDMA/mana_ib: Implement DMABUF MR support
Add support of dmabuf MRs to mana_ib. Signed-off-by: Konstantin Taranov <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Long Li <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mana/device.c')
-rw-r--r--drivers/infiniband/hw/mana/device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mana/device.c b/drivers/infiniband/hw/mana/device.c
index 0c7a9929168f..d1a02c54a236 100644
--- a/drivers/infiniband/hw/mana/device.c
+++ b/drivers/infiniband/hw/mana/device.c
@@ -48,6 +48,7 @@ static const struct ib_device_ops mana_ib_dev_ops = {
.query_pkey = mana_ib_query_pkey,
.query_port = mana_ib_query_port,
.reg_user_mr = mana_ib_reg_user_mr,
+ .reg_user_mr_dmabuf = mana_ib_reg_user_mr_dmabuf,
.req_notify_cq = mana_ib_arm_cq,
INIT_RDMA_OBJ_SIZE(ib_ah, mana_ib_ah, ibah),