Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1243511
| From | Vinod Koul <vinod.koul@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] dmaengine: xgene-dma: Disable memcpy operation due to performance drop |
| Date | 2015-10-09 18:20 +0200 |
| Message-ID | <qhIyK-7ea-19@gated-at.bofh.it> (permalink) |
| References | <qhfn3-7oy-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Oct 08, 2015 at 02:36:57PM +0530, Rameshwar Prasad Sahu wrote: > The DMA engine supports memory copy, RAID5 XOR, RAID6 PQ, and other > computations. But the bandwidth of the entire DMA engine is shared > among all channels. This patch re-configures operations availability > such that one can achieve maximum performance for XOR and PQ > computation by removing the memory offload operations. > > Signed-off-by: Rameshwar Prasad Sahu <rsahu@apm.com> > --- > drivers/dma/xgene-dma.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/dma/xgene-dma.c b/drivers/dma/xgene-dma.c > index 8d57b1b..cd38022 100644 > --- a/drivers/dma/xgene-dma.c > +++ b/drivers/dma/xgene-dma.c > @@ -1707,7 +1707,6 @@ static void xgene_dma_set_caps(struct xgene_dma_chan *chan, > dma_cap_zero(dma_dev->cap_mask); > > /* Set DMA device capability */ > - dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); > dma_cap_set(DMA_SG, dma_dev->cap_mask); This will not work. Still clients can invoke memcpy operation. You need to remove the callback -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] dmaengine: xgene-dma: Disable memcpy operation due to performance drop Rameshwar Prasad Sahu <rsahu@apm.com> - 2015-10-08 11:10 +0200
Re: [PATCH v2] dmaengine: xgene-dma: Disable memcpy operation due to performance drop Vinod Koul <vinod.koul@intel.com> - 2015-10-09 18:20 +0200
Re: [PATCH v2] dmaengine: xgene-dma: Disable memcpy operation due to performance drop Rameshwar Sahu <rsahu@apm.com> - 2015-10-09 18:40 +0200
Re: [PATCH v2] dmaengine: xgene-dma: Disable memcpy operation due to performance drop Vinod Koul <vinod.koul@intel.com> - 2015-10-12 16:30 +0200
Re: [PATCH v2] dmaengine: xgene-dma: Disable memcpy operation due to performance drop Rameshwar Sahu <rsahu@apm.com> - 2015-10-14 12:30 +0200
csiph-web