qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/2] rdma: Utilize ibv_reg_mr_iova for memory re


From: Marcel Apfelbaum
Subject: Re: [Qemu-devel] [PATCH 0/2] rdma: Utilize ibv_reg_mr_iova for memory registration
Date: Sat, 31 Aug 2019 22:26:16 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Hi Yuval,

On 8/18/19 4:21 PM, Yuval Shaia wrote:
The virtual address that is provided by the guest in post_send and
post_recv operations is related to the guest address space. This
address
space is unknown to the HCA resides on host so extra step in these
operations is needed to adjust the address to host virtual address.

This step, which is done in data-path affects performances.

An enhanced verion of MR registration introduced here
https://patchwork.kernel.org/patch/11044467/ can be used so that the
guest virtual address space for this MR is known to the HCA in host.

Nice work on kernel side !
Thanks,
Marcel


This will save the data-path adjustment.

patch #1 deals with what is needed to detect if the library installed in
the host supports this function
patch #2 enhance the data-path ops by utilizing the new function

Yuval Shaia (2):
   configure: Check if we can use ibv_reg_mr_iova
   hw/rdma: Utilize ibv_reg_mr_iova for memory registration

  configure                 | 28 ++++++++++++++++++++++++++++
  hw/rdma/rdma_backend.c    | 13 +++++++++++++
  hw/rdma/rdma_backend.h    |  5 +++++
  hw/rdma/rdma_rm.c         |  5 +++++
  hw/rdma/vmw/pvrdma_main.c |  6 ++++++
  5 files changed, 57 insertions(+)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]