iscsi_tcp.c (1669b049db50fc7f1d4e694fb115a0f408c63fce) iscsi_tcp.c (b8b9e1b8128d8854cf55740f9ceba3010143520d)
1/*
2 * iSCSI Initiator over TCP/IP Data-Path
3 *
4 * Copyright (C) 2004 Dmitry Yusupov
5 * Copyright (C) 2004 Alex Aizman
6 * Copyright (C) 2005 - 2006 Mike Christie
7 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
8 * maintained by open-iscsi@googlegroups.com

--- 797 unchanged lines hidden (view full) ---

806 shost->max_id = 0;
807 shost->max_channel = 0;
808 shost->max_cmd_len = SCSI_MAX_VARLEN_CDB_SIZE;
809
810 if (iscsi_host_add(shost, NULL))
811 goto free_host;
812
813 cls_session = iscsi_session_setup(&iscsi_sw_tcp_transport, shost,
1/*
2 * iSCSI Initiator over TCP/IP Data-Path
3 *
4 * Copyright (C) 2004 Dmitry Yusupov
5 * Copyright (C) 2004 Alex Aizman
6 * Copyright (C) 2005 - 2006 Mike Christie
7 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
8 * maintained by open-iscsi@googlegroups.com

--- 797 unchanged lines hidden (view full) ---

806 shost->max_id = 0;
807 shost->max_channel = 0;
808 shost->max_cmd_len = SCSI_MAX_VARLEN_CDB_SIZE;
809
810 if (iscsi_host_add(shost, NULL))
811 goto free_host;
812
813 cls_session = iscsi_session_setup(&iscsi_sw_tcp_transport, shost,
814 cmds_max,
814 cmds_max, 0,
815 sizeof(struct iscsi_tcp_task) +
816 sizeof(struct iscsi_sw_tcp_hdrbuf),
817 initial_cmdsn, 0);
818 if (!cls_session)
819 goto remove_host;
820 session = cls_session->dd_data;
821
822 shost->can_queue = session->scsi_cmds_max;

--- 142 unchanged lines hidden ---
815 sizeof(struct iscsi_tcp_task) +
816 sizeof(struct iscsi_sw_tcp_hdrbuf),
817 initial_cmdsn, 0);
818 if (!cls_session)
819 goto remove_host;
820 session = cls_session->dd_data;
821
822 shost->can_queue = session->scsi_cmds_max;

--- 142 unchanged lines hidden ---