From: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx> This patch series aims to reduce code duplication by introducing a notion of mana ib queues and corresponding helpers to create and destroy them. Konstantin Taranov (4): RDMA/mana_ib: Introduce helpers to create and destroy mana queues RDMA:mana_ib: Use struct mana_ib_queue for CQs RDMA/mana_ib: Use struct mana_ib_queue for WQs RDMA/mana_ib: Use struct mana_ib_queue for RAW QPs drivers/infiniband/hw/mana/cq.c | 52 ++++------------- drivers/infiniband/hw/mana/main.c | 40 +++++++++++++ drivers/infiniband/hw/mana/mana_ib.h | 31 ++++++---- drivers/infiniband/hw/mana/qp.c | 86 ++++++++++------------------ drivers/infiniband/hw/mana/wq.c | 31 ++-------- 5 files changed, 104 insertions(+), 136 deletions(-) base-commit: 96d9cbe2f2ff7abde021bac75eafaceabe9a51fa -- 2.43.0