search for: srp_can_queue

Displaying 1 result from an estimated 1 matches for "srp_can_queue".

2006 Aug 02
2
[PATCH 1/6] scsifront/back drivers'' common Makefile and header
...3e xen/include/public/io/scsi.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xen/include/public/io/scsi.h Wed Aug 02 15:14:15 2006 +0900 @@ -0,0 +1,41 @@ +#ifndef __XEN__PUBLIC_IO_SCSI_H__ +#define __XEN__PUBLIC_IO_SCSI_H__ + +#include "ring.h" + +#define SRP_MAX_IU_LEN 256 +#define SRP_CAN_QUEUE 8 + +struct scsi_request { + char buf[SRP_MAX_IU_LEN]; +}; + +struct scsi_response { + char buf[sizeof(struct srp_rsp)]; +}; + +DEFINE_RING_TYPES(scsi, struct scsi_request, struct scsi_response); + +#define SRP_MAX_INDIRECT ((SRP_MAX_IU_LEN - \ + sizeof (struct srp_cmd) - \ + sizeof (s...