Commit Graph

4168 Commits

Author SHA1 Message Date
Joel Dahl
ddbf95702a Document the new EQ and VPC features along with a few loader tunables.
Reviewed by:	ariff
Approved by:	re (blanket)
2009-07-06 19:32:13 +00:00
Rui Paulo
9e760f2578 acpi_hp.c:
- sysctl dev.acpi_hp.0.verbose to toggle debug output
- A modification so this can deal with different array lengths
  when reading the CMI BIOS - now it works ok on HP Compaq nx7300
  as well.
- Change behaviour to query only max_instance-1 CMI BIOS instances,
  because all HPs seen so far are broken in that respect
  (or there is a fundamental misunderstanding on my side, possible
  as well). This way a disturbing ACPI Error Field exceeds Buffer
  message is avoided.
- New bit to set on dev.acpi_hp.0.cmi_detail (0x8) to
  also query the highest guid instance of CMI bios

acpi_hp.4:
- Document dev.acpi_hp.0.verbose sysctl in man page
- Document new bit for dev.acpi_hp.0.cmi_detail
- Add a section to manpage about hardware that has been reported
  to work ok

Submitted by:	Michael Gmelin <freebsdusb at bindone.de>
Approved by:	re (kib)
MFC after:	2 weeks
2009-07-03 21:12:37 +00:00
Stanislav Sedov
b2d758545b - Add support to atomically set/clear individual bits of a MSR register
via cpuctl(4) driver.  Two new CPUCTL_MSRSBIT and CPUCTL_MSRCBIT ioctl(2)
  calls treat the data field of the argument struct passed as a mask
  and set/clear bits of the MSR register according to the mask value.
- Allow user to perform atomic bitwise AND and OR operaions on MSR registers
  via cpucontrol(8) utility.  Two new operations ("&=" and "|=") have been
  added.  The first one applies bitwise AND operaion between the current
  contents of the MSR register and the mask, and the second performs bitwise
  OR.  The argument can be optionally prefixed with "~" inversion operator.
  This allows one to mimic the "clear bit" behavior by using the command
  like this:
      cpucontrol -m 0x10&=~0x02		# clear the second bit of TSC MSR

  Inversion operator support in all modes (assignment, OR, AND).

Approved by:	re (kib)
MFC after:	1 month
2009-06-30 12:35:47 +00:00
Rui Paulo
0f73b657a9 acpi_wmi_if:
- Document different semantics for ACPI_WMI_PROVIDES_GUID_STRING_METHOD

acpi_wmi.c:
- Modify acpi_wmi_provides_guid_string_method to return absolut number of
  instances known for the given GUID.

acpi_hp.c:
- sysctl dev.acpi_hp.0.verbose to toggle debug output
- A modification so this can deal with different array lengths
  when reading the CMI BIOS - now it works ok on HP Compaq nx7300
  as well.
- Change behaviour to query only max_instance-1 CMI BIOS instances,
  because all HPs seen so far are broken in that respect
  (or there is a fundamental misunderstanding on my side, possible
  as well). This way a disturbing ACPI Error Field exceeds Buffer
  message is avoided.
- New bit to set on dev.acpi_hp.0.cmi_detail (0x8) to
  also query the highest guid instance of CMI bios

acpi_hp.4:
- Document dev.acpi_hp.0.verbose sysctl in man page
- Document new bit for dev.acpi_hp.0.cmi_detail
- Add a section to manpage about hardware that has been reported
  to work ok

Submitted by:	Michael Gmelin, freebsdusb at bindone.de
Approved by:	re (kib)
MFC after:	2 weeks
2009-06-30 09:51:41 +00:00
Andrew Thompson
4e1c399323 Rename man4/if_bridge.4 to man4/bridge.4 in order to be consistent with other
peueso interfaces. The .Nm name hasnt been changed and all xrefs are still
valid.
2009-06-25 17:24:36 +00:00
Bjoern A. Zeeb
98c230c87e Merge from p4: CH154790,154793,154874
Import if_epair(4), a virtual cross-over Ethernet-like interface pair.

Note these files are 1:1 from p4 and not yet connected to the build
not knowing about the new netisr interface.

