Commit Graph

4712 Commits

Author SHA1 Message Date
melifaro
a0b36d5a0f Make radix lookup on src and dst flow addresses optional
and configurable on per-interface basis.
Remove __inline__ for several functions being called once per
flow (e.g once per 10-20 packets on common traffic flows).
Update manual page to simplify search for BPF data link types.

Sponsored by Yandex LLC

Reviewed by:      glebius
Approved by:      ae(mentor)
MFC after:        2 weeks
2012-06-18 13:56:36 +00:00
eadler
82c586a58c Fix mdoc style nits
PR:		kern/168910
Submitted by:	gjb
Approved by:	gjb
MFC after:	3 days
X-MFC-With:	r237178
2012-06-17 03:54:10 +00:00
eadler
a16d44b938 attach_generic causes missing devices in /dev when the driver
interacts with some non-highpoint controollers. Change attach_generic to
be off by default.

PR:		kern/168910
Submitted by:	Richard Yao <ryao@gentoo.org>
Approved by:	cperciva
No objections by:	-hackers
Obtained from:	Gentoo FreeBSD
MFC after:	2 weeks
2012-06-17 02:46:27 +00:00
ru
ab30d1b386 Fixed an example that set IP_ONESBCAST socket option to actually work,
and not return EINVAL.
2012-06-15 09:12:47 +00:00
tuexen
32041f44ed Add a IP_RECVTOS socket option to receive for received UDP/IPv4
packets a cmsg of type IP_RECVTOS which contains the TOS byte.
Much like IP_RECVTTL does for TTL. This allows to implement a
protocol on top of UDP and implementing ECN.

MFC after: 3 days
2012-06-12 14:02:38 +00:00
trhodes
9fb6332683 "on the their types." -> "on their types." 2012-06-10 15:56:49 +00:00
wblock
13c9a1f2f5 Add specific supported revision of ASUS USB-N13 ver. A1.
http://lists.freebsd.org/pipermail/freebsd-doc/2012-June/019960.html

Submitted by:	PseudoCylon (AK)
Approved by:	bcr (mentor)
MFC after:	3 days
2012-06-07 14:38:43 +00:00
mav
56a5c844a2 To make CAM debugging easier, compile in some debug flags (CAM_DEBUG_INFO,
CAM_DEBUG_CDB, CAM_DEBUG_PERIPH and CAM_DEBUG_PROBE) by default.
List of these flags can be modified with CAM_DEBUG_COMPILE kernel option.
CAMDEBUG kernel option still enables all possible debug, if not overriden.

Additional 50KB of kernel size is a good price for the ability to debug
problems without rebuilding the kernel. In case where size is important,
debugging can be compiled out by setting CAM_DEBUG_COMPILE option to 0.
2012-06-07 10:05:51 +00:00
obrien
764f69e529 Add to the description and spell check. 2012-06-06 16:51:33 +00:00
tuexen
caa3fadb76 The cmsg_len field includes the cmsg header. So use CMSG_LEN().
MFC after: 3 days
2012-06-05 20:48:13 +00:00
obrien
a8e30d2658 mdoc police.
Submitted by:	ru
Much thanks to:	ru
2012-06-05 20:32:38 +00:00
joel
f601773fa5 Remove end of line whitespace. 2012-06-05 17:58:47 +00:00
obrien
6258379f2f RAID is an acronym. 2012-06-05 17:49:11 +00:00
joel
c6d0736c85 Various mdoc fixes. 2012-06-05 17:46:50 +00:00
obrien
5bfb5484b9 Correct examples to the latest version I had. 2012-06-05 17:36:28 +00:00
eadler
d7c9a0e9e9 Fix style nit: don't use leading zero for dates in .Dd
Prompted by:	brueffer
Approved by:	brueffer
MFC after:	3 days
2012-06-05 03:14:39 +00:00
wblock
2e99fda084 More wording corrections and simplifications.
Approved by:	gjb (mentor)
2012-06-05 02:18:54 +00:00
obrien
f907fd010e Add a man page for filemon(4) [r236592]. 2012-06-04 22:59:06 +00:00
sbruno
0dd8d2fe74 Lines were a bit too long. Wrap some of them to 60 columns.
Suggested by:   bjk@
MFC after:      3 days
2012-06-04 22:46:04 +00:00
joel
f2d65ab354 mdoc: minor Bl improvements. 2012-06-02 11:03:14 +00:00
joel
39c680fbf1 mdoc: terminate quoted string and remove unneeded paragraph macro. 2012-06-01 19:26:38 +00:00
sbruno
fde5297347 Doh! Bump the date as I touched it!
Noted by:	gjb@
MFC after:	3 days
2012-06-01 19:09:17 +00:00
sbruno
266a4711a8 Add notes and information for exposed tuneables in bce(4).
Add source of documentation for this driver.

