diff options
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
| -rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 457588e1119b..349c7f30720d 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h | |||
| @@ -126,12 +126,14 @@ struct iscsi_transport { | |||
| 126 | int *index, int *age); | 126 | int *index, int *age); |
| 127 | 127 | ||
| 128 | void (*session_recovery_timedout) (struct iscsi_cls_session *session); | 128 | void (*session_recovery_timedout) (struct iscsi_cls_session *session); |
| 129 | struct iscsi_endpoint *(*ep_connect) (struct sockaddr *dst_addr, | 129 | struct iscsi_endpoint *(*ep_connect) (struct Scsi_Host *shost, |
| 130 | struct sockaddr *dst_addr, | ||
| 130 | int non_blocking); | 131 | int non_blocking); |
| 131 | int (*ep_poll) (struct iscsi_endpoint *ep, int timeout_ms); | 132 | int (*ep_poll) (struct iscsi_endpoint *ep, int timeout_ms); |
| 132 | void (*ep_disconnect) (struct iscsi_endpoint *ep); | 133 | void (*ep_disconnect) (struct iscsi_endpoint *ep); |
| 133 | int (*tgt_dscvr) (struct Scsi_Host *shost, enum iscsi_tgt_dscvr type, | 134 | int (*tgt_dscvr) (struct Scsi_Host *shost, enum iscsi_tgt_dscvr type, |
| 134 | uint32_t enable, struct sockaddr *dst_addr); | 135 | uint32_t enable, struct sockaddr *dst_addr); |
| 136 | int (*set_path) (struct Scsi_Host *shost, struct iscsi_path *params); | ||
| 135 | }; | 137 | }; |
| 136 | 138 | ||
| 137 | /* | 139 | /* |
| @@ -148,6 +150,10 @@ extern void iscsi_conn_error_event(struct iscsi_cls_conn *conn, | |||
| 148 | extern int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, | 150 | extern int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, |
| 149 | char *data, uint32_t data_size); | 151 | char *data, uint32_t data_size); |
| 150 | 152 | ||
| 153 | extern int iscsi_offload_mesg(struct Scsi_Host *shost, | ||
| 154 | struct iscsi_transport *transport, uint32_t type, | ||
| 155 | char *data, uint16_t data_size); | ||
| 156 | |||
| 151 | struct iscsi_cls_conn { | 157 | struct iscsi_cls_conn { |
| 152 | struct list_head conn_list; /* item in connlist */ | 158 | struct list_head conn_list; /* item in connlist */ |
| 153 | void *dd_data; /* LLD private data */ | 159 | void *dd_data; /* LLD private data */ |
