be2iscsi: Maintain same ITT across login
Subsystems (2)
PATCH 4/12 be2iscsi: Maintain same ITT across login
This patch ensures that the same ITT is maintained across
all login pdu's
Signed-off-by Jayamohan Kallickal <[email protected]>
--- drivers/scsi/be2iscsi/be_iscsi.c | 4 +++ drivers/scsi/be2iscsi/be_main.c | 41 +++++++++++++++++++++++++++++++++---- drivers/scsi/be2iscsi/be_main.h | 1 + 3 files changed, 41 insertions(+), 5 deletions(-)
drivers/scsi/be2iscsi/be_iscsi.c +4 -0
@@ -277,6 +277,10 @@ int beiscsi_set_param(struct iscsi_cls_conn *cls_conn,if (session->max_burst >262144 ) session->max_burst =262144 ;break ; +case ISCSI_PARAM_MAX_XMIT_DLENGTH : +if ((conn->max_xmit_dlength >65536 ) || + (conn->max_xmit_dlength ==0 )) + conn->max_xmit_dlength =65536 ;default :return 0 ; }
drivers/scsi/be2iscsi/be_main.c +36 -5
83 lines not on this page · raw message
drivers/scsi/be2iscsi/be_main.h +1 -0
@@ -359,6 +359,7 @@ struct beiscsi_conn {u32 beiscsi_conn_cid;struct beiscsi_endpoint *ep;unsigned short login_in_progress; +struct wrb_handle *plogin_wrb_handle;struct sgl_handle *plogin_sgl_handle;struct beiscsi_session *beiscsi_sess;struct iscsi_task *task;
Signature · 1 line
1.6.5.2