Libiscsi: iSER implementation

This commit includes all iSER implementation in libscsi
library and utilities.

Also, adding iser option in url.

Change-Id: I55ca8a9d4db802e72eb991061260dbb0bd0ef9ba
Signed-off-by: Roy Shterman <roysh@mellanox.com>
This commit is contained in:
Roy Shterman
2016-05-27 18:47:25 +03:00
committed by Ronnie Sahlberg
parent 0a1b96c383
commit a628264ef0
11 changed files with 1718 additions and 6 deletions

View File

@@ -53,7 +53,8 @@ struct scsi_iovec;
"<host>[:<port>]\""
enum iscsi_transport_type {
TCP_TRANSPORT = 0
TCP_TRANSPORT = 0,
ISER_TRANSPORT = 1
};
EXTERN void iscsi_set_cache_allocations(struct iscsi_context *iscsi, int ca);
@@ -150,6 +151,7 @@ struct iscsi_url {
char target_passwd[MAX_STRING_SIZE + 1];
int lun;
struct iscsi_context *iscsi;
enum iscsi_transport_type transport;
};
/*
@@ -270,6 +272,7 @@ EXTERN int iscsi_init_transport(struct iscsi_context *iscsi,
*/
EXTERN int iscsi_set_alias(struct iscsi_context *iscsi, const char *alias);
/*
* Set the iqn name of the taqget to login to.
* The target name must be set before a normal-login can be initiated.