Commit Graph

3104 Commits

Author SHA1 Message Date
Tom Rhodes
54739799f2 GXP ATA drives also supports TQ 2002-07-02 20:23:43 +00:00
Warner Losh
85f6b8fda7 Clarify version 1.68 to more accurately describe the intent of the change to
try to avoid ambiguous cases in the future.

Wording approved by: julian (early draft), grog, rwatson, wes and maybe other
members of core I'm forgetting.
2002-07-02 01:39:35 +00:00
Brian Somers
cfbd984f1c Fix a tyop 2002-07-02 01:03:10 +00:00
Warner Losh
a9df73aa7b Document what splnet and splimp are in FreeBSD 2002-07-01 22:08:43 +00:00
Kenneth D. Merry
98cb733c67 At long last, commit the zero copy sockets code.
MAKEDEV:	Add MAKEDEV glue for the ti(4) device nodes.

ti.4:		Update the ti(4) man page to include information on the
		TI_JUMBO_HDRSPLIT and TI_PRIVATE_JUMBOS kernel options,
		and also include information about the new character
		device interface and the associated ioctls.

man9/Makefile:	Add jumbo.9 and zero_copy.9 man pages and associated
		links.

jumbo.9:	New man page describing the jumbo buffer allocator
		interface and operation.

zero_copy.9:	New man page describing the general characteristics of
		the zero copy send and receive code, and what an
		application author should do to take advantage of the
		zero copy functionality.

NOTES:		Add entries for ZERO_COPY_SOCKETS, TI_PRIVATE_JUMBOS,
		TI_JUMBO_HDRSPLIT, MSIZE, and MCLSHIFT.

conf/files:	Add uipc_jumbo.c and uipc_cow.c.

conf/options:	Add the 5 options mentioned above.

kern_subr.c:	Receive side zero copy implementation.  This takes
		"disposable" pages attached to an mbuf, gives them to
		a user process, and then recycles the user's page.
		This is only active when ZERO_COPY_SOCKETS is turned on
		and the kern.ipc.zero_copy.receive sysctl variable is
		set to 1.

uipc_cow.c:	Send side zero copy functions.  Takes a page written
		by the user and maps it copy on write and assigns it
		kernel virtual address space.  Removes copy on write
		mapping once the buffer has been freed by the network
		stack.

uipc_jumbo.c:	Jumbo disposable page allocator code.  This allocates
		(optionally) disposable pages for network drivers that
		want to give the user the option of doing zero copy
		receive.

uipc_socket.c:	Add kern.ipc.zero_copy.{send,receive} sysctls that are
		enabled if ZERO_COPY_SOCKETS is turned on.

		Add zero copy send support to sosend() -- pages get
		mapped into the kernel instead of getting copied if
		they meet size and alignment restrictions.

uipc_syscalls.c:Un-staticize some of the sf* functions so that they
		can be used elsewhere.  (uipc_cow.c)

if_media.c:	In the SIOCGIFMEDIA ioctl in ifmedia_ioctl(), avoid
		calling malloc() with M_WAITOK.  Return an error if
		the M_NOWAIT malloc fails.

		The ti(4) driver and the wi(4) driver, at least, call
		this with a mutex held.  This causes witness warnings
		for 'ifconfig -a' with a wi(4) or ti(4) board in the
		system.  (I've only verified for ti(4)).

ip_output.c:	Fragment large datagrams so that each segment contains
		a multiple of PAGE_SIZE amount of data plus headers.
		This allows the receiver to potentially do page
		flipping on receives.

if_ti.c:	Add zero copy receive support to the ti(4) driver.  If
		TI_PRIVATE_JUMBOS is not defined, it now uses the
		jumbo(9) buffer allocator for jumbo receive buffers.

		Add a new character device interface for the ti(4)
		driver for the new debugging interface.  This allows
		(a patched version of) gdb to talk to the Tigon board
		and debug the firmware.  There are also a few additional
		debugging ioctls available through this interface.

		Add header splitting support to the ti(4) driver.

		Tweak some of the default interrupt coalescing
		parameters to more useful defaults.

		Add hooks for supporting transmit flow control, but
		leave it turned off with a comment describing why it
		is turned off.

if_tireg.h:	Change the firmware rev to 12.4.11, since we're really
		at 12.4.11 plus fixes from 12.4.13.

		Add defines needed for debugging.

		Remove the ti_stats structure, it is now defined in
		sys/tiio.h.

ti_fw.h:	12.4.11 firmware.

ti_fw2.h:	12.4.11 firmware, plus selected fixes from 12.4.13,
		and my header splitting patches.  Revision 12.4.13
		doesn't handle 10/100 negotiation properly.  (This
		firmware is the same as what was in the tree previously,
		with the addition of header splitting support.)

