aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iscsi/iscsi_ioctl.h
Commit message (Collapse)AuthorAgeFilesLines
* Drop "All rights reserved" from all my stuff. This includesEdward Tomasz Napierala2020-10-281-1/+0
| | | | | | | | | | | | Foundation copyrights, approved by emaste@. It does not include files which carry other people's copyrights; if you're one of those people, feel free to make similar change. Reviewed by: emaste, imp, gbe (manpages) Differential Revision: https://reviews.freebsd.org/D26980 Notes: svn path=/head/; revision=367105
* Add network QoS support for PCP to iscsi initiator.Richard Scheffenegger2020-10-241-1/+2
| | | | | | | | | | | | | | Make the Ethernet PCP codepoint configurable for L2 local traffic, to allow lower latency for iSCSI block IO. This addresses the initiator side only. Reviewed by: mav, trasz, bcr Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D26739 Notes: svn path=/head/; revision=367023
* Negotiate iSCSIProtocolLevel of 2 (RFC 7144) in initiator.Alexander Motin2020-10-221-1/+2
| | | | | | | | | | | It does not change anything immediately, but allows further support of Command Priority, Status Qualifier and new task management functions. MFC after: 1 month Sponsored by: iXsystems, Inc. Notes: svn path=/head/; revision=366953
* Add DSCP support for network QoS to iscsi initiator.Richard Scheffenegger2020-10-091-1/+2
| | | | | | | | | | | | | | | Allow the DSCP codepoint also to be configurable for the traffic in the direction from the initiator to the target, such that writes and any requests are also treated in the appropriate QoS class. Reviewed by: mav MFC after: 2 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D26714 Notes: svn path=/head/; revision=366573
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326255
* Make the iSCSI parameter negotiation more flexible.Navdeep Parhar2016-08-251-8/+14
| | | | | | | | | | | | | | | | | | | | | | Decouple the send and receive limits on the amount of data in a single iSCSI PDU. MaxRecvDataSegmentLength is declarative, not negotiated, and is direction-specific so there is no reason for both ends to limit themselves to the same min(initiator, target) value in both directions. Allow iSCSI drivers to report their send, receive, first burst, and max burst limits explicitly instead of using hardcoded values or trying to derive all of them from the receive limit (which was the only limit reported by the drivers prior to this change). Display the send and receive limits separately in the userspace iSCSI utilities. Reviewed by: jpaetzel@ (earlier version), trasz@ Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D7279 Notes: svn path=/head/; revision=304787
* Consistently use 'unsigned int' for session IDs.Edward Tomasz Napierala2016-06-091-3/+3
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=301726
* Add some spares to structs used by iscsi(4), to avoid ABI problemsEdward Tomasz Napierala2016-06-091-6/+8
| | | | | | | | | during 11-STABLE. MFC after: 1 month Notes: svn path=/head/; revision=301723
* Report negotiated MaxBurstLength and FirstBurstLength in "iscsictl -v"Edward Tomasz Napierala2016-06-051-1/+2
| | | | | | | | | and "ctladm islist -v" outputs. MFC after: 1 month Notes: svn path=/head/; revision=301437
* Add "iscsictl -e". Among other things, it makes it possible to performEdward Tomasz Napierala2016-05-311-1/+2
| | | | | | | | | | | | | | discovery without attaching to the targets ("iscsictl -Ad ... -e off"), and then attach to selected ones ("iscsictl -Mi ... -e on"). PR: 204129 MFC after: 1 month Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6633 Notes: svn path=/head/; revision=301033
* Make it possible to set (via iscsi.conf(5)) and query (via iscsictl -v)Edward Tomasz Napierala2015-02-051-7/+17
| | | | | | | | | | | | initiator iSCSI offload. Pass maximum data segment size supported by chosen offload module to iscsid(8), and make iscsid(8) not try to negotiate anything larger than that. MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=278232
* Make iSCSI initiator keep Initiator Session ID (ISID) across reconnects.Alexander Motin2014-07-061-5/+5
| | | | | | | | | | | | Previously ISID was changed every time, that made impossible correct persistent reservation, because reconnected session was identified as completely new one. Reviewed by: trasz MFC after: 1 week Notes: svn path=/head/; revision=268326
* Implement redirection handling in initiator.Edward Tomasz Napierala2014-06-181-0/+7
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=267613
* Make it possible for the initiator side to operate in both proxyEdward Tomasz Napierala2014-04-161-5/+5
| | | | | | | | | | | and normal mode; this makes it possible to compile with the former by default, but use it only when neccessary. That's especially important for the userland part. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264549
* Get rid of ISCSIDCLOSE; it wasn't used and is redundant anyway,Edward Tomasz Napierala2014-04-161-6/+0
| | | | | | | | | because of ISCSIDFAIL. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264536
* Add some spare fields to structs used by the new iSCSI stack - some justEdward Tomasz Napierala2013-09-201-0/+14
| | | | | | | | | | | | in case, some for future MC/S support. This requires kernel and world rebuild. Approved by: re (blanket) Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=255739
* Fix several problems in the new iSCSI stack; this includes interoperabilityEdward Tomasz Napierala2013-09-181-1/+1
| | | | | | | | | | | | | | | | fix for LIO (Linux target), removing possibility for the target to avoid mutual CHAP by choosing to skip authentication altogether, and fixing truncated error messages in iscsictl(8) output. This also fixes several of the problems found with Coverity. Note that this change requires world rebuild. Coverity CID: 1088038, 1087998, 1087990, 1088004, 1088044, 1088041, 1088040 Approved by: re (blanket) Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=255678
* Bring in the new iSCSI target and initiator.Edward Tomasz Napierala2013-09-141-0/+201
Reviewed by: ken (parts) Approved by: re (delphij) Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=255570