mbox series

[rdma-next,v3,0/2] RDMA/mana_ib: Improve dma region creation

Message ID 1709560361-26393-1-git-send-email-kotaranov@linux.microsoft.com (mailing list archive)
Headers show
Series RDMA/mana_ib: Improve dma region creation | expand

Message

Konstantin Taranov March 4, 2024, 1:52 p.m. UTC
From: Konstantin Taranov <kotaranov@microsoft.com>

This patch series fixes an incorrect offset calculation for dma
regions and adds new functions to create dma regions:
1)  with iova
2)  without iova but with zero dma offset

Changes:
v1->v2:
Split the patch into 2 commits
In 1/2, Improved commit messages and added "Fixes:"
In 2/2, Used correct helpers to get page size for iova and no-iova cases
In 2/2, Introduced mana helpers to work with iova and no-iova cases

v2->v3:
In 2/2, Return -EINVAL on failed ib_umem_find_best_pgoff
In 2/2, Improved commit message and added "Fixes:"

Konstantin Taranov (2):
  RDMA/mana_ib: Fix bug in creation of dma regions
  RDMA/mana_ib: Use virtual address in dma regions for MRs

 drivers/infiniband/hw/mana/cq.c      |  4 +--
 drivers/infiniband/hw/mana/main.c    | 42 +++++++++++++++++++++-------
 drivers/infiniband/hw/mana/mana_ib.h |  7 +++--
 drivers/infiniband/hw/mana/mr.c      |  4 +--
 drivers/infiniband/hw/mana/qp.c      |  6 ++--
 drivers/infiniband/hw/mana/wq.c      |  4 +--
 6 files changed, 46 insertions(+), 21 deletions(-)


base-commit: 14b526f55ba5916856126f9793309fd6de5c5e7e

Comments

Leon Romanovsky March 7, 2024, 9:32 a.m. UTC | #1
On Mon, 04 Mar 2024 05:52:39 -0800, Konstantin Taranov wrote:
> From: Konstantin Taranov <kotaranov@microsoft.com>
> 
> This patch series fixes an incorrect offset calculation for dma
> regions and adds new functions to create dma regions:
> 1)  with iova
> 2)  without iova but with zero dma offset
> 
> [...]

Applied, thanks!

[1/2] RDMA/mana_ib: Fix bug in creation of dma regions
      https://git.kernel.org/rdma/rdma/c/e02497fb654689
[2/2] RDMA/mana_ib: Use virtual address in dma regions for MRs
      https://git.kernel.org/rdma/rdma/c/2d5c00815778ec

Best regards,