freebsd-dev/sys
Sean Bruno df40405fab Increase EM_MAX_SCATTER to 64 such that the size of em_xmit()::segs[EM_MAX_SCATTER]
doesn't get overrun by things like NFS that can and do shove more than 32 segs when
being used with em(4) and TSO4.

Update tso handling code in em_xmit() with update from jhb@ in email thread:
https://lists.freebsd.org/pipermail/freebsd-net/2014-July/039306.html

set ifp->if_hw_tsomax, ifp->if_hw_tsomaxsegcount & ifp->if_hw_tsomaxsegsize
to appropriate values.

Define a TSO workaround "magic" number  of 4 that is used to avoid an
alignment issue in hardware.

Change a couple of integer values that were used as booleans to actual
bool types.

Ensure that em_enable_intr() enables the appropriate mask of interrupts
and not just a hardcoded define of values.

PR:		200221 199174 195078
Differential Revision:	https://reviews.freebsd.org/D3192
Reviewed by:	erj jhb hiren
MFC after:	2 weeks
Sponsored by:	Limelight Networks
2015-08-16 19:43:44 +00:00
..
amd64 Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
arm Use simple fixed name strings for these timecounters and eventimers which 2015-08-14 16:48:07 +00:00
arm64 Add support for bus_space_read_region and bus_space_write_region. This is 2015-08-14 09:55:25 +00:00
boot Make dtb file configurable via loader(8) variable. ubldr already checks 2015-08-15 21:47:07 +00:00
bsm
cam Polish sizes processing. 2015-08-15 18:22:16 +00:00
cddl Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
compat Add the last remaining system calls: send() and recv(). 2015-08-12 17:42:20 +00:00
conf Move "ioctl" CAM frontend into separate file. 2015-08-15 15:42:21 +00:00
contrib Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
crypto const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
dev Increase EM_MAX_SCATTER to 64 such that the size of em_xmit()::segs[EM_MAX_SCATTER] 2015-08-16 19:43:44 +00:00
fs For the case where an NFSv4.1 ExchangeID operation has the client identifier 2015-08-14 22:02:14 +00:00
gdb
geom Clean out some externally visible "more then" grammar 2015-08-11 03:12:09 +00:00
gnu
i386 Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
isa
kern genassym.sh: call nm(1) with NMFLAGS. 2015-08-14 22:57:13 +00:00
kgssapi
libkern
mips Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
modules Move "ioctl" CAM frontend into separate file. 2015-08-15 15:42:21 +00:00
net Make LAG LACP fast timeout tunable through IOCTL. 2015-08-12 20:21:04 +00:00
net80211 Revert the wifi ifnet changes until things are more baked and tested. 2015-08-08 01:10:17 +00:00
netgraph * Address review (and add a bit myself). 2015-07-12 18:14:38 +00:00
netinet Split arpresolve() into fast/slow path. 2015-08-16 12:23:58 +00:00
netinet6 Use single 'lle_timer' callout in lltable instead of 2015-08-11 12:38:54 +00:00
netipsec Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
netnatm
netpfil Use correct src/dst ports when removing states. 2015-08-11 17:24:34 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Reinstate unify_tcp_port_space and associated code that was lost during 2015-08-12 22:09:58 +00:00
opencrypto Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
pc98 Remove unused i386 header privatespace.h. For the native kernel, its 2015-08-07 05:59:58 +00:00
powerpc SRR1 and DSISR aren't pointers, print them as integers. 2015-08-16 01:08:59 +00:00
rpc Remove useless acquire semantic from the atomic_add operation before 2015-07-28 06:58:10 +00:00
security
sparc64 Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
sys Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
teken Pick UINT_MAX / 100 as an upperbound. 2015-08-16 13:59:11 +00:00
tools
ufs - Make 'struct buf *buf' private to vfs_bio.c. Having a global variable 2015-07-29 02:26:57 +00:00
vm As another piece of PG_CACHE page elimination, remove an LRU-defeating call 2015-08-16 17:07:53 +00:00
x86 Use pmap_quick_enter_page() to handle bouncing of unmapped buffers in the x86 busdma_bounce implementation. Also treat user buffers as unmapped. 2015-08-14 20:08:16 +00:00
xdr
xen Remove another remnant of PV domU support and assume that we always run 2015-08-14 18:38:39 +00:00
Makefile