[PATCH rdma-next v2 0/4] Define and use mana queues for CQs and WQs
From: Konstantin Taranov
Date: Tue Mar 19 2024 - 13:00:41 EST
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.
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 | 43 ++++++++++++++
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, 107 insertions(+), 136 deletions(-)
base-commit: 96d9cbe2f2ff7abde021bac75eafaceabe9a51fa
--
2.43.0