RDMA/mana_ib: Introduce helpers to create and destroy mana queues
authorKonstantin Taranov <kotaranov@microsoft.com>
Tue, 26 Mar 2024 20:08:05 +0000 (13:08 -0700)
committerLeon Romanovsky <leon@kernel.org>
Tue, 2 Apr 2024 08:30:22 +0000 (11:30 +0300)
commit46f5be7cd4bceb3a503c544b3dab7b75fe4bb96b
tree08b653b631c7ac25818c016d66fc28a446dc8be7
parentca537a34775c103f7b14d7bbd976403f1d1525d8
RDMA/mana_ib: Introduce helpers to create and destroy mana queues

Intoduce helpers to work with mana ib queues (struct mana_ib_queue).
A queue always consists of umem, gdma_region, and id.
A queue can become a WQ or a CQ.

Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Link: https://lore.kernel.org/r/1711483688-24358-2-git-send-email-kotaranov@linux.microsoft.com
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mana/main.c
drivers/infiniband/hw/mana/mana_ib.h