commit | ad1e5672429eadd5a7f9613bf2e59546a2eeef13 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagig@mellanox.com> | Tue Apr 14 18:08:26 2015 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Wed Apr 15 16:07:13 2015 -0400 |
tree | cf83172af5bb1b2cecfb3178c8f1657a09ed6cdb | |
parent | 6ef8bb837dd7e60f078084d4842a43fd163fb4a2 [diff] |
IB/iser: Remove code duplication for a single DMA entry In singleton scatterlists, DMA memory registration code is taken both for Fastreg and FMR code paths. Move it to a function. This patch does not change any functionality. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Adir Lev <adirl@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>