[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1263591001.7531.1.camel@wall-e>
Date: Fri, 15 Jan 2010 22:30:01 +0100
From: Stefani Seibold <stefani@...bold.net>
To: "Ira W. Snyder" <iws@...o.caltech.edu>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
Greg Kroah-Hartman <gregkh@...e.de>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Theodore Tso <tytso@....edu>
Subject: Re: [PATCH] enhanced reimplemented of the kfifo API
> I'm glad to see this example, it really illustrates how to use the new
> DMA functionality of the kfifo API.
>
> Is there any reason why a very large scatterlist could not be used? I
> have a driver that uses a large scatterlist (~4000 entries, allocated as
> a struct sg_table). I implemented my own copy_from_user() functionality
> into this scatterlist, but I'd love to use the kfifo DMA API instead.
> After filling the scatterlist, I use the usual DMA API's to transfer it
> to my device.
>
No, but the API will only return max. two entries.
Stefani
--
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