On Thu, Oct 7, 2010 at 6:56 PM, Jack Wang <jack_wang@xxxxxxxxx> wrote: > > Hi > I have a target mode iSCSI (and linux 2.6.27) running on a PCIe HBA. > This target mode HBA will completely offload iSCSI > from storage server to itself. Storage server will receive only SCSI > CDB (from this PCIe target HBA) and pass it to attached disk backend. > > Over the PCIe interface only the SCSI command-response/data is exchanged. > > Experts, please clear my doubt about the work/design to make it work- > > I think I should register myself as SCSI Mid Layer LLD and then all > the SCSI command/data received by target-mode-iSCSI-stack will be > available in queuecommand interface of SCSI Mid layer. Is that the > right assumption and the best approach? > [Jack] You should register your HBA to SCST (the one I most familiar and > powerful) > as a target driver. And only if you want the HBA can be initiator and target > at the same time you can register the HBA to SCSI ML as a LLD. >> [iscsilearner] Sure I register with SCST for linux based storage servers. But my original question is about "linux running on this HBA itself". Within this HBA I need to filter out SCSI CDB from the open-source initiator iscsi stacks, is SCSI ML LLD right place to do this ? > > In my case the LLD will then pass that SCSI command/data across the > PCIe to storage server. To be more clear this LLD will be running > ON a PCIe HBA > > The target mode iSCSI stack can be any one of the popular linux iSCSI > target stacks. > > > Thanks much in advance > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html