summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_transport_iscsi.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2011-07-25 13:48:37 -0500
committerJames Bottomley <JBottomley@Parallels.com>2011-08-27 08:35:56 -0600
commit56c155b5ca427c9a6312bb0e31865f1c8ab10b2b (patch)
tree8734678dc7d24d30cc0e66f551ce03fe50c51bf4 /include/scsi/scsi_transport_iscsi.h
parent5d7c20b7fa5c6ca19e871b4050e321c99d32bd43 (diff)
downloadop-kernel-dev-56c155b5ca427c9a6312bb0e31865f1c8ab10b2b.zip
op-kernel-dev-56c155b5ca427c9a6312bb0e31865f1c8ab10b2b.tar.gz
[SCSI] iscsi_transport: add support for net settings
Allows user space (iscsiadm) to send down network configuration parameters for LLD to set private network configuration on the iSCSI adapters. Based on patch from Lalit Chandivade. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
-rw-r--r--include/scsi/scsi_transport_iscsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h
index bf8f529..9fcce7c 100644
--- a/include/scsi/scsi_transport_iscsi.h
+++ b/include/scsi/scsi_transport_iscsi.h
@@ -137,6 +137,7 @@ struct iscsi_transport {
int (*tgt_dscvr) (struct Scsi_Host *shost, enum iscsi_tgt_dscvr type,
uint32_t enable, struct sockaddr *dst_addr);
int (*set_path) (struct Scsi_Host *shost, struct iscsi_path *params);
+ int (*set_iface_param) (struct Scsi_Host *shost, char *data, int count);
};
/*
OpenPOWER on IntegriCloud