diff options
author | Erez Zilber <erezz@voltaire.com> | 2006-09-11 12:26:33 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-22 15:22:52 -0700 |
commit | d81110285f7f6c07a0ce8f99a5ff158a647cd649 (patch) | |
tree | 7ecbae2d81a7464114a7d57e1a7d0230aaa21071 /drivers/infiniband/ulp/iser/iser_initiator.c | |
parent | e981f1d4b8288072ba7cf6b7141cd4aefb404383 (diff) |
IB/iser: Do not use FMR for a single dma entry sg
Fast Memory Registration (fmr) is used to register for rdma an sg whose
elements are not linearly sequential after dma mapping.
The IB verbs layer provides an "all dma memory MR (memory region)" which
can be used for RDMA-ing a dma linearly sequential buffer.
Change the code to use the dma mr instead of doing fmr when dma mapping
produces a single dma entry sg.
Signed-off-by: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iser_initiator.c')
0 files changed, 0 insertions, 0 deletions