]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Generalize fall_to_bounce_buf routine
authorSagi Grimberg <sagig@mellanox.com>
Wed, 5 Mar 2014 17:43:45 +0000 (19:43 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 18 Mar 2014 05:33:57 +0000 (22:33 -0700)
commit7f02513716476782fd9c7f9445e5673c47445db5
treee42327a90075dd51ae9d5932524186c93a014d52
parent28fe2ac81e3470ee66b0075909c084088b8abf4d
IB/iser: Generalize fall_to_bounce_buf routine

Unaligned SG-lists may also happen for protection information.
Generalize bounce buffer routine to handle any iser_data_buf which may
be data and/or protection.

This patch does not change any functionality.

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