]> err.no Git - linux-2.6/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)
commit2b1244a43be97f504494b557a7f7a65fe0d00dba
treed3be36597917dbbae664fc6eb97dbe876c5e44e3
parent72d0b7a81d60f5e64ee7197bc190b9b3265f99dd
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