+ rapidio-tsi721_dma-optimize-use-of-bdma-descriptors.patch added to -mm tree
Subject: + rapidio-tsi721_dma-optimize-use-of-bdma-descriptors.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Mon, 24 Feb 2014 14:10:38 -0800
The patch titled
Subject: drivers/rapidio/devices/tsi721_dma.c: optimize use of BDMA descriptors
has been added to the -mm tree. Its filename is
rapidio-tsi721_dma-optimize-use-of-bdma-descriptors.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/rapidio-tsi721_dma-optimize-use-of-bdma-descriptors.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/rapidio-tsi721_dma-optimize-use-of-bdma-descriptors.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Alexandre Bounine <[email protected]>
Subject: drivers/rapidio/devices/tsi721_dma.c: optimize use of BDMA descriptors
Combine SG entries describing single contiguous memory block into one Tsi721 BDMA descriptor. This reduces number of hardware descriptors required for large data transfers and improves performance on the PCIe side by reducing number of descriptor fetch requests.
---
drivers/rapidio/devices/tsi721.h | 4 drivers/rapidio/devices/tsi721_dma.c | 111 +++++++++++++++++-------- 2 files changed, 82 insertions(+), 33 deletions(-)
drivers/rapidio/devices/tsi721.h renamed from drivers/rapidio/devices/tsi721.h~rapidio-tsi721_dma-optimize-use-of-bdma-descriptors +4 -0
@@ -644,6 +644,9 @@ enum tsi721_smsg_int_flag { #ifdef CONFIG_RAPIDIO_DMA_ENGINE +#define TSI721_BDMA_BD_RING_SZ 128 +#define TSI721_BDMA_MAX_BCOUNT (TSI721_DMAD_BCOUNT1 + 1) + struct tsi721_tx_desc { struct dma_async_tx_descriptor txd; struct tsi721_dma_desc *hw_desc;
@@ -652,6 +655,7 @@ struct tsi721_tx_desc {u64 rio_addr;/* upper 2-bits of 66-bit RIO address */ u8 rio_addr_u; +u32 bcount;bool interrupt;struct list_head desc_node;struct list_head tx_list;
drivers/rapidio/devices/tsi721_dma.c renamed from drivers/rapidio/devices/tsi721_dma.c~rapidio-tsi721_dma-optimize-use-of-bdma-descriptors +78 -33
175 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
rapidio-tsi721-fix-tasklet-termination-in-dma-channel-release.patch rapidio-tsi721_dma-optimize-use-of-bdma-descriptors.patch