The following series of patches implements the FC pass-through support
for FCoE. The first patch is to add an inline function in libfc.h for
copying a data buffer into a scatter-gather list. This is to avoid code
duplication in the SCSI response data handler (fc_fcp_recv_data) and
the response handler of the FC pass-thru support. Therefore, the SCSI
response handler is also changed to use the inline routine. The second
patch is the real work for implementing the FC pass-through.
This series of patches depends on the James Smart's FC pass-through
patch in SCSI mid-layer to exist first.
---
Steve Ma (2):
libfc: Add FC pass-through support
libfc: Add inline routine to copy data from a buffer to a SG list
drivers/scsi/fcoe/fcoe_sw.c | 1
drivers/scsi/libfc/fc_fcp.c | 41 +------
drivers/scsi/libfc/fc_lport.c | 247 +++++++++++++++++++++++++++++++++++++++++
include/scsi/Kbuild | 2
include/scsi/fc/Kbuild | 4 +
include/scsi/libfc.h | 65 +++++++++++
6 files changed, 323 insertions(+), 37 deletions(-)
create mode 100644 include/scsi/fc/Kbuild
--
Signature: Steve Ma <[email protected]>
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel