RDMA/erdma: Associate QPs/CQs with doorbells for authorization
authorCheng Xu <chengyou@linux.alibaba.com>
Tue, 6 Jun 2023 05:50:04 +0000 (13:50 +0800)
committerLeon Romanovsky <leon@kernel.org>
Sun, 11 Jun 2023 08:57:00 +0000 (11:57 +0300)
commit6534de1fe385145d256cf5f37b01ccbd63e23405
treeb321d83a9af77d9dda803fb09db388a059428912
parent7e9a1dada2266c1ef777eba123b5515859779eb9
RDMA/erdma: Associate QPs/CQs with doorbells for authorization

For the isolation requirement, each QP/CQ can only issue doorbells from the
allocated mmio space. Configure the relationship between QPs/CQs and
mmio doorbell spaces to hardware in create_qp/create_cq interfaces.

Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230606055005.80729-4-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/erdma/erdma_hw.h
drivers/infiniband/hw/erdma/erdma_verbs.c