]> git.baikalelectronics.ru Git - kernel.git/commit
I/OAT: Only offload copies for TCP when there will be a context switch
authorChris Leech <christopher.leech@intel.com>
Thu, 8 Mar 2007 17:57:36 +0000 (09:57 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 11 Jul 2007 23:10:53 +0000 (16:10 -0700)
commitfcba439cbcbe664606a865bb6202edeb77404746
treed3be36597917dbbae664fc6eb97dbe876c5e44e3
parent0446ddd2442e643a61d288be453ce045d6d842ae
I/OAT: Only offload copies for TCP when there will be a context switch
The performance wins come with having the DMA copy engine doing the copies
in parallel with the context switch.  If there is enough data ready on the
socket at recv time just use a regular copy.

Signed-off-by: Chris Leech <christopher.leech@intel.com>
net/ipv4/tcp.c