qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] ee1085: configure: Check if we can use ibv_re


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] ee1085: configure: Check if we can use ibv_reg_mr_iova
Date: Thu, 07 Nov 2019 08:00:51 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ee108585bb1924a8df88188925d0d01b90b4b9e8
      
https://github.com/qemu/qemu/commit/ee108585bb1924a8df88188925d0d01b90b4b9e8
  Author: Yuval Shaia <address@hidden>
  Date:   2019-11-06 (Wed, 06 Nov 2019)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Check if we can use ibv_reg_mr_iova

The function reg_mr_iova is an enhanced version of ibv_reg_mr function
that can help to easly register and use guest's MRs.

Add check in 'configure' phase to detect if we have libibverbs with this
support.

Signed-off-by: Yuval Shaia <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Marcel Apfelbaum <address@hidden>


  Commit: 68b89aee710ab48b3dcaaa721bbc5d8aa5ea24d1
      
https://github.com/qemu/qemu/commit/68b89aee710ab48b3dcaaa721bbc5d8aa5ea24d1
  Author: Yuval Shaia <address@hidden>
  Date:   2019-11-06 (Wed, 06 Nov 2019)

  Changed paths:
    M hw/rdma/rdma_backend.c
    M hw/rdma/rdma_backend.h
    M hw/rdma/rdma_rm.c
    M hw/rdma/vmw/pvrdma_main.c

  Log Message:
  -----------
  hw/rdma: Utilize ibv_reg_mr_iova for memory registration

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.

This will save the data-path adjustment.

Signed-off-by: Yuval Shaia <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Marcel Apfelbaum <address@hidden>


  Commit: 763657b1fc73ae2252fd0b23b4338025f899e2fe
      
https://github.com/qemu/qemu/commit/763657b1fc73ae2252fd0b23b4338025f899e2fe
  Author: Peter Maydell <address@hidden>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M configure
    M hw/rdma/rdma_backend.c
    M hw/rdma/rdma_backend.h
    M hw/rdma/rdma_rm.c
    M hw/rdma/vmw/pvrdma_main.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/marcel/tags/rdma-pull-request' into 
staging

RDMA queue

* better memory registration performance

# gpg: Signature made Wed 06 Nov 2019 14:37:47 GMT
# gpg:                using RSA key 36D4C0F0CF2FE46D
# gpg: Good signature from "Marcel Apfelbaum <address@hidden>" [marginal]
# gpg:                 aka "Marcel Apfelbaum <address@hidden>" [marginal]
# gpg:                 aka "Marcel Apfelbaum <address@hidden>" [marginal]
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: B1C6 3A57 F92E 08F2 640F  31F5 36D4 C0F0 CF2F E46D

* remotes/marcel/tags/rdma-pull-request:
  hw/rdma: Utilize ibv_reg_mr_iova for memory registration
  configure: Check if we can use ibv_reg_mr_iova

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/1c5880e78580...763657b1fc73



reply via email to

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