All of lore.kernel.org
 help / color / mirror / Atom feed
* physical memory registration
@ 2013-09-13  9:05 Eva Mishra
  0 siblings, 0 replies; only message in thread
From: Eva Mishra @ 2013-09-13  9:05 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

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
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-13  9:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-13  9:05 physical memory registration Eva Mishra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.