summaryrefslogtreecommitdiff
path: root/include/scsi/libfc.h
diff options
context:
space:
mode:
authorSteve Ma <steve.ma@intel.com>2009-11-03 22:47:34 +0300
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 21:01:06 +0300
commita51ab39606042e76a483547620699530caa12c40 (patch)
treed67261f7a13b7c9ad1d9d69d4aeefe899eef0066 /include/scsi/libfc.h
parent5868287460b0fc243e828a0b856cd53d8bf45739 (diff)
downloadlinux-a51ab39606042e76a483547620699530caa12c40.tar.xz
[SCSI] libfc, fcoe: Add FC passthrough support
This is the Open-FCoE implementation of the FC passthrough support via bsg interface. Passthrough support is added to both N_Ports and VN_Ports. Signed-off-by: Steve Ma <steve.ma@intel.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/libfc.h')
-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 8258edfa328c..54df9fe00c14 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -26,6 +26,7 @@
#include <scsi/scsi_transport.h>
#include <scsi/scsi_transport_fc.h>
+#include <scsi/scsi_bsg_fc.h>
#include <scsi/fc/fc_fcp.h>
#include <scsi/fc/fc_ns.h>
@@ -831,6 +832,12 @@ void fc_vport_setlink(struct fc_lport *vn_port);
void fc_vports_linkchange(struct fc_lport *n_port);
/*
+ * Issue fc pass-thru request via bsg interface
+ */
+int fc_lport_bsg_request(struct fc_bsg_job *job);
+
+
+/*
* REMOTE PORT LAYER
*****************************/
int fc_rport_init(struct fc_lport *lp);