summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/iser/iscsi_iser.h
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@voltaire.com>2010-05-05 17:30:10 +0300
committerRoland Dreier <rolandd@cisco.com>2010-05-12 09:30:43 -0700
commit2110f9bf37511df06220bb7e977f417baecf2950 (patch)
tree070e67a58d176a9be9ac22462fb2b7919890e797 /drivers/infiniband/ulp/iser/iscsi_iser.h
parent0eddb519b9127c73d53db4bf3ec1d45b13f844d1 (diff)
downloadblackbird-op-linux-2110f9bf37511df06220bb7e977f417baecf2950.tar.gz
blackbird-op-linux-2110f9bf37511df06220bb7e977f417baecf2950.zip
IB/iser: Add asynchronous event handler
Add handler to handle events such as port up and down. This is useful when testing high-availability schemes such as multi-pathing. Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
-rw-r--r--drivers/infiniband/ulp/iser/iscsi_iser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h
index 036934cdcb92..53da74b45c75 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.h
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.h
@@ -232,6 +232,7 @@ struct iser_device {
struct ib_cq *tx_cq;
struct ib_mr *mr;
struct tasklet_struct cq_tasklet;
+ struct ib_event_handler event_handler;
struct list_head ig_list; /* entry in ig devices list */
int refcount;
};
OpenPOWER on IntegriCloud