All of lore.kernel.org
 help / color / mirror / Atom feed
* Bidirectional data transfers from SCSI layer
@ 2009-08-18  6:22 Madhavi Manchala
  2009-08-18  8:04 ` Boaz Harrosh
  0 siblings, 1 reply; 8+ messages in thread
From: Madhavi Manchala @ 2009-08-18  6:22 UTC (permalink / raw)
  To: linux-scsi

Dear All,

I have seen that SCSI supports bi-directional commands
DMA_BIDIRECTIONAL. However, I did not get such type of commands in my
mass storage driver. My device supports bi-directional data transfers.
My question is, how can I get such type of requests to my mass storage
driver? If so, how can I handle the IN and OUT buffers? Are there
separate buffers for both? Is there any support for the bi-directional
in the current SCSI implementation? I am currently using the 2.6.28
kernel code.

We have only one pointer for data buffer instead of two, one for data
OUT and one for data IN in command block. There is only one length
variable. How can we use the OUT and IN buffers? How can I pass
different IN length and OUT length to lower stack from SCSI layer?

Is there any thing need to be changed in the SCSI layer code to handle
the bi-directional data transfers?

Please point to me some links which shows the bi-directional data transfers.

Thanks in advance.

With Regards,
Madhavi M.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-08-19  8:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-18  6:22 Bidirectional data transfers from SCSI layer Madhavi Manchala
2009-08-18  8:04 ` Boaz Harrosh
2009-08-18  9:03   ` Madhavi Manchala
2009-08-18 10:00     ` Boaz Harrosh
2009-08-18 10:35       ` Madhavi Manchala
2009-08-18 11:46         ` Boaz Harrosh
2009-08-18 13:42           ` Madhavi Manchala
2009-08-19  8:22             ` Boaz Harrosh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.