freebsd kernel with SKQ
Go to file
yongari 33b0b9f0e9 Implement TSO for BCM5755 or newer controllers. Some controllers
seem to require a special firmware to use TSO. But the firmware is
not available to FreeBSD and Linux claims that the TSO performed by
the firmware is slower than hardware based TSO. Moreover the
firmware based TSO has one known bug which can't handle TSO if
ethernet header + IP/TCP header is greater than 80 bytes. The
workaround for the TSO bug exist but it seems it's too expensive
than not using TSO at all. Some hardwares also have the TSO bug so
limit the TSO to the controllers that are not affected TSO issues
(e.g. 5755 or higher).
While I'm here set VLAN tag bit to all descriptors that belengs to
a frame instead of the first descriptor of a frame. The datasheet
is not clear how to handle VLAN tag bit but it worked either way in
my testing. This makes it simplify TSO configuration a little bit.

Big thanks to davidch@ who sent me detailed TSO information.
Without this I was not able to implement it.

Tested by:	current
2009-11-22 21:16:30 +00:00
bin Fix various things about SIGINT handling: 2009-11-22 18:23:30 +00:00
cddl Properly mark ZFS properties which are not changeable under FreeBSD. 2009-10-08 19:45:37 +00:00
contrib fix spelling mistake 2009-11-19 08:10:24 +00:00
crypto Fix globbing 2009-11-10 09:45:43 +00:00
etc Use cons25w on pc98. 2009-11-13 11:54:52 +00:00
games Properly sort a math fortune after the changes in r193486 2009-11-07 22:13:29 +00:00
gnu Compile libgcov without stack protection. It can be linked into 2009-10-25 15:52:31 +00:00
include Import ACPICA 20091112. 2009-11-16 18:28:41 +00:00
kerberos5 Link GSS mechanics modules against libgssapi so they will not fail due 2009-10-12 17:10:51 +00:00
lib Revert the previous change to pthread_once() stub in libc. It is actually 2009-11-20 20:43:34 +00:00
libexec Fix white space in rtld runtime error printf. 2009-11-14 15:08:44 +00:00
release Convert {small prefix}BSD to TERM=xterm as well. 2009-11-13 11:32:14 +00:00
rescue Add the "vnet" and "-vnet" options, to allow moving interfaces between 2009-06-24 18:21:37 +00:00
sbin Add some missing WDMA/UDMA modes. 2009-11-22 10:53:26 +00:00
secure Fix globbing 2009-11-10 09:45:43 +00:00
share Add ada(4) man page. 2009-11-19 16:19:05 +00:00
sys Implement TSO for BCM5755 or newer controllers. Some controllers 2009-11-22 21:16:30 +00:00
tools sh: Ensure the same command input file is on top after executing a builtin. 2009-11-22 14:04:20 +00:00
usr.bin When -n is specified, attempt to turn hostnames found in utmp into IP 2009-11-22 16:51:44 +00:00
usr.sbin Unify fifolog_writer usage printout with fifolog_create and 2009-11-17 17:38:41 +00:00
COPYRIGHT
LOCKS
MAINTAINERS - pkg_install is maintained by portmgr. 2009-07-06 11:46:18 +00:00
Makefile Add a new world named 'mips' to our universe. 2009-04-01 17:11:50 +00:00
Makefile.inc1 Replace -iprefix with -isystem. We only need alternative header 2009-11-01 08:20:30 +00:00
ObsoleteFiles.inc rc.early(8) was removed as of 20090530 so remove manual page reference 2009-11-18 00:56:05 +00:00
README
UPDATING Add a note that wpa_supplicant(8) may require a full world build to 2009-11-21 01:43:22 +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