sys/jumbo.h:	Jumbo buffer allocator interface.

sys/mbuf.h:	Add a new external mbuf type, EXT_DISPOSABLE, to
		indicate that the payload buffer can be thrown away /
		flipped to a userland process.

socketvar.h:	Add prototype for socow_setup.

tiio.h:		ioctl interface to the character portion of the ti(4)
		driver, plus associated structure/type definitions.

uio.h:		Change prototype for uiomoveco() so that we'll know
		whether the source page is disposable.

ufs_readwrite.c:Update for new prototype of uiomoveco().

vm_fault.c:	In vm_fault(), check to see whether we need to do a page
		based copy on write fault.

vm_object.c:	Add a new function, vm_object_allocate_wait().  This
		does the same thing that vm_object allocate does, except
		that it gives the caller the opportunity to specify whether
		it should wait on the uma_zalloc() of the object structre.

		This allows vm objects to be allocated while holding a
		mutex.  (Without generating WITNESS warnings.)

		vm_object_allocate() is implemented as a call to
		vm_object_allocate_wait() with the malloc flag set to
		M_WAITOK.

vm_object.h:	Add prototype for vm_object_allocate_wait().

vm_page.c:	Add page-based copy on write setup, clear and fault
		routines.

vm_page.h:	Add page based COW function prototypes and variable in
		the vm_page structure.

Many thanks to Drew Gallatin, who wrote the zero copy send and receive
code, and to all the other folks who have tested and reviewed this code
over the years.
2002-06-26 03:37:47 +00:00
Matthew Dillon
455c737411 ICMP type 3 packets should be let through for TCP MTU discovery, fixup
the documentation and sample firewall.

PR:		docs/39495
2002-06-25 04:13:46 +00:00
Matthew Dillon
de795ba0f4 Add sections on vfs.write_behind and vfs.hirunningspace. Also note that
this has already been comitted to stable (the MFC was really through
this commit, not the previous commit).
2002-06-25 02:47:55 +00:00
Matthew Dillon
b895742d96 update the firewall documentation to cover the fact that ipfw can be
loaded as a module.

PR:		kern/39814
2002-06-25 02:34:24 +00:00
Dag-Erling Smørgrav
f191b6f96c Install the tree(3) man page. 2002-06-23 14:44:32 +00:00
Dag-Erling Smørgrav
c83272f713 This commit was generated by cvs2svn to compensate for changes in r98681,
which included commits to RCS files with non-trunk default branches.
2002-06-23 14:41:09 +00:00
Dag-Erling Smørgrav
87f5f0ecf9 Import the documentation for <sys/tree.h>
Obtained from:	OpenBSD
2002-06-23 14:41:09 +00:00
Ruslan Ermilov
518e4deb99 A gross patch to tidy up the formatting.
Not objected to by:	grog
2002-06-21 06:50:16 +00:00
Peter Wemm
3ff369fed2 Remove references to UIO_USERISPACE which no longer exists. 2002-06-20 07:09:24 +00:00
Gregory Neil Shapiro
2a1d418ce1 Add a warning regarding the SENDMAIL_*_MC make.conf variable values.
Using /etc/mail/sendmail.mc will create /etc/mail/sendmail.cf during
a buildworld.

PR:		misc/39397
MFC after:	3 days
2002-06-20 04:33:06 +00:00
Julian Elischer
a835396035 A node that creates a device entry in /dev (yay devfs)
so that /dev/mumble can be the entrypoint to some networking graph,
e.g. a tunnel or a remote tape drive or whatever...

Not fully tested (by me) yet.

Submitted by:	Mark Santcroos <marks@ripe.net>
MFC after:	3 weeks
2002-06-18 21:32:33 +00:00
Giorgos Keramidas
b6fa516a8e Add missing verb. 2002-06-14 22:15:22 +00:00
Warner Losh
232ff1c787 document hw.pcic.ignore_pci 2002-06-14 06:56:35 +00:00
Warner Losh
27aa590f87 Add US Robotics Wireless Card 2410
Also add a snarky note about telling me about changes to this file so I can
keep OpenBSD and FreeBSD's copy of this man page more or less in sync.
2002-06-14 06:56:03 +00:00
Chad David
02aadf0b50 Fix up the wording thoughout, and document locking. 2002-06-10 17:36:05 +00:00
Chad David
d99146a1f3 Fix wording and spelling in the trapsignal() description. 2002-06-10 17:08:42 +00:00
Chad David
e2eca5fe3e Document the cred_update_thread() function, and fix the RETURN VALUES. 2002-06-10 05:18:00 +00:00
Chad David
f7fcafe17a The moduledata_t argument is not a pointer, and sysstem_sub_id should
be sysinit_sub_id.

