diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2011-11-04 00:21:27 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-11-04 09:32:44 -0700 |
commit | 52439540ea30396982b69662dd21aede6b336288 (patch) | |
tree | 2604bc377ec689ce1a23fa45e1a317196bd96a82 /drivers/infiniband/ulp/iser/iscsi_iser.h | |
parent | 2c4ce609347f2a45792c8d9ebb5af11217766cb6 (diff) |
IB/iser: DMA unmap TX bufs used for iSCSI/iSER headers
The current driver never does DMA unmapping on these buffers. Fix that
by adding DMA unmapping to the task cleanup callback, and DMA mapping to
the task init function (drop the headers_initialized micro-optimization).
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h index 2982a14a055..db7ea3704da 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.h +++ b/drivers/infiniband/ulp/iser/iscsi_iser.h @@ -278,7 +278,6 @@ struct iscsi_iser_task { struct iser_regd_buf rdma_regd[ISER_DIRS_NUM];/* regd rdma buf */ struct iser_data_buf data[ISER_DIRS_NUM]; /* orig. data des*/ struct iser_data_buf data_copy[ISER_DIRS_NUM];/* contig. copy */ - int headers_initialized; }; struct iser_page_vec { |