freebsd-nq/sys
Pyun YongHyeon 89feeee459 For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E),
limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of
blindly configuring it to 16KB. Due to lack of documentation, re(4)
didn't allow jumbo frame on these controllers. However it seems
controller is confused with jumbo frame such that it can DMA the
received frame to wrong address instead of splitting it into
multiple RX buffers. Of course, this caused panic.

Since re(4) does not support jumbo frames on these controllers,
make controller drop frame that is longer than RE_RX_DESC_BUFLEN
sized frame. Fortunately RTL810x controllers, which do not support
jumbo frame, have no such issues but this change also limited
maximum RX buffer size allowed to RTL810x controllers. Allowing
16KB RX buffer for controllers that have no such capability is
meaningless.

MFC after:	3 days
2011-01-12 03:43:47 +00:00
..
amd64 Move repeated MAXSLP definition from machine/vmparam.h to sys/vmmeter.h. 2011-01-09 12:50:44 +00:00
arm Don't re-use MODINFOMD_BOOTINFO as MODINFOMD_DTBP. It breaks 2011-01-11 22:07:39 +00:00
boot Help static analysis by initializing variables that we know cannot be 2011-01-06 20:50:16 +00:00
bsm
cam Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
cddl MFp4 r186485, r186859: 2011-01-03 12:57:07 +00:00
compat Create shared (readonly) page. Each ABI may specify the use of page by 2011-01-08 16:13:44 +00:00
conf Allow runfw(4) to be compiled in to the kernel. 2011-01-11 21:46:29 +00:00
contrib o) Expand the CIU driver to be aware of newly-allocated parts of the IRQ range. 2011-01-10 03:48:41 +00:00
crypto Remove DEBUG sections. 2010-11-27 15:41:44 +00:00
ddb
dev For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), 2011-01-12 03:43:47 +00:00
fs Modify readdirplus in the experimental NFS server in a 2011-01-09 02:10:54 +00:00
gdb there must be only one SYSINIT with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY order 2010-09-30 17:05:23 +00:00
geom Remove redundant check. 2011-01-11 13:22:20 +00:00
gnu Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
i386 Move repeated MAXSLP definition from machine/vmparam.h to sys/vmmeter.h. 2011-01-09 12:50:44 +00:00
ia64 Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
isa bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
kern - Retire some unused ithread priorities: PI_TTYHIGH, PI_TAPE, and 2011-01-11 22:15:30 +00:00
kgssapi
libkern Add support for asterisk characters when filling in the GELI password 2010-11-14 14:12:43 +00:00
mips Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
modules No need to genreate these here 2011-01-06 21:04:00 +00:00
net Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
net80211 The meshid element is memcpy()'ed into se_meshid if included in either 2010-11-22 19:01:47 +00:00
netatalk
netgraph Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
netinet Fixe some whitespace nits that were introduced in r216758. 2011-01-11 01:32:08 +00:00
netinet6 Improve plausibility check in sctp_handle_sack(). 2010-12-22 17:59:38 +00:00
netipsec After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
netipx
netnatm
netncp
netsmb Change some variables from int to size_t. This is more accurate since 2011-01-08 23:06:54 +00:00
nfs Fix the nlm so that it no longer depends on the regular 2011-01-03 20:37:31 +00:00
nfsclient Fix the nlm so that it no longer depends on the regular 2011-01-03 20:37:31 +00:00
nfsserver ZFS might not return monotonically increasing directory offset cookies, 2010-12-28 21:12:15 +00:00
nlm Fix the nlm so that it no longer depends on the regular 2011-01-03 20:37:31 +00:00
opencrypto Let cryptosoft(4) add its pseudo-device with a specific unit number and its 2010-11-14 13:09:32 +00:00
pc98 Copy powerpc/include/_inttypes.h to x86 and replace i386/amd64/pc98 2011-01-08 18:09:48 +00:00
pci Implement TSO on RealTek RTL8168/8111 C or later controllers. 2011-01-10 23:28:46 +00:00
powerpc Add new functions, fcu_fan_set_pwm and fcu_fan_get_pwm, to set and get 2011-01-11 21:18:29 +00:00
rpc Fix a bug in the client side krpc where it was, sometimes 2011-01-10 21:35:10 +00:00
security Fix typos. 2010-11-09 10:59:09 +00:00
sparc64 Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
sun4v Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
sys - Retire some unused ithread priorities: PI_TTYHIGH, PI_TAPE, and 2011-01-11 22:15:30 +00:00
teken Use proper bounds checking on VPA. 2010-12-05 10:15:23 +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 Instead of incrementing freework reference counter in indir_trunc(), do 2011-01-04 10:25:55 +00:00
vm Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
x86 Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
xdr
xen Add xenpic_dynirq_disable_intr and set it as the .pic_disable_intr method 2010-12-30 01:28:56 +00:00
Makefile Add lex and yacc sources to things cscope'd. 2010-11-21 03:58:11 +00:00