aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2010-07-20 18:21:07 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 10:06:01 -0400
commit239e81048b7dcd27448db40c845f88ac7c68424e (patch)
treec6d316b365e593a274511fca9562c87db2252a7e /include/scsi
parent24f089e2f2c800f88039e9d536d558ec6e349fad (diff)
[SCSI] libfc: add interface to allocate a sequence for incoming requests
For incoming ELS and FCP requests, we often don't require an exchange and sequence, however, sometimes we do. For those cases, (primarily FCP requests for targets) add a function to set up the exchange and sequence. Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libfc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index a6414ec63809..605f1d7861a7 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -556,6 +556,13 @@ struct libfc_function_template {
556 struct fc_seq *(*seq_start_next)(struct fc_seq *); 556 struct fc_seq *(*seq_start_next)(struct fc_seq *);
557 557
558 /* 558 /*
559 * Assign a sequence for an incoming request frame.
560 *
561 * STATUS: OPTIONAL
562 */
563 struct fc_seq *(*seq_assign)(struct fc_lport *, struct fc_frame *);
564
565 /*
559 * Reset an exchange manager, completing all sequences and exchanges. 566 * Reset an exchange manager, completing all sequences and exchanges.
560 * If s_id is non-zero, reset only exchanges originating from that FID. 567 * If s_id is non-zero, reset only exchanges originating from that FID.
561 * If d_id is non-zero, reset only exchanges sending to that FID. 568 * If d_id is non-zero, reset only exchanges sending to that FID.