IB/iser: Simplify send flow/descriptors
authorOr Gerlitz <ogerlitz@voltaire.com>
Mon, 8 Feb 2010 13:19:56 +0000 (13:19 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 24 Feb 2010 17:41:12 +0000 (09:41 -0800)
commitf19624aa92003969ba822cd3c552800965aa530b
tree0ee572198ce21da332b9fe25fde7bbe8d8a7cb98
parent78ad0a34dc138047529058c5f2265664cb70a052
IB/iser: Simplify send flow/descriptors

Simplify and shrink the logic/code used for the send descriptors.
Changes include removing struct iser_dto (an unnecessary abstraction),
using struct iser_regd_buf only for handling SCSI commands, using
dma_sync instead of dma_map/unmap, etc.

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_initiator.c
drivers/infiniband/ulp/iser/iser_memory.c
drivers/infiniband/ulp/iser/iser_verbs.c