[Users] physical memory registration
evam
evam at cdac.in
Mon Sep 16 23:52:09 PDT 2013
I understood following steps for register physical memory region verb as defined
in InfiniBand specification
step 1: Allocate kernel memory using kmalloc etc. Return address is a kernel
virtual address. Allocate multiple buffers.
step 2: Get corresponding physical addressess of buffers returned in step 1
step 3: Give the physical addresses as 'addr' inputs to physical buffer list
structure ib_phys_buf as defined in ofed
step 4: GIve sizes of allocated buffers as 'size' inputs to physical buffer list
structure ib_phys_buf as defined in ofed
step 5: Request an iova to be used as an address for posting operations. iova
can be any arbitrary address.
Please check if the above understanding is correct whether iova to be provided
is a physical address or virtual address ?
Does iova give one single reference to all physical buffers in physical buffer
list to consumer ?
Please give some pointers for understanding of physical memory registrations
apart from IB-specification
-------------------------------------------------------------------------------------------------------------------------------
This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------
More information about the Users
mailing list