]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Generalize iser_unmap_task_data and finalize_rdma_unaligned_sg
authorSagi Grimberg <sagig@mellanox.com>
Wed, 5 Mar 2014 17:43:44 +0000 (19:43 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 18 Mar 2014 05:33:57 +0000 (22:33 -0700)
commit28fe2ac81e3470ee66b0075909c084088b8abf4d
treedda617e8222363a9f152bf059c08ae49b017af6a
parent6abe87fff47f4fe898cfcfb4f4c7e0f0787f8710
IB/iser: Generalize iser_unmap_task_data and finalize_rdma_unaligned_sg

This routines operates on data buffers and may also work with
protection infomation buffers.  So we generalize them to handle an
iser_data_buf which can be the command data or command protection
information.

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/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_initiator.c
drivers/infiniband/ulp/iser/iser_memory.c