summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/iscsi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h
index 7c2e4b18a..03fc0641e 100644
--- a/src/include/gpxe/iscsi.h
+++ b/src/include/gpxe/iscsi.h
@@ -589,6 +589,11 @@ struct iscsi_session {
* Set to NULL when command is complete.
*/
struct scsi_command *command;
+ /** SCSI command return code
+ *
+ * Set to -EINPROGRESS while command is processing.
+ */
+ int rc;
/** Instant return code
*
* Set to a non-zero value if all requests should return