[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>
This commit is contained in:

committed by
James Bottomley

parent
5868287460
commit
a51ab39606
@@ -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>
|
||||
@@ -830,6 +831,12 @@ struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id);
|
||||
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
|
||||
*****************************/
|
||||
|
Reference in New Issue
Block a user