Thanks to Warren Block for the suggestions for readability.

Note that strict_rx_mtu in inverted in stable/7/8/9 and is
named loose_rx_mtu.  Ensure that this is converted over when MFC'd

hw.bce.rx_ticks
hw.bce.rx_ticks_int
hw.bce.rx_quick_cons_trip
hw.bce.rx_quick_cons_trip_int
hw.bce.tx_ticks
hw.bce.tx_ticks_int
hw.bce.tx_quick_cons_trip
hw.bce.tx_quick_cons_trip_int
hw.bce.strict_rx_mtu
hw.bce.hdr_split
hw.bce.tx_pages
hw.bce.rx_pages
hw.bce.tso_enable
hw.bce.verbose

Reviewed by:  Warren Block <wblock@wonkity.com>
MFC after:	3 days
2012-06-01 18:01:51 +00:00
jhb
fc5158822c - Witness doesn't verify the old MTX_NOSWITCH flag's correctness (that was obsoleted
when critical sections were added).  Instead, list a check that witness does perform.
- Note that 'show locks' in DDB takes an optional thread argument.
- Document 'show all locks'.
- Remove the BUGS section, the bug in question was fixed 11 years ago in r76272.
2012-05-30 21:02:12 +00:00
bjk
61c789bc4b Catch up to the carp rewrite and refer to vhids instead of interfaces.
Pointy hat to:	bjk
Submitted by:	glebius
Approved by:	hrs (mentor)
2012-05-30 05:42:40 +00:00
kevlo
ba87efc7e0 Hook up wbwd man page to the build. 2012-05-30 02:02:37 +00:00
wblock
402b03b98a Wording corrections and simplifications.
Approved by:	gjb (mentor)
MFC after:	3 days
2012-05-26 21:30:18 +00:00
gjb
61ebbeb1e1 mdoc(7) style/formatting fixes.
While here, fix a few nits igor(1) does not like.

MFC after:	3 days
2012-05-17 20:49:44 +00:00
gber
8d93169f7c Removed repeated content from man page. 2012-05-17 11:53:38 +00:00
gber
6f7c735300 Import work done under project/nand (@235533) into head.
The NAND Flash environment consists of several distinct components:
  - NAND framework (drivers harness for NAND controllers and NAND chips)
  - NAND simulator (NANDsim)
  - NAND file system (NAND FS)
  - Companion tools and utilities
  - Documentation (manual pages)

This work is still experimental. Please use with caution.

Obtained from: Semihalf
Supported by:  FreeBSD Foundation, Juniper Networks
2012-05-17 10:11:18 +00:00
joel
ec1de9262d mdoc: Avoid playing tricks with Ns: If Nm is present in the SYNOPSIS section,
it will be output on its own line. Ns cancels this effect however. This change
is also consistent with the rest of our manual pages.
2012-05-14 16:25:17 +00:00
joel
3a772ce0a6 Remove end of line whitespace. 2012-05-12 19:59:37 +00:00
joel
b7c89a0edb Minor mdoc nit. 2012-05-12 19:53:44 +00:00
gjb
1f9ce5f4a1 Docuement requirement to alter some sysctls when using igb(4) with
jumbo frames.

