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
John Baldwin 8385f4cf94 Tweak the stats exported by the e1000 drivers:
- Add a single sysctl procedure to all three drivers to read an arbitrary
  register (the register is passed as arg2).  Use it to replace existing
  routines in igb(4) that used a separate routine for each register, and
  to add support for missing stats in em(4) and lem(4).
- Move the 'rx_overruns' and 'watchdog_timeouts' stats out of the MAC stats
  section as they are driver stats, not MAC counters.
- Simplify the code that creates per-queue stats in igb(4) to use a single
  loop and remove duplicated code.
- Properly read all 64 bits of the 'good octets received/transmitted' in
  em(4) and lem(4).
- Actually read the interrupt count registers in em(4), and drop the
  'host to card' sysctl stats from em(4) as they are not implemented in
  any of the hardware this driver supports.
- Restore several stats to em(4) that were lost in the earlier stats
  conversion including per-queue stats.
- Export several MAC stats in em(4) that were exported in igb(4) but not
  in em(4).
- Export stats in lem(4) using individual sysctls as in em(4) and igb(4).

Reviewed by:	jfv
MFC after:	1 week
2010-09-20 16:04:44 +00:00
bin Merge from tbemd: 2010-09-13 01:29:51 +00:00
cddl Remove duplicate include of <strings.h> 2010-09-17 14:15:03 +00:00
contrib Fix an integer overflow in RLE length parsing when decompressing 2010-09-20 14:58:08 +00:00
crypto More commas 2010-06-01 22:46:57 +00:00
etc Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces. 2010-09-13 19:55:40 +00:00
games fix the move so that it matches what the rest of the internet 2010-09-03 03:20:34 +00:00
gnu GCC defines built-ins for atomic instructions found on i486 and higher. 2010-09-07 08:33:17 +00:00
include Update acfreebsd.h for ACPI_THREAD_ID change. 2010-09-16 19:43:32 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib In all Makefiles under lib/clang, consistently use tabs instead of 2010-09-19 10:54:58 +00:00
libexec Move the pfrom initialization from before the setjmp to after the 2010-09-15 15:38:47 +00:00
release Chase the ports list to make snapshots work again with NOPORTS set. 2010-09-17 07:40:02 +00:00
rescue MFtbemd: 2010-08-23 22:24:11 +00:00
sbin Add __dead2 to functions that we know they are going to exit. 2010-09-20 13:23:43 +00:00
secure Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
share Manual page for the kernel side Secure Neighbor Discovery support. 2010-09-19 12:54:18 +00:00
sys Tweak the stats exported by the e1000 drivers: 2010-09-20 16:04:44 +00:00
tools Revise r197763 which fixes filesystem corruption when extending 2010-09-19 08:18:56 +00:00
usr.bin Fix the grammar after I added a second environmental variable. 2010-09-19 00:36:26 +00:00
usr.sbin Bugfix: Reset the packet counters at the same time as the byte counts. 2010-09-18 22:26:50 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:37 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS Add a comment to MAINTAINERS indicating that sbin/routed is in fact 2010-04-10 12:29:09 +00:00
Makefile Connect FDT infrastructure to the build system. 2010-06-13 13:02:43 +00:00
Makefile.inc1 Check TARGET_ARCH as well as TARGET to determine if we are doing a cross 2010-09-08 19:53:16 +00:00
Makefile.mips Guard against TARGET_ABI being undefined (TARGET_ABI will go away soon) 2010-08-26 14:54:12 +00:00
ObsoleteFiles.inc Mark the sbuf_overflowed(9) manpage as obsolete since it has been 2010-09-10 20:42:41 +00:00
README
UPDATING UPDATING entry for r212647 2010-09-15 10:04:41 +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