As there's been some discussion on the linux-scsi alias
about making FC a "bus" that upper-level drivers can use,
I thought I'd send out what I've been working on, as an
RFC in order to collect comments on the concept.
It may not be complete in that other hooks may be needed for
a full target implementation, but it is a start.
The first patch just rearranges code in the PRLI handling.
The second patch is the bulk of the FC-4 hooks.
The last patch adds a place in the lport for FC-4 providers
to hang their private data.
I should probably rename FC-4 providers to FC-4 drivers or
upper-level drivers. Any suggestions?
I'm very interested in getting feedback.
---
Joe Eykholt (3):
libfc: add local port hook for provider session lookup
libfc: add hook for FC-4 provider registration
libfc: recode incoming PRLI handling
drivers/scsi/libfc/fc_libfc.h | 7 +
drivers/scsi/libfc/fc_lport.c | 70 +++++++--
drivers/scsi/libfc/fc_rport.c | 331 +++++++++++++++++++++++++++--------------
include/scsi/libfc.h | 28 +++
4 files changed, 311 insertions(+), 125 deletions(-)
--
Thanks,
Joe
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel