I/OAT: tcp_dma_copybreak default value dependent on I/OAT version
commit16a37acaaf4aaa631ba3f83710ed6cdb1a597520
authorMaciej Sosnowski <maciej.sosnowski@intel.com>
Wed, 23 Jul 2008 00:30:57 +0000 (22 17:30 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 23 Jul 2008 00:30:57 +0000 (22 17:30 -0700)
tree5826c763c70dc6b798c0d12216a80f4596dec284
parent09177e85d6a0bffac8b55afd28ed8b82bd873f0b
I/OAT: tcp_dma_copybreak default value dependent on I/OAT version

I/OAT DMA performance tuning showed different optimal values of
tcp_dma_copybreak for different I/OAT versions (4096 for 1.2 and 2048
for 2.0).  This patch lets ioatdma driver set tcp_dma_copybreak value
according to these results.

[dan.j.williams@intel.com: remove some ifdefs]
Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat_dma.c
drivers/dma/ioatdma.h
net/core/user_dma.c