Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-09 Thread Anup Patel
On Thu, Feb 9, 2017 at 10:14 PM, Dan Williams wrote: > On Thu, Feb 9, 2017 at 1:29 AM, Anup Patel wrote: >> On Wed, Feb 8, 2017 at 9:54 PM, Dan Williams >> wrote: >>> On Wed, Feb 8, 2017 at 12:57 AM, Anup Patel wrote: On Tue, Feb 7, 2017 at 11:46 PM, Dan Williams wrote: > On Tu

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-09 Thread Dan Williams
On Thu, Feb 9, 2017 at 1:29 AM, Anup Patel wrote: > On Wed, Feb 8, 2017 at 9:54 PM, Dan Williams wrote: >> On Wed, Feb 8, 2017 at 12:57 AM, Anup Patel wrote: >>> On Tue, Feb 7, 2017 at 11:46 PM, Dan Williams >>> wrote: On Tue, Feb 7, 2017 at 1:02 AM, Anup Patel wrote: > On Tue, Feb 7

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-09 Thread Anup Patel
On Wed, Feb 8, 2017 at 9:54 PM, Dan Williams wrote: > On Wed, Feb 8, 2017 at 12:57 AM, Anup Patel wrote: >> On Tue, Feb 7, 2017 at 11:46 PM, Dan Williams >> wrote: >>> On Tue, Feb 7, 2017 at 1:02 AM, Anup Patel wrote: On Tue, Feb 7, 2017 at 1:57 PM, Dan Williams wrote: > On Tue

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-08 Thread Dan Williams
On Wed, Feb 8, 2017 at 12:57 AM, Anup Patel wrote: > On Tue, Feb 7, 2017 at 11:46 PM, Dan Williams > wrote: >> On Tue, Feb 7, 2017 at 1:02 AM, Anup Patel wrote: >>> On Tue, Feb 7, 2017 at 1:57 PM, Dan Williams >>> wrote: On Tue, Feb 7, 2017 at 12:16 AM, Anup Patel wrote: > The

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-08 Thread Anup Patel
On Tue, Feb 7, 2017 at 11:46 PM, Dan Williams wrote: > On Tue, Feb 7, 2017 at 1:02 AM, Anup Patel wrote: >> On Tue, Feb 7, 2017 at 1:57 PM, Dan Williams >> wrote: >>> On Tue, Feb 7, 2017 at 12:16 AM, Anup Patel wrote: The DMAENGINE framework assumes that if PQ offload is supported by a >>

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-07 Thread Anup Patel
On Tue, Feb 7, 2017 at 10:12 PM, Vinod Koul wrote: > On Tue, Feb 07, 2017 at 02:32:15PM +0530, Anup Patel wrote: >> On Tue, Feb 7, 2017 at 1:57 PM, Dan Williams >> wrote: >> > On Tue, Feb 7, 2017 at 12:16 AM, Anup Patel >> > wrote: >> >> The DMAENGINE framework assumes that if PQ offload is su

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-07 Thread Dan Williams
On Tue, Feb 7, 2017 at 1:02 AM, Anup Patel wrote: > On Tue, Feb 7, 2017 at 1:57 PM, Dan Williams wrote: >> On Tue, Feb 7, 2017 at 12:16 AM, Anup Patel wrote: >>> The DMAENGINE framework assumes that if PQ offload is supported by a >>> DMA device then all 256 PQ coefficients are supported. This a

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-07 Thread Vinod Koul
On Tue, Feb 07, 2017 at 02:32:15PM +0530, Anup Patel wrote: > On Tue, Feb 7, 2017 at 1:57 PM, Dan Williams wrote: > > On Tue, Feb 7, 2017 at 12:16 AM, Anup Patel wrote: > >> The DMAENGINE framework assumes that if PQ offload is supported by a > >> DMA device then all 256 PQ coefficients are suppo

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-07 Thread Anup Patel
On Tue, Feb 7, 2017 at 1:57 PM, Dan Williams wrote: > On Tue, Feb 7, 2017 at 12:16 AM, Anup Patel wrote: >> The DMAENGINE framework assumes that if PQ offload is supported by a >> DMA device then all 256 PQ coefficients are supported. This assumption >> does not hold anymore because we now have B

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-07 Thread Dan Williams
On Tue, Feb 7, 2017 at 12:16 AM, Anup Patel wrote: > The DMAENGINE framework assumes that if PQ offload is supported by a > DMA device then all 256 PQ coefficients are supported. This assumption > does not hold anymore because we now have BCM-SBA-RAID offload engine > which supports PQ offload wit

[PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-07 Thread Anup Patel
The DMAENGINE framework assumes that if PQ offload is supported by a DMA device then all 256 PQ coefficients are supported. This assumption does not hold anymore because we now have BCM-SBA-RAID offload engine which supports PQ offload with limited number of PQ coefficients. This patch extends asy