mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* splice_read() for device drivers?
@ 2009-04-19 16:09 Leon Woestenberg
  0 siblings, 0 replies; only message in thread
From: Leon Woestenberg @ 2009-04-19 16:09 UTC (permalink / raw)
  To: linux-kernel

Hello,


I have a device driver for data acquisition that currently exposes a
character device. The device driver performs DMA transfers directly
into/from user space on read/write().

If I want the driver to support splicing, must I implement
splice_read/write() ops? Can I make them directly DMA into the splice
pipe buffer pages?

I found no current implementation of splice_read/write(), except for
filesystem drivers.

Is there a write-up on this or a reference implementation? Any work in
progress for LDD4 or such?

Regards,
-- 
Leon

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-19 16:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-19 16:09 splice_read() for device drivers? Leon Woestenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®