Sponsored by:	The FreeBSD Foundation
2009-06-24 22:21:30 +00:00
Alexander Motin
f64d65b27e Document new hint.atapci.X.msi and hint.ata.X.pm_level tunables. 2009-06-24 19:25:47 +00:00
Andrew Thompson
b35f050eb2 Move programming info from usb(4) to usbdi(9) and update for the usb stack
changeover. Needs much more content still.
2009-06-24 17:01:17 +00:00
Joel Dahl
0930c50786 Add one more reference to SEE ALSO. Sort while here.
Submitted by:	ariff
2009-06-23 21:37:12 +00:00
Joel Dahl
d775d1b346 Bring in a few mdoc/language fixes.
Submitted by:	ru
2009-06-23 21:24:21 +00:00
Marius Strobl
d54384d976 - Update regarding the support for SBus GEM added in r194763.
- Improve the description a bit and add a reference to vlan(4).
2009-06-23 20:38:35 +00:00
Rui Paulo
597c30a83f Fix double path issue and other nits.
MFC after:	2 weeks
2009-06-23 14:57:06 +00:00
Rui Paulo
df849145b5 * Driver for ACPI WMI (Windows Management Instrumentation)
* Driver for ACPI HP extra functionations, which required
  ACPI WMI driver.

Submitted by:	Michael <freebsdusb at bindone.de>
Approved by:	re
MFC after:	2 weeks
2009-06-23 13:17:25 +00:00
Joel Dahl
2014806da9 Start documenting some of the new sound stuff. More is on the way.
Probably also needs some more mdoc love.

Reviewed by:	ariff
2009-06-22 21:51:29 +00:00
Ed Schouten
6c9e1a22ef Improve sentence and add reference to openpty(3). Add missing newlines. 2009-06-20 16:30:32 +00:00
Marius Strobl
7cd038bc98 Add a man page for cas(4) and reference it as appropriate.
Approved by:	re (kib)
MFC after:	2 weeks
2009-06-15 18:24:04 +00:00
Marius Strobl
eea665c4be Improve the description a bit and add a reference to vlan(4). 2009-06-14 14:46:20 +00:00
Sam Leffler
eddfd57fa7 Marvell 88W8363 driver and associated firmware 2009-06-10 03:35:40 +00:00
Sam Leffler
f057099fd5 iwn does not require a license ack 2009-06-10 03:28:34 +00:00
Pyun YongHyeon
ff24f05491 Add alc(4) man page and hook up ale(4) to the build.
Also add Xr to appropriate man pages.
2009-06-10 02:19:54 +00:00
Oleg Bulyzhin
31df6fe446 Sync struct ng_ipfw_tag description with sources.
Submitted by:	Mikolaj Golub
2009-06-09 21:35:32 +00:00
Jung-uk Kim
240d2af5fe Reflect debug level changes from the recent ACPICA import. 2009-06-08 21:48:13 +00:00
Hiroki Sato
dbe5926046 Fix and add a workaround on an issue of EtherIP packet with reversed
version field sent via gif(4)+if_bridge(4).  The EtherIP
implementation found on FreeBSD 6.1, 6.2, 6.3, 7.0, 7.1, and 7.2 had
an interoperability issue because it sent the incorrect EtherIP
packets and discarded the correct ones.

This change introduces the following two flags to gif(4):

 accept_rev_ethip_ver: accepts both correct EtherIP packets and ones
    with reversed version field, if enabled.  If disabled, the gif
    accepts the correct packets only.  This flag is enabled by
    default.

 send_rev_ethip_ver: sends EtherIP packets with reversed version field
    intentionally, if enabled.  If disabled, the gif sends the correct
    packets only.  This flag is disabled by default.

These flags are stored in struct gif_softc and can be set by
ifconfig(8) on per-interface basis.

Note that this is an incompatible change of EtherIP with the older
FreeBSD releases.  If you need to interoperate older FreeBSD boxes and
new versions after this commit, setting "send_rev_ethip_ver" is
needed.

Reviewed by:	thompsa and rwatson
Spotted by:	Shunsuke SHINOMIYA
PR:		kern/125003
MFC after:	2 weeks
2009-06-07 23:00:40 +00:00
Sam Leffler
655d3a2cf7 lack of power save violates 802.11 and is a bug, not a "caveat" 2009-06-05 17:44:43 +00:00
Sam Leffler
31f368ef5b note lack of power save support in ap mode
Submitted by:	"Paul B. Mahol" <onemda@gmail.com>
2009-06-05 17:26:15 +00:00
Pyun YongHyeon
f08e28cfc6 Add 88E8071, 88E8072 to the supported hardware list. While I'm here
correct description of 88E8070. It's Yukon Extreme and have gigabit
PHY.
2009-06-02 05:13:02 +00:00
Joel Dahl
82474c294c - Remove obsolete and confusing comment about renaming "sound" to "snd".
We will look at renaming stuff for 9.0, but it's far from certain that we
   will do it this way.
