lkml.org 
[lkml]   [2010]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] enhanced reimplemented of the kfifo API
From
Date

> 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




\
 
 \ /
  Last update: 2010-01-15 22:33    [W:0.065 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site