1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Andre Oppermann b3c0f300fb Second step of TSO (TCP segmentation offload) support in our network stack.
TSO is only used if we are in a pure bulk sending state.  The presence of
TCP-MD5, SACK retransmits, SACK advertizements, IPSEC and IP options prevent
using TSO.  With TSO the TCP header is the same (except for the sequence number)
for all generated packets.  This makes it impossible to transmit any options
which vary per generated segment or packet.

The length of TSO bursts is limited to TCP_MAXWIN.

The sysctl net.inet.tcp.tso globally controls the use of TSO and is enabled.

TSO enabled sends originating from tcp_output() have the CSUM_TCP and CSUM_TSO
flags set, m_pkthdr.csum_data filled with the header pseudo-checksum and
m_pkthdr.tso_segsz set to the segment size (net payload size, not counting
IP+TCP headers or TCP options).

IPv6 currently lacks a pseudo-header checksum function and thus doesn't support
TSO yet.

Tested by:	Jack Vogel <jfvogel-at-gmail.com>
Sponsored by:	TCP/IP Optimization Fundraise 2005
2006-09-07 12:53:01 +00:00
bin - Fix options order. 2006-08-25 09:58:13 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r162079, 2006-09-06 21:27:11 +00:00
crypto Resolve conflicts after import of OpenSSL 0.9.8b. 2006-07-30 14:17:54 +00:00
etc Unbreak PowerPC build after addition of powermac_nvram(4powerpc). 2006-09-02 20:58:37 +00:00
games visionary thoughts.. 2006-08-27 14:29:10 +00:00
gnu Use the pcb in stoppcbs[] if it is present for threads that were running 2006-08-25 16:20:17 +00:00
include Add device to access and modify Open Firmware NVRAM settings in 2006-08-01 22:19:01 +00:00
kerberos5 Kerberos/Heimdal doesn't really depend on the INET6 macro. 2006-07-28 06:33:27 +00:00
lib Replace internal usage of struct umtx with umutex which can supports 2006-09-06 04:04:10 +00:00
libexec Fix the variant I allocation for KSE: Allow a larger TCB and assume 2006-09-01 06:13:16 +00:00
release New release notes: libpcap 0.9.4, tcpdump 3.9.4. 2006-09-05 14:55:31 +00:00
rescue Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
sbin Make TSO (TCP segmentation offload) capabilities visible and accessible with 2006-09-06 22:07:14 +00:00
secure Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
share Fix the markup. 2006-09-07 08:31:59 +00:00
sys Second step of TSO (TCP segmentation offload) support in our network stack. 2006-09-07 12:53:01 +00:00
tools Enforce the compile-time threads limit at run-time, so that a high thread 2006-09-02 08:25:40 +00:00
usr.bin Bump WARNS level to 3. 2006-09-01 17:09:09 +00:00
usr.sbin Remove leading zeros 2006-09-06 15:58:59 +00:00
COPYRIGHT Happy new year, a little late 2006-01-15 22:06:10 +00:00
LOCKS Document commit constraints for RELENG_6_*. 2006-01-13 06:51:43 +00:00
MAINTAINERS Add FreeBSD Update 2.0 client code. The build code is in the projects 2006-08-31 09:51:34 +00:00
Makefile Per weak consensus on this topic, remove suggestion to set 2006-06-22 16:52:53 +00:00
Makefile.inc1 make "make TARGET=foo" work correctly. Before, it would fail to set 2006-09-07 07:37:16 +00:00
ObsoleteFiles.inc Add lines to remove pccardd(8) stuff (binary and manuals). 2006-09-05 01:17:51 +00:00
README Simply running ``make world'' will bomb unless you dig up the 2006-06-07 03:33:48 +00:00
UPDATING bump version for libpcap+tcpdump imports 2006-09-04 21:49:31 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The ``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html