Commit Graph

3109 Commits

Author SHA1 Message Date
trhodes
e3ef879225 GXP ATA drives also supports TQ 2002-07-02 20:23:43 +00:00
imp
18542852db 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
5edca8c495 Fix a tyop 2002-07-02 01:03:10 +00:00
imp
b0134483be Document what splnet and splimp are in FreeBSD 2002-07-01 22:08:43 +00:00
ken
0d3a835f3f 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
dillon
8441f43b69 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
dillon
015ebe4a16 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
dillon
a1c22f015e 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
des
e9f3540c66 Install the tree(3) man page. 2002-06-23 14:44:32 +00:00
des
753bb69feb 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
des
75f4088eb7 Import the documentation for <sys/tree.h>
Obtained from:	OpenBSD
2002-06-23 14:41:09 +00:00
ru
12e67c1961 A gross patch to tidy up the formatting.
Not objected to by:	grog
2002-06-21 06:50:16 +00:00
peter
03bf5843fd Remove references to UIO_USERISPACE which no longer exists. 2002-06-20 07:09:24 +00:00
gshapiro
73c114c147 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
2ddb82d191 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
keramida
a09941cc30 Add missing verb. 2002-06-14 22:15:22 +00:00
imp
ae262b5e75 document hw.pcic.ignore_pci 2002-06-14 06:56:35 +00:00
imp
660e098483 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
davidc
7c1d0c842e Fix up the wording thoughout, and document locking. 2002-06-10 17:36:05 +00:00
davidc
05edc5e1c8 Fix wording and spelling in the trapsignal() description. 2002-06-10 17:08:42 +00:00
davidc
9508c40671 Document the cred_update_thread() function, and fix the RETURN VALUES. 2002-06-10 05:18:00 +00:00
davidc
9477a17019 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
davidc
55adce9473 Add signal.9 and friends. 2002-06-10 03:01:36 +00:00
davidc
d807f27d99 New man page that documents many of the kernel related signal functions.
Requested by: alfred
2002-06-10 03:00:24 +00:00
phk
3f07967849 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
dougb
e8ef99c274 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
tjr
6a0bd60d3a 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
davidc
7b59b3310d Document MTX_DUPOK
Requested by: jeff (long ago)
2002-06-06 19:08:11 +00:00
bde
f70773e964 Finish removing the share/man/tools/directory. 2002-06-01 21:38:39 +00:00
archie
c83ce35c4a Grammar nit: treat "contents" as plural. 2002-05-31 22:26:19 +00:00
grog
53053302dd 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
keramida
c143088c4b Typo: duel -> dual 2002-05-30 23:48:00 +00:00
ru
a54f2810df mdoc(7) police: minor markup nits. 2002-05-30 13:33:59 +00:00
ru
c29678b8e7 mdoc(7) police: added missing markup bits. 2002-05-30 13:16:25 +00:00
ru
c8f6cf0f6f mdoc(7) police: mark up better. 2002-05-30 13:13:05 +00:00
ru
e328d7c9af mdoc(7) police: minor markup fixes. 2002-05-30 12:59:52 +00:00
ru
21f1002bbb mdoc(7) police: fixed markup.
This manpage is still too NetBSD-centric.
2002-05-30 12:39:38 +00:00
ru
934525de9e mdoc(7) police: minor markup nits.
The SYNOPSIS should be fixed to fit the FreeBSD needs.
2002-05-30 12:34:06 +00:00
ru
d3e862e281 Added the missing ``and''. 2002-05-30 12:29:37 +00:00
ru
765a02e091 mdoc(7) police: markup nits. 2002-05-30 12:26:27 +00:00
ru
ab0962a94a mdoc(7) police: GC whitespace at EOL. 2002-05-30 12:23:21 +00:00
ru
996f95c5fe Record the dependency on "device miibus". 2002-05-30 11:47:19 +00:00
ru
1b01e6fb63 mdoc(7) police: Fix SYNOPSIS, bump document date. 2002-05-30 11:37:39 +00:00
ru
ccff17a7e5 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
ru
acda8112f3 mdoc(7) police: polish revision 1.17 changes. 2002-05-30 10:09:15 +00:00
ru
33d9582e06 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
ru
31b96e02c7 Removed vestiges of perl(1). 2002-05-30 08:34:18 +00:00
ru
d70d6a2c6b mdoc(7) police: lint. 2002-05-29 18:00:23 +00:00
ru
9495c02d27 mdoc(7) police: lint. 2002-05-29 17:50:04 +00:00
ru
e5cbcedc3e mdoc(7) police: markup nits. 2002-05-29 17:45:44 +00:00