1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Pyun YongHyeon f5459d4cad Add initial jumbo frame support for BCM5714/BCM5715 and BCM5780.
Unlike other controllers which have more advanced jumbo support,
these controllers have one send ring, one standard receive producer
ring and one receive return ring. In order to receive jumbo frames
on the controllers, driver now will increase Rx buffer size to 9k.
Two Rx modes are supported on these controllers and I chose
standard Rx BDs over extended Rx BDs. The extended Rx BD mode
allows up to 4 segmentations for each Rx BDs such that kernel does
not have to allocate large buffer of contiguous memory for
receiving. The extended Rx BD mode is already used on controllers
that have separate jumbo receive ring. However, using extended Rx
BDs on BCM5714/BCM5715/BCM5780 reduces the number of Rx BDs to 256
entries which in turn may reduce the performance.  Also UMA backed
page allocator for jumbo frame returns contiguous memory so using
extended Rx BD has no advantage on FreeBSD unless highly customized
local allocator implemented in driver is used.
To use jumbo buffers in standard receive ring, Rx buffer allocation
handler was changed to allocate MJUM9BYTES sized mbuf.

PR:		kern/155192
Tested by:	Vijay Singh <vijju.singh <> gmail dot com>
Submitted by:	mjacob (initial version)
2011-04-05 17:41:54 +00:00
bin Add proper width calculation for time fields (time, cputime and usertime). 2011-03-24 20:15:42 +00:00
cddl Properly print characters larger than 127. 2011-03-24 14:12:41 +00:00
contrib MFV of tzdata2011e: 2011-04-03 03:42:42 +00:00
crypto Fix Incorrectly formatted ClientHello SSL/TLS handshake messages could 2011-02-12 21:30:46 +00:00
etc Add example devd.conf entry. 2011-03-30 18:35:02 +00:00
games Improve the distributeworld target in Makefile.inc1 and update the release 2011-03-02 14:39:26 +00:00
gnu Print the raw value of si_code, that is esp. useful for undecoded values. 2011-03-26 21:12:53 +00:00
include MFgraid/head: 2011-03-24 21:31:32 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib Do not increment num_args if strsep(3) returned an empty field. 2011-04-04 09:25:27 +00:00
libexec rtld: eliminate double call to close(2) that may occur in load_object 2011-03-25 18:23:10 +00:00
release Copy all generated ISO images into the release area. 2011-03-27 23:46:52 +00:00
rescue Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
sbin Increase default timeout from 5 seconds to 20 seconds. 5 seconds is definitely 2011-04-02 09:34:33 +00:00
secure Fix some leftover binaries and shared libraries in the system that still 2011-02-15 22:03:09 +00:00
share Make clang default on x86 and powerpc, but not on other architectures. 2011-04-05 08:49:47 +00:00
sys Add initial jumbo frame support for BCM5714/BCM5715 and BCM5780. 2011-04-05 17:41:54 +00:00
tools * re-enable marker stuff, I accidentally disabled it during debugging 2011-04-05 16:12:38 +00:00
usr.bin Document -w for swapuse. 2011-04-05 07:56:40 +00:00
usr.sbin Add the ability to manage the state of write caching when the battery 2011-04-05 14:19:05 +00:00
COPYRIGHT Happy New Year 2011. 2010-12-31 18:07:16 +00:00
LOCKS
MAINTAINERS - Initial release of bxe(4) to support Broadcom NetXtreme II 10GbE. 2011-03-14 22:42:41 +00:00
Makefile Improve the distributeworld target in Makefile.inc1 and update the release 2011-03-02 14:39:26 +00:00
Makefile.inc1 Make clang default on x86 and powerpc, but not on other architectures. 2011-04-05 08:49:47 +00:00
Makefile.mips Retire TARGET_ABI. 2011-01-07 20:26:33 +00:00
ObsoleteFiles.inc Add sticky.8 to the obsolete files since it had been 2011-02-24 18:13:53 +00:00
README Add the cddl/ directory. 2010-11-14 11:32:56 +00:00
UPDATING Document the ath glue changes. 2011-03-31 08:32:53 +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.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

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