Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2015 20:03:49 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r292618 - projects/cxl_iscsi/sys/dev/iscsi
Message-ID:  <201512222003.tBMK3n7R035878@repo.freebsd.org>

index | next in thread | raw e-mail

Author: np
Date: Tue Dec 22 20:03:49 2015
New Revision: 292618
URL: https://svnweb.freebsd.org/changeset/base/292618

Log:
  Add comment to go with r291228.
  
  Submitted by:	trasz@

Modified:
  projects/cxl_iscsi/sys/dev/iscsi/iscsi.c

Modified: projects/cxl_iscsi/sys/dev/iscsi/iscsi.c
==============================================================================
--- projects/cxl_iscsi/sys/dev/iscsi/iscsi.c	Tue Dec 22 19:41:40 2015	(r292617)
+++ projects/cxl_iscsi/sys/dev/iscsi/iscsi.c	Tue Dec 22 20:03:49 2015	(r292618)
@@ -1371,6 +1371,11 @@ iscsi_ioctl_daemon_handoff(struct iscsi_
 	is->is_statsn = handoff->idh_statsn;
 	is->is_initial_r2t = handoff->idh_initial_r2t;
 	is->is_immediate_data = handoff->idh_immediate_data;
+
+	/*
+	 * Cap MaxRecvDataSegmentLength obtained from the target to the maximum
+	 * size supported by our ICL module.
+	 */
 	is->is_max_data_segment_length = min(ic->ic_max_data_segment_length,
 	    handoff->idh_max_data_segment_length);
 	is->is_max_burst_length = handoff->idh_max_burst_length;


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512222003.tBMK3n7R035878>