summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorKonstantin Taranov <kotaranov@microsoft.com>2025-01-20 09:27:07 -0800
committerLeon Romanovsky <leon@kernel.org>2025-02-03 06:56:19 -0500
commit78683c25c80e54bf3e8015fdfb8cba2fcd03daa5 (patch)
treeae6c6d87e4ccfc1d1b795677932061c70d615fb1 /include/net
parent190797d47f16d2d5bd32e2d3360218111d83869d (diff)
RDMA/mana_ib: Allow registration of DMA-mapped memory in PDs
Allow the HW to register DMA-mapped memory for kernel-level PDs. Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-2-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Shiraz Saleem <shirazsaleem@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mana/gdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/mana/gdma.h b/include/net/mana/gdma.h
index 90f56656b572..03e1b257953e 100644
--- a/include/net/mana/gdma.h
+++ b/include/net/mana/gdma.h
@@ -775,6 +775,7 @@ struct gdma_destroy_dma_region_req {
enum gdma_pd_flags {
GDMA_PD_FLAG_INVALID = 0,
+ GDMA_PD_FLAG_ALLOW_GPA_MR = 1,
};
struct gdma_create_pd_req {