[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1712567646-5247-1-git-send-email-kotaranov@linux.microsoft.com>
Date: Mon, 8 Apr 2024 02:14:02 -0700
From: Konstantin Taranov <kotaranov@...ux.microsoft.com>
To: kotaranov@...rosoft.com,
sharmaajay@...rosoft.com,
longli@...rosoft.com,
jgg@...pe.ca,
leon@...nel.org
Cc: linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH rdma-next v4 0/4] Define and use mana queues for CQs and WQs
From: Konstantin Taranov <kotaranov@...rosoft.com>
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
Powered by blists - more mailing lists