PR:		153738
Submitted by:	Tom Judge (tom!tomjudge.com)
Discussed with:	jfv (in part, a long time ago...)
MFC after:	1 week
2012-05-12 18:10:27 +00:00
joel
a68d81c8cc mdoc: list items should be specified with the It macro. 2012-05-12 07:01:21 +00:00
gjb
8c3a5f5c35 Remove duplicate words in mdoc(7) pages.
PR:		167810
Submitted by:	Bryan Drewery {bryan!shatow%net} (hackers lounge)
Found with:	textproc/igor
MFC after:	3 days
2012-05-12 03:46:43 +00:00
gjb
ed459e330b General mdoc(7) and typo fixes.
PR:		167776
Submitted by:	Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after:	3 days
2012-05-12 03:25:46 +00:00
gjb
f7c356b602 Bump .Dd 2012-05-12 00:30:54 +00:00
imp
6c7125e2ba Add pointers for how to setup debugging over firewire. 2012-05-11 21:25:59 +00:00
bschmidt
c42a8fec96 remove trailing '.'
Poked by:	gjb
MFC after:	3 weeks
2012-05-10 18:25:59 +00:00
bschmidt
49531896cf ifconfig(8) is important, but no need to mention it twice.
MFC after:	3 weeks
2012-05-10 18:14:25 +00:00
bschmidt
f5b7cbb0c5 Update man page due import of RT2800/RT3000 support.
Obtained from:	OpenBSD
MFC after:	3 weeks
2012-05-10 18:10:20 +00:00
jkim
2ed237af62 Complete commit message for r235024:
Use MADT to match ACPI Processor objects to CPUs.  MADT and DSDT/SSDTs may
list CPUs in different orders, especially for disabled logical cores.  Now
we match ACPI IDs from the MADT with Processor objects, strictly order CPUs
accordingly, and ignore disabled cores.  This prevents us from executing
methods for other CPUs, e. g., _PSS for disabled logical core, which may not
exist.  Unfortunately, it is known that there are a few systems with buggy
BIOSes that do not have unique ACPI IDs for MADT and Processor objects.  To
work around these problems, 'debug.acpi.cpu_unordered' tunable is added.
Set this to a non-zero value to restore the old behavior.
Many thanks to jhb for pointing me to the right direction and the manual
page change.

Reported by:	Harris, James R (james dot r dot harris at intel dot com)
Tested by:	Harris, James R (james dot r dot harris at intel dot com)
Reviewed by:	jhb
MFC after:	1 month
2012-05-04 18:54:51 +00:00
jkim
cbd8dc582e Use MADT to match ACPI Processor objects to CPUs. MADT and DSDT/SSDTs may
list CPUs in different orders, especially for disabled logical cores.  Now
we match ACPI IDs from the MADT with Processor objects, strictly order CPUs
accordingly, and ignore disabled cores.  This prevents us from executing
methods for other CPUs, e. g., _PSS for disabled logical core, which may not
exist.  Unfortunately, it is known that there are a few systems with buggy
BIOSes that do not have unique ACPI IDs for MADT and Processor objects.  To
work around these problems
2012-05-04 18:24:38 +00:00
bjk
fa4352cd7f Grammar and markup fixes.
PR:		docs/159854
Approved by:	hrs (mentor)
2012-05-03 13:08:11 +00:00
np
45cd6b589c Change the default to not use packet counters to generate rx interrupts.
Rely solely on the timer based mechanism.

Update man page to reflect this change.

MFC after:	1 week
2012-04-30 09:46:05 +00:00
delphij
764e756505 Use 10.0 instead of 10 for FreeBSD version number. The latter undefined. 2012-04-22 07:42:44 +00:00
joel
908f0136e8 Minor mdoc fixes. 2012-04-21 11:51:31 +00:00
jpaetzel
4cba6f70cf Update to version 2.3.1.0
Obtained from:	Daniel Braniss <danny@cs.huji.ac.il>
2012-04-13 18:21:56 +00:00
joel
0ef023ae5b mdoc: fix column names, indentation, column separation within each row, and
quotation. Also make sure we have the same amount of columns in each row as
the number of columns we specify in the head arguments.

Reviewed by:	brueffer
2012-04-07 09:05:30 +00:00