freebsd-skq/share/man/man4
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
..
man4.alpha More file system > filesystem 2002-05-16 05:21:58 +00:00
man4.i386 mdoc(7) police: markup nits. 2002-05-30 12:26:27 +00:00
aac.4 Fix a manlint nit with the aac.4 manpage. 2001-09-27 21:52:42 +00:00
acpi.4 Update to match new debugging subsystem/level codes. Also mention 2001-08-26 22:51:52 +00:00
adv.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
adw.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
agp.4 Add support for Intel's i820/i840/i845/i850/i860 chipset. 2001-11-19 07:15:45 +00:00
aha.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
ahb.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
ahc.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
amd.4
amr.4 Add a SEE ALSO section like the rest of the SCSI driver man pages. 2001-09-05 19:23:36 +00:00
an.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
asr.4 mdoc(7) police: s;BSD/OS;.Bsx; where appropriate. 2001-08-13 17:07:40 +00:00
ata.4 Document support for VIA 82C596 ATA-33 and ATA-66. 2001-11-02 12:22:17 +00:00
atkbd.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
atkbdc.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
aue.4
awi.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
bge.4 Add support for the Netgear GA302T 10/100/1000 adapter. Given that 2002-01-27 01:00:16 +00:00
bktr.4 Fix grammar and capitalization bogons. 2002-03-28 17:03:21 +00:00
blackhole.4 sysctl -w -> sysctl, remove second person pronouns, and fix some other 2001-10-15 13:30:52 +00:00
bpf.4 Correct typo. 2002-03-30 23:19:18 +00:00
bridge.4 Unobfuscate VLAN trunking description. 2002-03-18 14:41:47 +00:00
bt.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
ccd.4 Typo: duel -> dual 2002-05-30 23:48:00 +00:00
cd.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
ch.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
csa.4 Driver supports CS4280 rather than CS428x. 2001-09-07 16:44:13 +00:00
cue.4
cy.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
da.4 More file system > filesystem 2002-05-16 05:21:58 +00:00
dc.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
ddb.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
de.4
disc.4 mdoc(7) police: GC whitespace at EOL. 2002-05-30 12:23:21 +00:00
divert.4 Fix syntax error. 2002-03-13 18:37:40 +00:00
dpt.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
dummynet.4 NMBCLUSTERS, not NMBCLUSTER. 2001-11-07 14:36:50 +00:00
ed.4 mdoc(7) police: really back out rev. 1.32. 2002-05-29 16:59:10 +00:00
ef.4 Add missing verb. 2002-06-14 22:15:22 +00:00
em.4 mdoc(7) police: Grr, once again, re-apply many fixes from 2002-05-30 08:45:06 +00:00
en.4 Ispell sweep of share/man/man4/man4.i386. 2002-01-21 12:36:12 +00:00
faith.4 Document the fact that these devices are allocated at runtime using 2002-05-29 06:55:06 +00:00
fd.4
fdc.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
fpa.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
fxp.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
geom.4 Stamp out Danglish: Spelling, grammer and other nitpicking. 2002-06-09 10:25:51 +00:00
gif.4 mdoc(7) police: nits. 2002-03-18 12:34:41 +00:00
gusc.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
gx.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
ichsmb.4
icmp6.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
icmp.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ieee80211.4 Fixed missing includes in synopsis. 2001-10-03 03:05:26 +00:00
ifmib.4 mdoc(7) police: mark errno as a variable. 2001-11-21 13:38:17 +00:00
iic.4
iicbb.4
iicbus.4
iicsmb.4
inet6.4 correct wording. 2002-05-15 16:37:26 +00:00
inet.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
intpm.4 Add 'device smb' to the synopsis, as this is required to do anything 2001-09-18 02:50:24 +00:00
intro.4 More file system > filesystem 2002-05-16 05:21:58 +00:00
ip6.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
ip.4 Update ip(4) manpage to reflect recent ephemeral port range 2002-04-09 18:03:18 +00:00
ipfirewall.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ipsec.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
isp.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
ispfw.4 mdoc(7) police: fixed the "new sentence" bogons. 2001-08-10 15:03:10 +00:00
joy.4 Install sys/security/lomac/*.h to /usr/include/security/lomac/. 2002-03-26 16:05:14 +00:00
kame.4 mdoc(7) police: 2001-08-07 15:48:51 +00:00
keyboard.4
kld.4
ktr.4
kue.4
lge.4 MFS: in HISTORY section, fix release number of first appearance 2001-08-01 12:15:21 +00:00
lo.4
lomac.4 NAI DBA update. 2002-03-14 21:58:58 +00:00
lp.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
lpbb.4
lpt.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
maestro3.4 mdoc(7) police: minor markup and content fixes. 2001-11-21 17:12:31 +00:00
Makefile Add a simple manpage for the discard interface derived from lo(4). 2002-05-29 06:59:30 +00:00
md.4
mem.4 memrange.h is in sys/. 2002-02-10 08:52:25 +00:00
mlx.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
mly.4
mouse.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mtio.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
natm.4 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
ncr.4
netgraph.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
netintro.4 s/UNIX/FreeBSD/ 2002-03-18 12:39:32 +00:00
ng_async.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_bpf.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_bridge.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_cisco.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_device.4 A node that creates a device entry in /dev (yay devfs) 2002-06-18 21:32:33 +00:00
ng_echo.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_etf.4 Slight correction to ng_etf man page and add it to the list 2002-04-09 21:34:33 +00:00
ng_ether.4 Fix braino: the example interface is fxp0, not ed0. 2002-03-30 23:23:41 +00:00
ng_frame_relay.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_gif_demux.4 mdoc(7) police: minor markup and spelling fixes. 2001-11-22 11:32:27 +00:00
ng_gif.4 mdoc(7) police: minor markup and misc fixes. 2001-11-22 11:25:02 +00:00
ng_hole.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_iface.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_ip_input.4 mdoc(7) police: minor markup and misc fixes. 2001-11-22 11:36:29 +00:00
ng_ksocket.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
ng_lmi.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_mppc.4 Document support for 56-bit keys. 2002-03-20 18:16:18 +00:00
ng_one2many.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_ppp.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_pppoe.4 Document NGM_PPPOE_ACNAME. 2002-02-20 15:55:02 +00:00
ng_pptpgre.4 Typo: s/acknowlegement/acknowledgement/ 2002-03-16 17:56:40 +00:00
ng_rfc1490.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_socket.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_split.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
ng_tee.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_tty.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_UI.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ng_vjc.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
nge.4 Fix typo: s/of/or/ 2002-03-01 17:29:51 +00:00
nmdm.4 For consistency with other man pages, fix first appearance. 2001-08-11 00:59:40 +00:00
null.4
ohci.4
oldcard.4 document hw.pcic.ignore_pci 2002-06-14 06:56:35 +00:00
orm.4 Clarify the BUGS section. 2001-08-08 21:00:54 +00:00
pass.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
pci.4 Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
pcic.4 document hw.pcic.ignore_pci 2002-06-14 06:56:35 +00:00
pcm.4 mdoc(7) police: anchor punctuation. 2001-11-21 10:33:42 +00:00
pcn.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
pcvt.4 Typo: s/happenes/happens/ 2002-03-16 18:20:44 +00:00
polling.4 Add 'rl' to the list of supported drivers. 2002-04-21 15:47:59 +00:00
ppbus.4
ppc.4
ppi.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ppp.4
psm.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
pt.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
pty.4
puc.4 mdoc(7) police: tidy up. 2002-03-18 16:40:07 +00:00
random.4
rl.4 Record the dependency on "device miibus". 2002-05-30 11:47:19 +00:00
route.4 Typo; s/lister/listener/ 2002-03-14 18:34:46 +00:00
rp.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
sa.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
sbc.4 Grammar nit. 2001-11-21 10:39:12 +00:00
screen.4 Document new cursor escape sequences. 2001-10-01 13:47:40 +00:00
scsi.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
sd.4
ses.4
sf.4 mdoc(7) police: fixed the "new sentence" bogons. 2001-08-10 15:03:10 +00:00
si.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
sio.4 Put missing space. 2001-11-21 10:42:18 +00:00
sis.4
sk.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
sl.4
smb.4
smbus.4
smp.4
sn.4
snd_csa.4 Driver supports CS4280 rather than CS428x. 2001-09-07 16:44:13 +00:00
snd_gusc.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
snd_maestro3.4 mdoc(7) police: minor markup and content fixes. 2001-11-21 17:12:31 +00:00
snd_sbc.4 Grammar nit. 2001-11-21 10:39:12 +00:00
snp.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
spic.4 Added the missing ``and''. 2002-05-30 12:29:37 +00:00
spkr.4 Ispell sweep of share/man/man4/man4.i386. 2002-01-21 12:36:12 +00:00
splash.4 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
sppp.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
st.4
ste.4
stf.4 Document the fact that these devices are allocated at runtime using 2002-05-29 06:55:06 +00:00
sym.4 Consistently use 'queueing' instead of 'queuing'. Both spellings are 2001-08-25 21:58:58 +00:00
syncer.4 More file system > filesystem 2002-05-16 05:21:58 +00:00
syscons.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
sysmouse.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
tap.4 Make a few content fixes/additions to tap(4) manual page. 2002-04-12 22:06:16 +00:00
tcp.4 Describe possible values for net.inet.tcp.log_in_vain 2002-04-16 13:19:33 +00:00
tdfx.4
termios.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
ti.4 At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
tl.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
ttcp.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
tty.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
tun.4 Document that IFF_MULTICAST should be ORd with IFF_POINTOPOINT or 2001-08-25 09:14:55 +00:00
twe.4
tx.4 mdoc(7) police: tidy up the markup. 2002-05-29 17:08:58 +00:00
txp.4 mdoc(7) police: markup nit. 2001-08-17 12:26:00 +00:00
ucom.4 mdoc(7) police: minor markup nits. 2002-05-30 12:34:06 +00:00
udbp.4 Typo: s/avalable/available/ 2002-03-16 18:02:30 +00:00
udp.4 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ugen.4 mdoc(7) police: general cleanup. 2001-11-22 11:56:54 +00:00
uhci.4
uhid.4 mdoc(7) police: fixed markup. 2002-05-30 12:39:38 +00:00
uhidev.4 mdoc(7) police: minor markup fixes. 2002-05-30 12:59:52 +00:00
ukbd.4 mdoc(7) police: markup, spelling, and grammar fixes. 2001-12-18 09:40:22 +00:00
ulpt.4 mdoc(7) police: minor markup fixes. 2002-05-30 12:59:52 +00:00
umass.4
umodem.4 mdoc(7) police: minor markup fixes. 2002-05-30 12:59:52 +00:00
ums.4
unix.4 mdoc(7) police: fixed markup, removed the extra word. 2001-08-20 08:28:18 +00:00
uplcom.4 mdoc(7) police: minor markup fixes. 2002-05-30 12:59:52 +00:00
urio.4
usb.4 mdoc(7) police: tidy up. 2002-03-18 14:35:22 +00:00
uscanner.4
uvscom.4 mdoc(7) police: minor markup fixes. 2002-05-30 12:59:52 +00:00
vga.4 Update man pages in the section 4 to match the reality in -CURRENT. 2001-10-13 09:08:37 +00:00
vinum.4 A gross patch to tidy up the formatting. 2002-06-21 06:50:16 +00:00
vlan.4 Document the fact that these devices are allocated at runtime using 2002-05-29 06:55:06 +00:00
vpo.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
vr.4 Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
wb.4
wi.4 Add US Robotics Wireless Card 2410 2002-06-14 06:56:03 +00:00
witness.4 mdoc(7) police: s;BSD/OS;.Bsx; where appropriate. 2001-08-13 17:07:40 +00:00
worm.4 cdrecord is now called cdrtools 2001-08-17 06:42:31 +00:00
xl.4
xpt.4
zero.4