]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Handle unaligned SG in separate function
authorSagi Grimberg <sagig@mellanox.com>
Sun, 28 Jul 2013 09:35:40 +0000 (12:35 +0300)
committerRoland Dreier <roland@purestorage.com>
Sat, 10 Aug 2013 00:18:09 +0000 (17:18 -0700)
commit07ab332231ba282c3e52fc19078626b12ea15af3
tree32fa75e96876e2bfd28d71f38760b8c9597948fb
parent2ed307fecc784ea66a322a76c40ad699f667adcd
IB/iser: Handle unaligned SG in separate function

This routine will be shared with other rdma management schemes.  The
bounce buffer solution for unaligned SG-lists and the sg_to_page_vec
routine are likely to be used for other registration schemes and not
just FMR.

Move them out of the FMR specific code, and call them from there.
Later they will be called also from other reg methods code.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iser_memory.c