mbox series

[rdma-next,v3,0/4] Define and use mana queues for CQs and WQs

Message ID 1711483688-24358-1-git-send-email-kotaranov@linux.microsoft.com (mailing list archive)
Headers show
Series Define and use mana queues for CQs and WQs | expand

Message

Konstantin Taranov March 26, 2024, 8:08 p.m. UTC
From: Konstantin Taranov <kotaranov@microsoft.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.

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    | 43 ++++++++++++++
 drivers/infiniband/hw/mana/mana_ib.h | 26 ++++----
 drivers/infiniband/hw/mana/qp.c      | 88 ++++++++++------------------
 drivers/infiniband/hw/mana/wq.c      | 31 ++--------
 5 files changed, 103 insertions(+), 137 deletions(-)


base-commit: 96d9cbe2f2ff7abde021bac75eafaceabe9a51fa