Re: [PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-04-20 Thread Herbert Xu
On Wed, Apr 20, 2016 at 03:34:47PM +0800, Baolin Wang wrote: > It seems there are no more comments about this patchset? We really > want to these APIs to coalesce scatterlists to improve the crypto > engine efficiency. Thanks. Your patch-set makes no sense. If the data can be coalesced then it

Re: [PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-04-20 Thread Herbert Xu
On Wed, Apr 20, 2016 at 03:34:47PM +0800, Baolin Wang wrote: > It seems there are no more comments about this patchset? We really > want to these APIs to coalesce scatterlists to improve the crypto > engine efficiency. Thanks. Your patch-set makes no sense. If the data can be coalesced then it

Re: [PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-04-20 Thread Baolin Wang
Hi Robert, On 5 April 2016 at 15:10, Baolin Wang wrote: > Hi Robert, > > Sorry for the late reply. > > On 2 April 2016 at 23:00, Robert Jarzmik wrote: >> Baolin Wang writes: >> >>> +/** >>> + * sg_is_contiguous - Check if

Re: [PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-04-20 Thread Baolin Wang
Hi Robert, On 5 April 2016 at 15:10, Baolin Wang wrote: > Hi Robert, > > Sorry for the late reply. > > On 2 April 2016 at 23:00, Robert Jarzmik wrote: >> Baolin Wang writes: >> >>> +/** >>> + * sg_is_contiguous - Check if the scatterlists are contiguous >>> + * @sga: SG entry >>> + * @sgb: SG

Re: [PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-04-05 Thread Baolin Wang
Hi Robert, Sorry for the late reply. On 2 April 2016 at 23:00, Robert Jarzmik wrote: > Baolin Wang writes: > >> +/** >> + * sg_is_contiguous - Check if the scatterlists are contiguous >> + * @sga: SG entry >> + * @sgb: SG entry >> + * >> + *

Re: [PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-04-05 Thread Baolin Wang
Hi Robert, Sorry for the late reply. On 2 April 2016 at 23:00, Robert Jarzmik wrote: > Baolin Wang writes: > >> +/** >> + * sg_is_contiguous - Check if the scatterlists are contiguous >> + * @sga: SG entry >> + * @sgb: SG entry >> + * >> + * Description: >> + * If the sga scatterlist is

Re: [PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-04-02 Thread Robert Jarzmik
Baolin Wang writes: > +/** > + * sg_is_contiguous - Check if the scatterlists are contiguous > + * @sga: SG entry > + * @sgb: SG entry > + * > + * Description: > + * If the sga scatterlist is contiguous with the sgb scatterlist, > + * that means they can be merged

Re: [PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-04-02 Thread Robert Jarzmik
Baolin Wang writes: > +/** > + * sg_is_contiguous - Check if the scatterlists are contiguous > + * @sga: SG entry > + * @sgb: SG entry > + * > + * Description: > + * If the sga scatterlist is contiguous with the sgb scatterlist, > + * that means they can be merged together. > + * > + **/ >

[PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-03-15 Thread Baolin Wang
In crypto engine framework, one request can combine (copy) other requests' scatterlists into its dynamic sg table to manage them together as a bulk block , which can improve engine efficency with handling bulk block. Thus we need some helper functions to manage dynamic scattertables. This patch

[PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-03-15 Thread Baolin Wang
In crypto engine framework, one request can combine (copy) other requests' scatterlists into its dynamic sg table to manage them together as a bulk block , which can improve engine efficency with handling bulk block. Thus we need some helper functions to manage dynamic scattertables. This patch