PR: docs/34583
Approved by: murray
2002-06-10 04:37:11 +00:00
Chad David
920a6f7e8f Add signal.9 and friends. 2002-06-10 03:01:36 +00:00
Chad David
cbebeaa5be New man page that documents many of the kernel related signal functions.
Requested by: alfred
2002-06-10 03:00:24 +00:00
Poul-Henning Kamp
56cf50ad48 Stamp out Danglish: Spelling, grammer and other nitpicking.
Submitted by:	"Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
2002-06-09 10:25:51 +00:00
Doug Barton
b075c273da Per previous discussion, and with Mark's blessing, update the value
of this knob to reflect (-)current reality.
2002-06-09 09:28:02 +00:00
Tim J. Robbins
c309b05304 Document the standard COLUMNS environment variable here to avoid redundant
descriptions of its effects in utilities' manual pages.
2002-06-07 00:45:06 +00:00
Chad David
93994536bd Document MTX_DUPOK
Requested by: jeff (long ago)
2002-06-06 19:08:11 +00:00
Bruce Evans
8d0203782e Finish removing the share/man/tools/directory. 2002-06-01 21:38:39 +00:00
Archie Cobbs
c05b5b0453 Grammar nit: treat "contents" as plural. 2002-05-31 22:26:19 +00:00
Greg Lehey
c4dafa223d Kludge around troff bugs to get a reasonable print format despite the
necessity to shrink quoted text to fit on the page.

PR:	38760
2002-05-31 06:17:03 +00:00
Giorgos Keramidas
ea36a492fc Typo: duel -> dual 2002-05-30 23:48:00 +00:00
Ruslan Ermilov
05cb5024af mdoc(7) police: minor markup nits. 2002-05-30 13:33:59 +00:00
Ruslan Ermilov
216ee80e6d mdoc(7) police: added missing markup bits. 2002-05-30 13:16:25 +00:00
Ruslan Ermilov
e4731543e7 mdoc(7) police: mark up better. 2002-05-30 13:13:05 +00:00
Ruslan Ermilov
706b6f9f2e mdoc(7) police: minor markup fixes. 2002-05-30 12:59:52 +00:00
Ruslan Ermilov
0a8b331854 mdoc(7) police: fixed markup.
This manpage is still too NetBSD-centric.
2002-05-30 12:39:38 +00:00
Ruslan Ermilov
eb98fe6489 mdoc(7) police: minor markup nits.
The SYNOPSIS should be fixed to fit the FreeBSD needs.
2002-05-30 12:34:06 +00:00
Ruslan Ermilov
36e25d6ed3 Added the missing ``and''. 2002-05-30 12:29:37 +00:00
Ruslan Ermilov
866cb5b007 mdoc(7) police: markup nits. 2002-05-30 12:26:27 +00:00
Ruslan Ermilov
d89c4e9875 mdoc(7) police: GC whitespace at EOL. 2002-05-30 12:23:21 +00:00
Ruslan Ermilov
7d1deb1f04 Record the dependency on "device miibus". 2002-05-30 11:47:19 +00:00
Ruslan Ermilov
9be1948fa4 mdoc(7) police: Fix SYNOPSIS, bump document date. 2002-05-30 11:37:39 +00:00
Ruslan Ermilov
b5544fefe9 mdoc(7) police:
Do not use raw roff requests.
Replace tbl(1)'s use with the mdoc(7)'s -column list.
Removed cross references to non-existing manpages.
Minor markup nits.
2002-05-30 10:33:19 +00:00
Ruslan Ermilov
29507f4943 mdoc(7) police: polish revision 1.17 changes. 2002-05-30 10:09:15 +00:00
Ruslan Ermilov
999e589b6a mdoc(7) police: Grr, once again, re-apply many fixes from
revisions 1.2 and 1.5 that got backed out by revision 1.4.
2002-05-30 08:45:06 +00:00
Ruslan Ermilov
83e27deb05 Removed vestiges of perl(1). 2002-05-30 08:34:18 +00:00
Ruslan Ermilov
5ec37969a1 mdoc(7) police: lint. 2002-05-29 18:00:23 +00:00
Ruslan Ermilov
00679a580d mdoc(7) police: lint. 2002-05-29 17:50:04 +00:00
Ruslan Ermilov
3f640b03b1 mdoc(7) police: markup nits. 2002-05-29 17:45:44 +00:00