Re: [PATCH v1 0/2] scatterlist: introduce sg_nents_for_len

2015-06-02 Thread Herbert Xu
On Mon, Jun 01, 2015 at 11:15:19AM -0500, Tom Lendacky wrote: > This series introduces and makes use of a new scatterlist function named > sg_nents_for_len. The purpose of this function is determine the number > of scatterlist entries required to satisify a specified length. The > resulting count c

[PATCH v1 0/2] scatterlist: introduce sg_nents_for_len

2015-06-01 Thread Tom Lendacky
This series introduces and makes use of a new scatterlist function named sg_nents_for_len. The purpose of this function is determine the number of scatterlist entries required to satisify a specified length. The resulting count can be used as input to the dma_map_sg function to map only the entries