Loading...
Searching...
No Matches
spdk_memory_domain_translation_result Struct Reference

Data Fields

size_t size
 size of this structure in bytes
 
uint32_t iov_count
 Number of elements in iov.
 
struct iovec iov
 Translation results, holds single address, length pair.
 
struct iovec * iovs
 Translation results, array of addresses and lengths.
 
struct spdk_memory_domain * dst_domain
 Destination domain passed to translation function.
 
union { 
 
   struct { 
 
      uint32_t   lkey 
 
      uint32_t   rkey 
 
   }   rdma 
 
};  
 

Field Documentation

◆ iov

struct iovec spdk_memory_domain_translation_result::iov

Translation results, holds single address, length pair.

Should only be used if iov_count is 1

◆ iovs

struct iovec* spdk_memory_domain_translation_result::iovs

Translation results, array of addresses and lengths.

Should only be used if iov_count is bigger than 1. The implementer of the translation callback is responsible for allocating and storing of this array until IO request completes


The documentation for this struct was generated from the following file: