freebsd-dev/sys
Rick Macklem 209579aeac For NFS mounts using rsize,wsize=65536 over TSO enabled
network interfaces limited to 32 transmit segments, there
are two known issues.
The more serious one is that for an I/O of slightly less than 64K,
the net device driver prepends an ethernet header, resulting in a
TSO segment slightly larger than 64K. Since m_defrag() copies this
into 33 mbuf clusters, the transmit fails with EFBIG.
A tester indicated observing a similar failure using iSCSI.

The second less critical problem is that the network
device driver must copy the mbuf chain via m_defrag()
(m_collapse() is not sufficient), resulting in measurable overhead.

This patch reduces the default size of if_hw_tsomax
slightly, so that the first issue is avoided.
Fixing the second issue will require a way for the
network device driver to inform tcp_output() that it
is limited to 32 transmit segments.

Reported and tested by:	csforgeron@gmail.com, markus.gebert@hostpoint.ch
MFC after:	2 weeks
2014-04-17 23:31:50 +00:00
..
amd64 Don't spindown the BSP if it executes hlt with the APIC disabled. A 2014-04-15 20:53:53 +00:00
arm Updates to i.MX53: 2014-04-08 04:05:04 +00:00
boot Add the initial version of if_nf10bmac(4), a driver to support an 2014-04-17 12:33:26 +00:00
bsm IFp4 @1192291: 2014-04-07 20:44:00 +00:00
cam Properly pass the initiator address when running in proxy mode. 2014-04-16 11:00:10 +00:00
cddl Ensure that all eight syscall arguments are available to dtrace_probe(), 2014-04-14 00:23:18 +00:00
compat In freebsd32_sendmsg(), replace the call to sockargs() followed by a 2014-04-05 18:56:01 +00:00
conf Really, really, really only allow this option for amd64/i386 builds. 2014-04-09 18:44:54 +00:00
contrib Implement the final missing sysctls by moving ipf_auth_softc_t from 2014-04-07 19:32:56 +00:00
crypto NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
ddb ddb: Minor style cleanups. 2014-03-31 16:37:41 +00:00
dev use correct (integer) type for the temperature sysctl 2014-04-17 19:29:15 +00:00
fs Use SMB_QUERY_FS_SIZE_INFO request to populate statfs structure. 2014-04-15 09:10:01 +00:00
gdb
geom Make sure not to do I/O for more than MAXPHYS bytes. Doing so can cause 2014-04-15 15:41:57 +00:00
gnu Symbolic bindings for the dts files... 2014-02-28 16:51:33 +00:00
i386 Really, really, really only allow this option for amd64/i386 builds. 2014-04-09 18:44:54 +00:00
ia64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
isa Remove vestiges of knowing the ISA bus, which we gave up on around 20 2014-03-19 21:03:04 +00:00
kern Fix typo. 2014-04-17 18:13:23 +00:00
kgssapi
libkern Fix typo 2013-11-29 20:14:26 +00:00
mips Fix typo and case inconsistency in MIPS CP0 register names. 2014-04-17 20:42:03 +00:00
modules Add the initial version of if_nf10bmac(4), a driver to support an 2014-04-17 12:33:26 +00:00
net For NFS mounts using rsize,wsize=65536 over TSO enabled 2014-04-17 23:31:50 +00:00
net80211 Remove IPX support. 2014-03-14 02:58:48 +00:00
netgraph Remove AppleTalk support. 2014-03-14 06:29:43 +00:00
netinet Some whitespace and style fixes. 2014-04-11 21:00:59 +00:00
netinet6 Remove unused variable. 2014-04-17 06:40:11 +00:00
netipsec Remove _IP_VHL* macros and related ifdefs. 2014-04-16 05:31:54 +00:00
netnatm
netpfil Set oif only for outgoing packets. 2014-04-16 14:37:11 +00:00
netsmb Remove redundant unlock. 2014-04-17 12:22:08 +00:00
nfs - Remove rt_metrics_lite and simply put its members into rtentry. 2014-03-05 01:17:47 +00:00
nfsclient For software builds, the NFS client does many small 2013-12-07 23:05:59 +00:00
nfsserver Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
opencrypto allow the kern.cryptodevallowsoft sysctl to enable symetric/hashes too... 2014-03-11 01:45:46 +00:00
pc98 Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
pci Increase the number of TX DMA segments from 32 to 35. It turned 2014-03-31 01:54:59 +00:00
powerpc Small performance optimization. Clobber only cr0, rather than the entire CR. 2014-04-11 06:17:44 +00:00
rpc Fix lock acquisition in case no request space available, missed in r260097. 2014-02-04 00:00:01 +00:00
security audit: plug FILEDESC_LOCK leak in audit_canon_path. 2014-03-21 01:30:33 +00:00
sparc64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
sys fcntl.h: Make visible various POSIX.1-2008 features. 2014-04-17 21:29:22 +00:00
teken Fix typo. 2014-02-06 13:28:06 +00:00
tools Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
ufs Update comment to explain search order reverted to historical order 2014-03-22 11:26:39 +00:00
vm Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
x86 Make this compile with gcc. 2014-04-05 22:43:18 +00:00
xdr
xen Make this compile with gcc. 2014-04-05 22:43:18 +00:00
Makefile Remove AppleTalk support. 2014-03-14 06:29:43 +00:00