[<prev] [next>] [day] [month] [year] [list]
Message-ID: <c384c5ea0904190909i1b5ec8car615fdc76e302b871@mail.gmail.com>
Date: Sun, 19 Apr 2009 18:09:44 +0200
From: Leon Woestenberg <leon.woestenberg@...il.com>
To: linux-kernel@...r.kernel.org
Subject: splice_read() for device drivers?
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists