I've just been looking at some of the relevant Solaris iscsi target code: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/iscsi/iscsitgtd/iscsi_login.c#132
In Line #132 Function "iscsi_handle_login_pkt()" In Line #199 calls "connection_parameters_default()" In Line #268 calls "parse_text()" for Security Negotiation In Line #532 calls "parse_text()" for operational negotiation Functions "connection_parameters_default()" and "parse_text()" are here: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/iscsi/iscsitgtd/util.c#651 Function "parse_text()" which parse the key/value pairs from the Initiator. Function "connection_parameters_default()" is the one where Rick say it needs a couple of extra lines: c->c_max_burst_len = 8192; c->c_data_pdu_in_order = True; Here I've tabulated what seem to be the relevant parameters: The first column is the section in rfc3720 - http://www.ietf.org/rfc/rfc3720.txt The second column is the parameter name. The third column is the variable name in the Solaris iscsi target. And the forth column is the default value advised in rfc3720. 12.12, "MaxRecvDataSegmentLength", c_max_recv_data, 8192 bytes 12.13, "MaxBurstLength", c_max_burst_len, 262144 (256 Kbytes) 12.14, "FirstBurstLength", c_first_burst_len, 65536 (64 Kbytes) 12.18, "DataPDUInOrder", c_data_pdu_in_order,"Yes" You can download source code from here: http://dlc.sun.com/osol/on/downloads/current/ Unfortunately, I don't know how to go about compiling the target source code to experiment with these values. Can anyone advise how to do this? Regards Nigel Smith This message posted from opensolaris.org _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
