G S wrote:
Howdy, The Linux "sg" (SCSI pass-through) can be used to send arbitrary SCSI commands to SCSI target devices. But "sg" doesn't give me access to the transport layer details, such as constructing my own FCP_CMND and receiving FCP_RSP IU's. Is there FC pass-thru in Linux (2.6) SCSI stack, that allows me to construct my own transport frames and payloads?
There's /dev/bsg* that gives lets you send ELS and CT frames, but not just any FC frames. You need to configure it under the "Block layer" kconfig menu. And perhaps not all HBAs support it. See source block/bsg.c for details.
If not, is there vendor (eg. QLogic and Emulex) provided IOCTL module that allows application to interface directly to the HBA driver for doing FC pass-through?
I don't know that. Joe -- 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