mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Leon Woestenberg <leon.woestenberg@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: splice_read() for device drivers?
Date: Sun, 19 Apr 2009 18:09:44 +0200	[thread overview]
Message-ID: <c384c5ea0904190909i1b5ec8car615fdc76e302b871@mail.gmail.com> (raw)

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

                 reply	other threads:[~2009-04-19 16:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c384c5ea0904190909i1b5ec8car615fdc76e302b871@mail.gmail.com \
    --to=leon.woestenberg@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®