-  Sort sysctl's alphabetically.  I'll add a bunch of new sysctl's once
   ariff's next mega-patch goes in, and having everything sorted makes my
   job easier.
2009-06-01 18:58:46 +00:00
Pawel Jakub Dawidek
79d6b3f34a Document IP_BINDANY IP socket option.
Reviewed by:	brueffer
2009-06-01 10:30:52 +00:00
Juli Mallett
f5a8c1294c o) Remove some references to long-unsupported old-style config(8) directives.
o) Borrow da(4) language about autoconfiguration for ch(4).
2009-06-01 06:52:03 +00:00
Robert Watson
89614fc2ff Upgrade audit(4) from experimental to production status for FreeBSD 8.0.
While there remain some incomplete aspects of the implementation (such
as incomplete auditing of some system calls), the implementation has
been burned in for a few years, as well as in GENERIC for a few years.

Obtained from:	TrustedBSD Project
2009-05-31 09:03:14 +00:00
Bruce M Simpson
29dc7bc636 Merge final round of MLD changes from p4:
ip6_input.c, in6.h:
 * Add netinet6-specific mbuf flag M_RTALERT_MLD, shadowing M_PROTO6.
  * Always set this flag if HBH Router Alert option is present for MLD,
    even when not forwarding.

 icmp6.c:
 * In icmp6_input(), spell m->m_pkthdr.rcvif as ifp to be consistent.
 * Use scope ID for verifying input. Do not apply SSM filters here, no inpcb.
  * Check for M_RTALERT_MLD when validating MLD traffic, as we can't see
    IPv6 hop options outside of ip6_input().

 in6_mcast.c:
 * Use KAME scope/zone ID in in6_multi.
   * Update net.inet6.ip6.mcast.filters implementation to use scope IDs
     for comparisons.
 * Fix scope ID treatment in multicast socket option processing.
   Scope IDs passed in from userland will be ignored as other less
   ambiguous APIs exist for specifying the link.
 * Tighten userland input checks in IPv6 SSM delta and full-state ops.
   * Source filter embedded scope IDs need to be revisited, for now
     just clear them and ignore them on input.
 * Adapt KAME behaviour of looking up the scope ID in the default zone
   for multicast leaves, when the interface is ambiguous.

 mld6.c:
 * Tighten origin checks on MLD traffic as per RFC3810 Section 6.2:
  * ip6_src MAY be the unspecified address for MLDv1 reports.
  * ip6_src MAY have link-local address scope for MLDv1 reports,
    MLDv1 queries, and MLDv2 queries.
  * Perform address field validation *before* accepting queries.
 * Use KAME scope/zone ID in query/report processing.
   * Break const correctness for mld_v1_input_report(), mld_v1_input_query()
     as we temporarily modify the input mbuf chain.
   * Clear the scope ID before handoff to userland MLD daemon.
 * Fix MLDv1 old querier present timer processing.
   With the protocol defaults, hosts should revert to MLDv2 after 260s.
 * Add net.inet6.mld.v1enable sysctl, default to on.

 ifmcstat.c:
 * Use sysctl by default; -K requests kvm(3) if so compiled.

 mld.4:
 * Connect man page to build.

Tested using PCS.
2009-05-27 18:57:13 +00:00
Bruce M Simpson
dedecb4733 Add mld(4) man page. 2009-05-27 16:30:33 +00:00
Stacey Son
00a5db46de Add the ksyms(4) pseudo driver. The ksyms driver allows a process to
get a quick snapshot of the kernel's symbol table including the symbols
from any loaded modules (the symbols are all merged into one symbol
table).  Unlike like other implementations, this ksyms driver maps
memory in the process memory space to store the snapshot at the time
/dev/ksyms is opened.  It also checks to see if the process has already
a snapshot open and won't allow it to open /dev/ksyms it again until it
closes first.  This prevents kernel and process memory from being
exhausted.  Note that /dev/ksyms is used by the lockstat(1) command.

