freebsd-nq/sys/modules
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
..
3dfx Remove NOMAN 2001-03-27 19:04:09 +00:00
aac Add a CAM interface to the aac driver. This is useful in case you should 2002-04-27 01:31:17 +00:00
accf_data Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
accf_http Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
acpi Add generalized power profile code. 2002-03-04 18:46:13 +00:00
agp Export symbols that constitute APIs defined by these 2002-01-11 01:16:00 +00:00
aha Remove NAHA, NAHATOT and aha_softcs and related code. It was unused 2001-02-04 16:45:39 +00:00
aic Add aic to the list of drivers that might work with NEWCARD. I've added 2001-01-08 01:59:15 +00:00
aio Make AIO a loadable module. 2001-12-29 07:13:47 +00:00
amr Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
an Add card_if.h to SRCS. 2001-11-15 18:59:04 +00:00
apm Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ar Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
arcnet Export symbols that constitute APIs defined by these 2002-01-11 01:16:00 +00:00
asr Make an attempt to get the asr driver to compile on Alpha by fixing some i386 2001-04-01 08:33:01 +00:00
atspeaker Added pc98 supports. 2001-02-08 13:24:30 +00:00
aue Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
awi Create a module for awi. 2001-11-19 06:41:04 +00:00
bge Add device driver support for the Broadcom BCM570x family of gigabit 2001-09-27 23:55:28 +00:00
bktr Fix kernel build. 2002-03-25 08:02:54 +00:00
bridge Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
cam Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
cardbus I don't think that these modules should export symbols at all. All 2002-01-11 20:14:03 +00:00
cbb Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ccd Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
cd9660 Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ciss Add the 'ciss' driver, which supports the Compaq SmartRAID 5* family of 2001-11-27 23:08:37 +00:00
cm - generic Arcnet framework 2002-01-08 20:03:13 +00:00
coda Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
coff Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
cue Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
dc Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
de Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
digi Fix my recent breakage of some modules. 2002-02-15 15:45:34 +00:00
drm Zap KMODDEPS entries so that people do not wonder why it isn't working on 2002-05-01 01:34:48 +00:00
dummynet Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ed Add a change I forgot when adding ED_NO_MIIBUS. This will likely 2001-09-30 01:59:11 +00:00
el Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
em Added support for 82545EM and 82546EB based adapters. 2002-06-03 22:30:51 +00:00
ep Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
exca Module for exca. Eventually, this will be shared between pcic and pccbb. 2002-01-29 06:53:32 +00:00
ext2fs Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
fdc Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
fdescfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
fe Make the fe driver kernel object module to compile in default. 2001-09-02 06:43:45 +00:00
fpu Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
fxp vlan.h is obsolete, don't create it anymore. 2001-09-05 23:47:02 +00:00
gnufpu Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
gx Hook the gx module up to the build. 2001-10-19 02:21:16 +00:00
hea Build a 'hea_pci' driver module. 2002-06-03 09:13:53 +00:00
hfa - Convert the 'hfa' ATM interface driver to newbus. 2002-04-17 00:26:09 +00:00
hpfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
i2c Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
ibcs2 Zap obsolete (died with LKM) EXPORT_SYMS variable 2001-02-04 10:52:25 +00:00
if_disc Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_ef Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_faith Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_gif Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_ppp Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_sl Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_stf Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_tap Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
if_tun Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_vlan Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
iir Add the 'iir' driver, for the Intel Integrated RAID controllers and 2002-01-20 08:51:08 +00:00
ip6fw Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ip_mroute_mod Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ipfilter Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ipfw Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ispfw Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
joy Use new location for joy, plus list its new bus front ends. 2001-12-05 09:09:48 +00:00
kue Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
lge Add device driver support for the Level 1 LXT1001 NetCellerator 2001-05-31 21:44:26 +00:00
libiconv Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
libmchain Export symbols that constitute APIs defined by these 2002-01-11 01:16:00 +00:00
linprocfs Move the pseudofs, procfs and linprocfs modules out from the fs directory. 2002-02-04 20:16:50 +00:00
linux Hook up the new linux_ptrace implementation. 2002-05-19 01:27:14 +00:00
lnc - Don't overwrite inb, inw and outw. 2001-07-04 13:00:21 +00:00
lomac Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
lpt Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
md Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
mii Export symbols that constitute APIs defined by these 2002-01-11 01:16:00 +00:00
mlx Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
mly Merge with latest version of the Mylex 6+ driver. 2001-07-14 00:12:23 +00:00
msdosfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
my This time get it right 2002-04-16 20:40:06 +00:00
ncp Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ncv Add module directories and makefiles for ncv, nsp, stg and scsi_low 2001-12-15 12:37:36 +00:00
netgraph A node that creates a device entry in /dev (yay devfs) 2002-06-18 21:32:33 +00:00
nfsclient Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
nfsserver Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
nge vlan.h is obsolete, don't create it anymore. 2001-09-05 23:47:02 +00:00
nmdm Not quite working makefile to make the nmdm device as a module. 2001-02-27 16:53:59 +00:00
nsp Add module directories and makefiles for ncv, nsp, stg and scsi_low 2001-12-15 12:37:36 +00:00
ntfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
nullfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
nwfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
oldcard Make oldcard and newcard kernel module work. 2002-05-30 17:38:00 +00:00
oltr Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
osf1 Allow alpha kernels to compile again- make sure opt_ddb.h is included 2002-01-17 02:16:35 +00:00
pccard I don't think that these modules should export symbols at all. All 2002-01-11 20:14:03 +00:00
pccbb Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
pcfclock Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
pcic I don't think that these modules should export symbols at all. All 2002-01-11 20:14:03 +00:00
pcn Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
pecoff Zap some bad examples: 2001-02-04 08:23:14 +00:00
plip Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
pmc Added the pmc driver which supports power management controller of 2001-10-24 14:46:40 +00:00
portalfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ppbus Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ppi Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
pps Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
procfs Move the pseudofs, procfs and linprocfs modules out from the fs directory. 2002-02-04 20:16:50 +00:00
pseudofs Move the pseudofs, procfs and linprocfs modules out from the fs directory. 2002-02-04 20:16:50 +00:00
random Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ray Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
rl Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
rp Fix my recent breakage of some modules. 2002-02-15 15:45:34 +00:00
s3 Remove some stray traces of KMODDEPS 2001-02-04 12:35:22 +00:00
sbni Add driver for Granch SBNI12-xx ISA and PCI network adapters. 2001-11-21 22:29:35 +00:00
scsi_low Export symbols that constitute APIs defined by these 2002-01-11 01:16:00 +00:00
sf Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
sis Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
sk Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
smbfs Unbreak the build of smbfs.ko. 2002-03-18 13:06:57 +00:00
sn Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
snc Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
snp Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
sound remove modules no longer built 2002-01-23 03:43:16 +00:00
splash Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
sppp sppp needs slcompress.c nowadays. 2002-06-17 05:40:49 +00:00
sr Zap some bad examples: 2001-02-04 08:23:14 +00:00
ste Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
stg Add module directories and makefiles for ncv, nsp, stg and scsi_low 2001-12-15 12:37:36 +00:00
streams Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
svr4 genassym depends on the presence of common variables, disable the use 2002-01-10 03:52:54 +00:00
sym Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
syscons Add new graphical screen saver (dragon_saver). 2002-03-23 12:36:19 +00:00
sysvipc Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader 2001-10-10 23:06:54 +00:00
ti At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
tl Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
twe Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
tx Move tx(4) driver to sys/dev/tx. BTW split hardware structures and constants 2002-04-19 22:43:57 +00:00
txp vlan.h is obsolete, don't create it anymore. 2001-09-05 23:47:02 +00:00
ucom Add a USB comm driver. 2002-03-18 18:23:42 +00:00
udbp Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
udf Nuke -g 2002-04-28 06:38:38 +00:00
ufm Support for USB fm radio. 2002-03-04 03:51:21 +00:00
ugen Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
uhid Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ukbd Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ulpt Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
umapfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
umass Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
umodem Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ums Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
unionfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
uplcom Add a USB comm driver. 2002-03-18 18:23:42 +00:00
urio Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
usb Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
uscanner Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
uvscom Add a USB comm driver. 2002-03-18 18:23:42 +00:00
vesa Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
vinum Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
vpo Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
vr Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
vx Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
wb Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
wi -DWI_HOSTAP no longer needed 2002-04-12 06:01:49 +00:00
xe Add a module of xe driver. 2002-02-20 15:00:34 +00:00
xl Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
Makefile - Add 'hea'. 2002-06-03 09:13:22 +00:00
Makefile.inc KLDMOD is not used since share/mk/bsd.kmod.mk,v 1.60. 2001-09-18 11:03:35 +00:00