summaryrefslogtreecommitdiff
path: root/usr/be2iscsi.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix build warnings for unused variablesAndy Grover2014-11-111-1/+0
| | | | Signed-off-by: Andy Grover <agrover@redhat.com>
* be2iscsi: Fix MaxXmitDataLenght of the driver.John Soni Jose2014-03-291-4/+0
| | | | | | | | | | | | | | | | | Issue : During login negotiation if the MaxRecvDataSegmenLen given by the target is 0, then MRDSL default value of 8K should be considered. Some old targets close the CXN if the PDU received size is greater than the MaxRecvDataSegmentLen set during negotiation. Fix : When target is not sending MaxRecvDataSegmentLen in the negotiated params the value is 0. be2iscsi was setting max_xmit_dlength to 64k in this case. This fix sets the MaxRecvDataSegmentLen=8k if during negotiation the MaxRecvDataSegmentLen=0 Signed-off-by: John Soni Jose <sony.john-n@emulex.com> Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
* iscsi tools: be2iscsi: fix initial_r2t_en handlingMike Christie2010-04-231-5/+6
| | | | | be2iscsi hw/fw only supports initial_r2t_en = 1, so set this in be2iscsi.c.
* be2iscsi iscsi tool: fix MaxXmitDataSegmentLength handlingMike Christie2010-04-161-0/+7
| | | | | | If the user has not set MaxXmitDataSegmentLength and the target sends a value we do not want to set the value larger than what the driver can support.
* iscsi tools: add MaxXmitDataSegmentLength paramMike Christie2010-03-221-0/+3
| | | | | | | | | | | | This adds a MaxXmitDataSegmentLength param to iscsid.conf. It will limit the size of the pdu we send to the target. If you set it to 0, then we use the old behavior where we just use whatever the target requested. If you set it to a valid value then we use the min of the set value and what the target requested. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
* iscsid be2iscsi: add more driver limitsMike Christie2009-09-031-1/+8
| | | | This adds some more driver/hw limits for be2iscsi.
* iscsid: add be2iscsi templateMike Christie2009-08-301-0/+24
This patch adds a be2iscsi template. be2iscsi needs FirstBurstLength to be 8K or less so this adds a create_conn callout so it can force negotiation for this value.