Reviewed by:	gallatin kib (freebsd-arch)
Approved by:	gnn (mentor)
2009-05-26 21:39:09 +00:00
Pyun YongHyeon
4f9b2cb233 Correct controller description for 88E8035, 88E8036, 88E8038 and
88E8039. These are fast ethernet controllers.
2009-05-25 08:27:52 +00:00
Pyun YongHyeon
004f62de56 msk(4) now supports Yukon FE+. Specifically 88E8040, 88E8040T,
88E8048 and 88E8070 are supported.
Bump .Dd
2009-05-25 08:11:03 +00:00
Bjoern A. Zeeb
db2e47925e Add sysctls to toggle the behaviour of the (former) IPSEC_FILTERTUNNEL
kernel option.
This also permits tuning of the option per virtual network stack, as
well as separately per inet, inet6.

The kernel option is left for a transition period, marked deprecated,
and will be removed soon.

Initially requested by:	phk (1 year 1 day ago)
MFC after:		4 weeks
2009-05-23 16:42:38 +00:00
Andrew Thompson
b47fd40452 Update usb(4) to match reality, remove section on permissions.
Delete usb2_core.4.

Submitted by:	Hans Petter Selasky
2009-05-21 17:26:20 +00:00
Pyun YongHyeon
d4cb58f64c Add nge(4) to the list of drivers supporting ALTQ. 2009-05-21 02:47:46 +00:00
Pyun YongHyeon
fe06074870 nge(4) supports altq(4). Xr altq 2009-05-21 02:44:32 +00:00
Pyun YongHyeon
e222fbb65c DP83821 also supports jumbo frames. 2009-05-21 02:42:15 +00:00
Pyun YongHyeon
ecf900c60c Document sysctl variable dev.nge.%d.int_holdoff. 2009-05-21 02:39:47 +00:00
Joel Dahl
22ccc253a2 Add Dell PowerEdge R200 and R300 to the hardware section. 2009-05-19 17:17:53 +00:00
Sam Leffler
930034efe2 AH_SUPPORT_TDMA is gone; ath now honors IEEE80211_SUPPORT_TDMA
Noticed by:	Jon Loeliger <jdl@jdl.com>
2009-05-19 14:51:48 +00:00
Edward Tomasz Napierala
a7c13ccc01 Add links to libgeom(3) where appropriate. 2009-05-19 12:10:48 +00:00
Christian Brueffer
314a700e2e Remove license clauses 3 and 4 as per rev. 1.2 from NetBSD.
Also, FreeBSD 8.0 will be the first release including this driver. (1)

PR:		134093 (1)
Submitted by:	gavin
2009-05-18 11:23:15 +00:00
Edward Tomasz Napierala
964bb4d3d4 Fix the example. 2009-05-17 12:21:11 +00:00
Christian Brueffer
e43c3a8bd9 Drop clause 3 of the license as per rev. 1.35 from OpenBSD.
Obtained from:	OpenBSD
MFC after:	3 days
2009-05-16 22:18:58 +00:00
Christian Brueffer
cd65fa6f16 Sync up to rev. 1.25 from OpenBSD:
1.19: nop
1.20: nop
1.21: nop
1.22: typo fixed
1.23: license clauses 3 and 4 nuked
1.24: nop
1.25: Sun Crypto Accelerator 1000 has a 5821 chip on it

Obtained from:	OpenBSD
MFC after:	3 days
2009-05-16 21:38:55 +00:00
Christian Brueffer
41aa1f3545 Make the HARDWARE section ready for the automatic hardware notes generation,
fix the date format.
2009-05-16 12:11:06 +00:00
Christian Brueffer
e27fb776f3 Add a manpage for the bwi(4) driver. 2009-05-16 10:42:00 +00:00
Christian Brueffer
a9754a7538 This driver can be loaded as a module now.
MFC after:	3 days
2009-05-15 13:26:54 +00:00
Christian Brueffer
7042d35782 Xref missing wlan drivers. 2009-05-15 10:11:54 +00:00
Christian Brueffer
ca23ba6e2e Sort SEE ALSO section, remove trailing dot. 2009-05-15 10:06:33 +00:00
Ivan Voras
dc974bbb9b Describe the topology_spec sysctl and do some minor adjustments to
relating documentation.

Reviewed by:	brooks (older version)
Approved by:	gnn (mentor)
2009-05-09 20:18:20 +00:00
Sam Leffler
8d0f23a572 hookup iwnfw.4 2009-05-09 19:44:23 +00:00
Sam Leffler
3c29ede04d restore ref to iwnfw 2009-05-09 19:19:30 +00:00
Sam Leffler
638e35d58c iwn firmware 2009-05-09 19:19:19 +00:00
Ollivier Robert
deb1daa82e Remove reference to nonexistant manpage.
PR:		    ports/131898
Submitted by:	    Niclas Zeising <niclas.zeising@gmail.com>
Prodded by:         sbruno
2009-05-09 18:09:18 +00:00
Philip Paeps
fcec7b25b8 Sync ubsec(4) with reality, note BCM5825 support.
Pointed out by:	brueffer
MFC after:	1 minute
2009-05-08 14:09:31 +00:00
Ed Maste
506d3686a2 Update example with feedback from thompsa@. 2009-05-07 16:31:50 +00:00
Ed Maste
7909a69030 s/ath0/wlan0/ since we no longer use the real device directly. 2009-05-07 14:34:49 +00:00
Edward Tomasz Napierala
03befb106d Make gmultipath(8) easier to find. 2009-05-05 13:48:53 +00:00
Hiroki Sato
36cf744872 Fix typos:
s,Novatal,Novatel,
	s,/sys/dev/u3g.c,/sys/dev/usb/serial/u3g.c,

MFC after:      3 days
2009-05-02 11:59:56 +00:00
Maxim Konovalov
3eef459ffc o Correct ng_hole(4) control messages names.
PR:		docs/134100
Submitted by:	Eugene Mychlo
MFC after:	1 week
2009-04-30 10:01:13 +00:00
Ed Schouten
ccfd3aab30 Turn MAXPTSDEVS into a sysctl tunable.
This allows users to increase the maximum amount of pseudo-terminals
without changing any source code. Users must increase UT_LINESIZE before
attempting to increase kern.pts_maxdev.
2009-04-25 10:05:55 +00:00
Christian Brueffer
2a72feb42b Correct the information about when the respective functionality first
appeared in FreeBSD.

PR:		133785
Submitted by:	Ulrich Spoerlein <uqs@spoerlein.net>
MFC after:	3 days
2009-04-23 08:37:56 +00:00
Rafal Jaworowski
9e8894a010 Provide manual page for the tsec(4) device driver.
Obtained from:	Semihalf
2009-04-22 15:25:00 +00:00
Edward Tomasz Napierala
1f6ac2bd3d Turns out rtm_use does still exist, just under different name - for
a long time (since 6.1) it was #defined as rtm_fmask.  Update manual
page.  While here, sync some constants with what's in route.h.
2009-04-22 12:52:12 +00:00
Antoine Brodin
9d9ab10e8b vlan(4) no longer depends on miibus(4).
Reviewed by:	jhb@
MFC after:	1 month
2009-04-20 15:01:45 +00:00
Edward Tomasz Napierala
2ba2ee8d07 Adjust route(4) manual page to remove rtm_use field, which was removed
from the route.h some time ago.

Reviewed by:	rwatson
2009-04-20 13:53:40 +00:00
Warner Losh
39ce911c1e This turns out to be wrong... 2009-04-18 04:21:04 +00:00
Robert Watson
71807e2542 Remove man pages ar(4), ray(4), and sr(4) following removal of these
non-MPSAFE device drivers.
2009-04-16 11:09:59 +00:00
Tim Kientzle
7970a63721 Any tar program should work here; the explicit
reference to bsdtar is misleading.
2009-04-11 22:39:38 +00:00
Warner Losh
a2910806e5 Updates based on my testing of the cards. 2009-04-10 15:01:48 +00:00
Xin LI
358b0d9003 Add the following media types as supported by bce(4):
- 1000BaseSX
 - 2500BaseSX

While I'm there, correct 1000BaseTX as more standard 1000BaseT.

MFC after:	3 days
2009-04-07 22:23:48 +00:00
Christian Brueffer
2469ad2e30 Remove superfluous dot. 2009-04-07 20:13:48 +00:00
Christian Brueffer
b502ecac39 Reword the HARDWARE section so uath(4) can actually be recognized in
the hardware notes on the website.  While here sort SEE ALSO.
2009-04-07 20:11:02 +00:00
Christian Brueffer
5794d21c2c Mdoc cleanup.
Prompted by:	man2hwnotes.pl
MFC after:	3 days
2009-04-07 20:00:20 +00:00
Christian Brueffer
e7d6c4e74e Move an "end list" macro to the right place.
Found by:	man2hwnotes.pl
MFC after:	3 days
2009-04-07 19:53:36 +00:00
Weongyo Jeong
fdda6436a7 do not cause a line break in the AUTHORS section.
Pointed by:	yongari
2009-04-07 04:12:34 +00:00
Weongyo Jeong
54a6481fd1 connect uath.4 to the build. 2009-04-06 12:47:09 +00:00
Ed Schouten
d2a0bb0803 Remove if_ppp(4) and if_sl(4).
Not only did these two drivers depend on IFF_NEEDSGIANT, they were
broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been
replaced by ppp(8). There is no replacement for if_sl(4).

