qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH RDMA support v3: 03/10] documentation of RDM


From: Michael R. Hines
Subject: Re: [Qemu-devel] [RFC PATCH RDMA support v3: 03/10] documentation of RDMA protocol in docs/rdma.txt
Date: Mon, 11 Mar 2013 13:17:19 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

On 03/11/2013 01:05 PM, Michael S. Tsirkin wrote:
Well that's exactly the question. As far as I remember the RDMA memory model, you need to know a key and address to execute RDMA writes. Remote memory also needs to be locked, so you need some mechanism to lock chunks of memory, do RDMA write and unlock when done.

Yes, memory is registered before the write occurs - that's is all taken care of in rdma.c (patch #04/10)

Same answer for the SEND messages: memory for each send must be registered before you send.

The pinning (mlock()) is already handled by libibverbs (by calling the function ibv_reg_mr()) - standard infiniband protocol initialization.

- Michael




reply via email to

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