netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] drivers/dma & I/OAT fixes
@ 2006-10-18 23:44 Chris Leech
  2006-10-18 23:46 ` [PATCH 1/7] I/OAT: Push pending transactions to hardware more frequently Chris Leech
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Chris Leech @ 2006-10-18 23:44 UTC (permalink / raw)
  To: linux-kernel, netdev, akpm, jeff

Various fixes for the hardware memcpy engine code and ioatdma

Most of these I've posted before, except for the patch to handle sysfs
errors from Jeff Garzik.  I've dropped the controversial change to not
offload loopback traffic.

These changes can be pulled from
	git://lost.foo-projects.org/~cleech/linux-2.6 master

--
Chris Leech <christopher.leech@intel.com>
I/O Acceleration Technology Software Development
LAN Access Division / Digital Enterprise Group 

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 1/7] [I/OAT] Push pending transactions to hardware more frequently
@ 2006-08-16  0:53 Chris Leech
  2006-08-18  7:11 ` Pavel Machek
  0 siblings, 1 reply; 11+ messages in thread
From: Chris Leech @ 2006-08-16  0:53 UTC (permalink / raw)
  To: linux-kernel, netdev

Every 20 descriptors turns out to be to few append commands with
newer/faster CPUs.  Pushing every 4 still cuts down on MMIO writes to an
acceptable level without letting the DMA engine run out of work.

Signed-off-by: Chris Leech <christopher.leech@intel.com>
---

 drivers/dma/ioatdma.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dma/ioatdma.c b/drivers/dma/ioatdma.c
index dbd4d6c..be4fdd7 100644
--- a/drivers/dma/ioatdma.c
+++ b/drivers/dma/ioatdma.c
@@ -310,7 +310,7 @@ static dma_cookie_t do_ioat_dma_memcpy(s
 	list_splice_init(&new_chain, ioat_chan->used_desc.prev);
 
 	ioat_chan->pending += desc_count;
-	if (ioat_chan->pending >= 20) {
+	if (ioat_chan->pending >= 4) {
 		append = 1;
 		ioat_chan->pending = 0;
 	}
@@ -818,7 +818,7 @@ static void __devexit ioat_remove(struct
 }
 
 /* MODULE API */
-MODULE_VERSION("1.7");
+MODULE_VERSION("1.9");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Intel Corporation");
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-10-18 23:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18 23:44 [PATCH 0/7] drivers/dma & I/OAT fixes Chris Leech
2006-10-18 23:46 ` [PATCH 1/7] I/OAT: Push pending transactions to hardware more frequently Chris Leech
2006-10-18 23:46 ` [PATCH 2/7] drivers/dma: handle sysfs errors Chris Leech
2006-10-18 23:46 ` [PATCH 3/7] I/OAT: Remove the wrappers around read(bwl)/write(bwl) in ioatdma Chris Leech
2006-10-18 23:46 ` [PATCH 4/7] I/OAT: Remove the use of writeq from the ioatdma driver Chris Leech
2006-10-18 23:46 ` [PATCH 5/7] I/OAT: Add documentation for the tcp_dma_copybreak sysctl Chris Leech
2006-10-18 23:46 ` [PATCH 6/7] I/OAT: Add entries to MAINTAINERS for the DMA memcpy subsystem and ioatdma Chris Leech
2006-10-18 23:47 ` [PATCH 7/7] I/OAT: Only offload copies for TCP when there will be a context switch Chris Leech
  -- strict thread matches above, loose matches on Subject: below --
2006-08-16  0:53 [PATCH 1/7] [I/OAT] Push pending transactions to hardware more frequently Chris Leech
2006-08-18  7:11 ` Pavel Machek
2006-08-18 15:11   ` Chris Leech

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).