summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@voltaire.com>2009-11-12 11:32:27 -0800
committerRoland Dreier <rolandd@cisco.com>2009-11-12 11:32:27 -0800
commitc1ccaf2478f84c2665cf57f981db143aa582d646 (patch)
tree20a529401839912380e6ca0f67aafff4dba77384 /include
parent91d3f9bacdb4950d2f79fe2ba296aa249f60d06c (diff)
downloadop-kernel-dev-c1ccaf2478f84c2665cf57f981db143aa582d646.zip
op-kernel-dev-c1ccaf2478f84c2665cf57f981db143aa582d646.tar.gz
IB/iser: Rewrite SG handling for RDMA logic
After dma-mapping an SG list provided by the SCSI midlayer, iser has to make sure the mapped SG is "aligned for RDMA" in the sense that its possible to produce one mapping in the HCA IOMMU which represents the whole SG. Next, the mapped SG is formatted for registration with the HCA. This patch re-writes the logic that does the above, to make it clearer and simpler. It also fixes a bug in the being aligned for RDMA checks, where a "start" check wasn't done but rather only "end" check. Signed-off-by: Alexander Nezhinsky <alexandern@voltaire.com> Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud