Re: [PATCH] scatterlist: add sg_alloc_table_by_pages function

2012-04-21 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 18 April 2012 11:44:59 Tomasz Stanislawski wrote: > This patch adds a new constructor for an sg table. The table is constructed > from an array of struct pages. All contiguous chunks of the pages are merged > into a single sg nodes. A user may provide

[PATCH] scatterlist: add sg_alloc_table_by_pages function

2012-04-18 Thread Tomasz Stanislawski
This patch adds a new constructor for an sg table. The table is constructed from an array of struct pages. All contiguous chunks of the pages are merged into a single sg nodes. A user may provide an offset and a size of a buffer if the buffer is not page-aligned. The function is dedicated for DMAB