Re: [PATCH] enhanced reimplemented of the kfifo API

From: Stefani Seibold
Date: Fri Jan 15 2010 - 16:30:25 EST



> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/