Messages in this thread | | | Subject | Re: [PATCH] enhanced reimplemented of the kfifo API | From | Stefani Seibold <> | Date | Fri, 15 Jan 2010 22:30:01 +0100 |
| |
> 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
| |