summaryrefslogtreecommitdiff
path: root/drivers/scsi/be2iscsi/be_main.h
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohank@serverengines.com>2009-09-22 06:51:22 +0400
committerJames Bottomley <James.Bottomley@suse.de>2009-10-02 23:01:39 +0400
commitb8b9e1b8128d8854cf55740f9ceba3010143520d (patch)
treeb4043ea1ac0d8bd8602628fcb48ffac7ffe8bdbf /drivers/scsi/be2iscsi/be_main.h
parent6733b39a1301b0b020bbcbf3295852e93e624cb1 (diff)
downloadlinux-b8b9e1b8128d8854cf55740f9ceba3010143520d.tar.xz
[SCSI] libiscsi: iscsi_session_setup to allow for private space
This patch contains changes that allow iscsi_session_setup to allocate private space for LLD's Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Acked-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.h')
-rw-r--r--drivers/scsi/be2iscsi/be_main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h
index 2520c39c594d..387e363b0ec7 100644
--- a/drivers/scsi/be2iscsi/be_main.h
+++ b/drivers/scsi/be2iscsi/be_main.h
@@ -327,6 +327,10 @@ struct beiscsi_hba {
struct be_ctrl_info ctrl;
};
+struct beiscsi_session {
+ struct pci_pool *bhs_pool;
+};
+
/**
* struct beiscsi_conn - iscsi connection structure
*/
@@ -338,6 +342,7 @@ struct beiscsi_conn {
struct beiscsi_endpoint *ep;
unsigned short login_in_progress;
struct sgl_handle *plogin_sgl_handle;
+ struct beiscsi_session *beiscsi_sess;
};
/* This structure is used by the chip */