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. v3->v4: * Removed debug prints in patches, as asked by Leon v2->v3: * [in 4/4] Do not define an additional struct for a raw qp v1->v2: * [in 1/4] Added a comment about the ignored return value * [in 2/4] Replaced RDMA:mana_ib to RDMA/mana_ib in the subject * [in 4/4] Renamed mana_ib_raw_qp to mana_ib_raw_sq 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 | 39 ++++++++++++ drivers/infiniband/hw/mana/mana_ib.h | 26 ++++---- drivers/infiniband/hw/mana/qp.c | 93 +++++++++------------------- drivers/infiniband/hw/mana/wq.c | 33 ++-------- 5 files changed, 96 insertions(+), 147 deletions(-) base-commit: 96d9cbe2f2ff7abde021bac75eafaceabe9a51fa -- 2.43.0