]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/iser: Have iSER data transaction object point to iSER conn
authorErez Zilber <erezz@voltaire.com>
Wed, 27 Sep 2006 12:27:10 +0000 (15:27 +0300)
committerRoland Dreier <rolandd@cisco.com>
Thu, 28 Sep 2006 17:53:16 +0000 (10:53 -0700)
commit87e8df7a273c7c1acb864c90b5253609c44375a6
treee1de2523387f416a67570122c2632ca3be80aafd
parentee30cb5b0b65392843cc3beaba48160ee4a3764e
IB/iser: Have iSER data transaction object point to iSER conn

iSER uses a data transaction object (struct iser_dto) as part
of its IB data descriptors (struct iser_desc) management.
It also uses a hierarchy of connection structures pointing to
each other. A DTO may exist even after the iscsi_iser connection
pointed by it is destroyed (eg one that is bound to a post
receive buffer which was flushed by the IB HW). Hence DTOs need
point to the lowest connection, which is struct iser_conn.

Signed-off-by: Erez Zilber <erezz@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_verbs.c