]> git.karo-electronics.de Git - linux-beck.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)
commit9a8b08fad2efb3b6c8c5375dbaac5f4e1d19f206
treedda617e8222363a9f152bf059c08ae49b017af6a
parent73bc06b7edd8ce4ccbce7ffd28978ce16b97e5d8
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