freebsd-nq/sys
Andre Oppermann ed42031102 Rearrange the TSO code to make it more readable and to clearly
separate the decision logic, of whether we can do TSO, and the
calculation of the burst length into two distinct parts.

Change the way the TSO burst length calculation is done. While
TSO could do bursts of 65535 bytes that can't be represented in
ip_len together with the IP and TCP header. Account for that and
use IP_MAXPACKET instead of TCP_MAXWIN as base constant (both
have the same value of 64K). When more data is available prevent
less than MSS sized segments from being sent during the current
TSO burst.

Add two more KASSERTs to ensure the integrity of the packets.

Tested by:	Ben Wilber <ben-at-desync com>
MFC after:	10 days
2010-09-17 22:05:27 +00:00
..
amd64 amd64: reduce VM_KMEM_SIZE_SCALE to 1 allowing kernel to use more memory 2010-09-17 07:36:32 +00:00
arm In pmap_remove_all(), do not decrease pm_stats.wired_count if the mapping was 2010-09-12 20:46:32 +00:00
boot Merge from powerpc: 2010-09-16 12:05:00 +00:00
bsm
cam Correct bioq_disksort so that bioq_insert_tail() offers barrier semantic. 2010-09-02 19:40:28 +00:00
cddl zfs arc_reclaim_needed: fix typo in mismerge in r212780 2010-09-17 07:34:50 +00:00
compat Implement proc/$$/environment. 2010-09-16 07:56:34 +00:00
conf Merge ACPICA 20100915. 2010-09-16 20:08:00 +00:00
contrib Merge ACPICA 20100915. 2010-09-16 20:08:00 +00:00
crypto Crypto(4) driver for AESNI. 2010-07-23 11:00:46 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev Fix a couple of mps problems. 2010-09-17 21:53:56 +00:00
fs Remove empty devfs directories automatically. 2010-09-15 14:23:55 +00:00
gdb
geom Add support for dumping kernel to gconcat. 2010-09-16 17:24:25 +00:00
gnu Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
i386 Refactor timer management code with priority to one-shot operation mode. 2010-09-13 07:25:35 +00:00
ia64 bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
isa bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
kern By popular demand, kill all the non GIANT related interrupt messages. 2010-09-17 16:05:25 +00:00
kgssapi
libkern
mips Fixes for XLR network accelerator driver (nlge). 2010-09-17 10:28:10 +00:00
modules Merge ACPICA 20100915. 2010-09-16 20:08:00 +00:00
net Fix a typo in a comment. 2010-09-16 18:37:33 +00:00
net80211 Wrap remaining ieee80211_ratectl_node_init() calls missed in r211314. 2010-08-21 11:06:21 +00:00
netatalk
netgraph Fix typo 2010-08-02 22:26:08 +00:00
netinet Rearrange the TSO code to make it more readable and to clearly 2010-09-17 22:05:27 +00:00
netinet6 Remove unused variables. 2010-09-15 20:41:20 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate 2010-07-24 22:11:11 +00:00
nfsclient Do not fork nfsiod directly from the vop methods. This causes LORs between 2010-09-12 19:06:08 +00:00
nfsserver - When VFS_VGET() is not supported, switch to VOP_LOOKUP(). 2010-08-26 23:41:40 +00:00
nlm
opencrypto Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
pc98 Refactor timer management code with priority to one-shot operation mode. 2010-09-13 07:25:35 +00:00
pci Remove unnecessary controller reinitialization. 2010-08-24 18:52:24 +00:00
powerpc Split the SLB mirror cache into two kinds of object, one for kernel maps 2010-09-16 03:46:17 +00:00
rpc - Check the result of malloc(M_NOWAIT) in replay_alloc(). The caller 2010-08-26 23:33:04 +00:00
security Replace sbuf_overflowed() with sbuf_error(), which returns any error 2010-09-10 16:42:16 +00:00
sparc64 Remove accidentally committed test code which effectively prevented the 2010-09-16 12:05:46 +00:00
sun4v Sync with other platforms: 2010-09-15 17:11:15 +00:00
sys Re-add r212370 now that the LOR in powerpc64 has been resolved: 2010-09-16 16:13:12 +00:00
teken Make ^L with cons25 and origin mode bit more sane. 2010-08-09 18:07:15 +00:00
tools Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
ufs Correct some non-code typos. 2010-09-17 09:14:40 +00:00
vm Re-add r212370 now that the LOR in powerpc64 has been resolved: 2010-09-16 16:13:12 +00:00
x86 Add one-shot mode support to attimer (i8254) event timer. 2010-09-17 04:48:50 +00:00
xdr
xen
Makefile