If we see regressions in for example the ports tree, we should just use
__FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are
present. Version 800045 is used to denote the import of MPSAFE TTY.

Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the
                lists.
2009-04-05 22:08:18 +00:00
Weongyo Jeong
dc60165b73 Add uath(4) wireless USB driver for Atheros AR5005UG and AR5005UX
chipsets.

Reviewed by:	sam
2009-04-04 11:23:00 +00:00
Tom Rhodes
5a2d42de0c Remove the fla.4 manual page, the driver was nuked
over four years ago.

Noticed by:	rene
Prodded by:	brueffer
2009-04-01 09:22:25 +00:00
Christian Brueffer
f885252242 Fix typo. 2009-03-29 21:08:48 +00:00
Sam Leffler
50959dc8d4 remove bogus nwid use; that's a compat shim for netbsd 2009-03-29 18:14:45 +00:00
Sam Leffler
c01c776a52 fix wired-wireless failover example and remove incorrect
comment about WPA not working
2009-03-29 18:05:04 +00:00
Warner Losh
2766fd061c Update to include Toshiba LANCT00A card being supported, as well as a
caution that while the Mitsubishi M8895 has a DP83902, its ASIC is
undocumented and doens't work with either the NE2000 or the WD80x3
drivers.
2009-03-28 20:59:25 +00:00
Weongyo Jeong
cb1d58e298 bump date.
Pointed by:	yongari
2009-03-26 06:12:04 +00:00
Weongyo Jeong
298ff442c0 adds malo(4). 2009-03-26 04:17:35 +00:00
Weongyo Jeong
bf5dca34b6 bwi(4) and mwl(4) doesn't exist at CURRENT. 2009-03-26 04:16:40 +00:00
Weongyo Jeong
e575f1bfc8 The malo(4) device driver first appeared in FreeBSD 7.1 not 8.0.
Reported by:	John <lists_at_reiteration.net>
MFC after:	3 days
2009-03-26 02:59:10 +00:00
Warner Losh
6594f4b3d1 Add recently added cards. 2009-03-25 22:14:46 +00:00
Sam Leffler
284699a790 update; mostly to eliminate ambiguity about what hardware is supported 2009-03-25 21:20:15 +00:00
Andrew Thompson
2b78d30630 Remove the uscanner(4) driver, this follows the removal of the kernel scanner
driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and
contained no logic, the default interface is now libusb (supported by sane).

Reviewed by:	HPS
2009-03-19 20:33:26 +00:00
Warner Losh
e3ed9db21c Reference exca. 2009-03-18 20:03:33 +00:00
Robert Watson
3cb73e3d8b Teach the loopback interface about checksum generation and validation
avoidance:

- Enable setting the RXCSUM and TXCSUM flags for loopback interfaces;
  set both by default.
- When RXCSUM is set, flag packets sent over the loopback interface as
  having checked and valid IP, UDP, TCP checksums so that higher
  protocol layers won't check them.
- Always clear CSUM_{IP,UDP_TCP} checksum required flags on transmit,
  as they will have gotten there as a result of TXCSUM being set.

This is done only for packets explicitly sent over the loopback, not
simulated loopback via if_simloop() due to !SIMPLEX interfaces, etc.

Note that enabling TXCSUM but not RXCSUM will lead to unhappiness, as
checksums won't be generated but will be validated.

Kris reports that this leads to significant performance improvements
in loopback benchmarking with TCP and UDP for throughput:

	RXCSUM 	RXCSUM+TXCSUM
TCP	15%	37%
UDP	10%	74%

Update man page.

Reviewed by:	sam
Tested by:	kris
MFC after:	1 week
2009-03-15 20:17:44 +00:00
Rui Paulo
569c3c7dcd Rename the k8temp(4) man page to amdtemp(4) and update its contents for
the new families.

MFC after:	2 weeks
2009-03-13 16:42:24 +00:00
Pyun YongHyeon
fdd3e2aa19 Xref altq.4 and bump .Dd 2009-03-12 01:27:15 +00:00
Pyun YongHyeon
15b42c1197 Add txp(4) to the list of drivers supporting ALTQ. 2009-03-12 01:21:48 +00:00