1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1995-12-14 10:08:31 +00:00
|
|
|
|
2001-07-10 07:42:35 +00:00
|
|
|
MAN= BUF_LOCK.9 BUF_LOCKFREE.9 BUF_LOCKINIT.9 BUF_REFCNT.9 \
|
2003-09-24 05:18:41 +00:00
|
|
|
BUF_TIMELOCK.9 BUF_UNLOCK.9 BUS_CONFIG_INTR.9 BUS_PRINT_CHILD.9 \
|
|
|
|
BUS_READ_IVAR.9 BUS_SETUP_INTR.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
DECLARE_MODULE.9 DELAY.9 DEVICE_ATTACH.9 DEVICE_DETACH.9 \
|
|
|
|
DEVICE_IDENTIFY.9 DEVICE_PROBE.9 DEVICE_SHUTDOWN.9 \
|
|
|
|
DEV_MODULE.9 DRIVER_MODULE.9 \
|
2003-05-16 15:24:07 +00:00
|
|
|
CTASSERT.9 KASSERT.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
MD5.9 MODULE_DEPEND.9 MODULE_VERSION.9 \
|
2001-10-04 09:46:01 +00:00
|
|
|
SYSCALL_MODULE.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
VFS.9 VFS_CHECKEXP.9 VFS_FHTOVP.9 VFS_INIT.9 VFS_MOUNT.9 \
|
2001-12-03 00:25:04 +00:00
|
|
|
VFS_QUOTACTL.9 VFS_ROOT.9 VFS_SET.9 VFS_START.9 VFS_STATFS.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
VFS_SYNC.9 VFS_UNMOUNT.9 VFS_VGET.9 VFS_VPTOFH.9 VOP_ACCESS.9 \
|
|
|
|
VOP_ACLCHECK.9 VOP_ADVLOCK.9 VOP_ATTRIB.9 VOP_BWRITE.9 \
|
|
|
|
VOP_CREATE.9 VOP_FSYNC.9 VOP_GETACL.9 VOP_GETEXTATTR.9 \
|
|
|
|
VOP_GETPAGES.9 VOP_GETVOBJECT.9 VOP_INACTIVE.9 VOP_IOCTL.9 \
|
2003-06-05 14:20:48 +00:00
|
|
|
VOP_LEASE.9 VOP_LINK.9 VOP_LISTEXTATTR.9 VOP_LOCK.9 VOP_LOOKUP.9 \
|
|
|
|
VOP_OPENCLOSE.9 VOP_PATHCONF.9 VOP_PRINT.9 VOP_RDWR.9 VOP_READDIR.9 \
|
1997-03-03 18:01:01 +00:00
|
|
|
VOP_READLINK.9 VOP_REALLOCBLKS.9 VOP_REMOVE.9 VOP_RENAME.9 \
|
2002-02-05 16:08:49 +00:00
|
|
|
VOP_REVOKE.9 VOP_SETACL.9 VOP_SETEXTATTR.9 VOP_STRATEGY.9 \
|
2003-03-25 16:36:47 +00:00
|
|
|
accept_filter.9 accf_data.9 accf_http.9 acl.9 atomic.9 \
|
2003-03-29 10:12:15 +00:00
|
|
|
bios.9 boot.9 buf.9 bus_activate_resource.9 \
|
2003-03-29 05:16:15 +00:00
|
|
|
bus_alloc_resource.9 bus_child_present.9 bus_generic_attach.9 \
|
2003-05-30 22:57:54 +00:00
|
|
|
bus_dma.9 \
|
2001-10-04 09:46:01 +00:00
|
|
|
bus_generic_detach.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
bus_generic_print_child.9 bus_generic_read_ivar.9 \
|
|
|
|
bus_generic_shutdown.9 bus_release_resource.9 \
|
2003-03-30 00:25:23 +00:00
|
|
|
bus_set_resource.9 \
|
2002-03-06 01:53:35 +00:00
|
|
|
byteorder.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
cd.9 cdevsw_add.9 cdevsw_remove.9 condvar.9 copy.9 \
|
2002-10-04 20:43:30 +00:00
|
|
|
critical_enter.9 crypto.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
devclass.9 devclass_add_driver.9 devclass_find.9 \
|
|
|
|
devclass_get_device.9 devclass_get_devices.9 \
|
|
|
|
devclass_get_maxunit.9 devclass_get_name.9 devclass_get_softc.9 \
|
|
|
|
device.9 device_add_child.9 device_delete_child.9 \
|
|
|
|
device_enable.9 device_find_child.9 device_get_children.9 \
|
|
|
|
device_get_devclass.9 device_get_driver.9 device_get_ivars.9 \
|
2003-04-22 00:26:02 +00:00
|
|
|
device_get_name.9 device_get_parent.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
device_get_softc.9 device_get_state.9 device_get_unit.9 \
|
2003-04-22 03:32:31 +00:00
|
|
|
device_ids.9 device_printf.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
device_probe_and_attach.9 device_quiet.9 device_set_desc.9 \
|
2003-04-22 03:43:44 +00:00
|
|
|
device_set_driver.9 device_set_flags.9 \
|
|
|
|
devstat.9 devsw.9 devtoname.9 driver.9 \
|
2001-12-07 20:58:07 +00:00
|
|
|
domain.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
extattr.9 \
|
2000-11-21 20:28:48 +00:00
|
|
|
fetch.9 \
|
2002-01-10 12:21:06 +00:00
|
|
|
get_cyclecount.9 \
|
2001-12-02 02:13:35 +00:00
|
|
|
getnewvnode.9 \
|
2001-07-13 18:35:48 +00:00
|
|
|
groupmember.9 \
|
2001-03-09 03:30:20 +00:00
|
|
|
ifnet.9 inittodr.9 intro.9 ithread.9 \
|
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
|
|
|
jumbo.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
kernacc.9 kobj.9 kthread.9 ktr.9 \
|
2002-01-26 00:09:41 +00:00
|
|
|
lock.9 \
|
2002-12-05 00:05:38 +00:00
|
|
|
mac.9 \
|
2003-07-15 08:59:38 +00:00
|
|
|
make_dev.9 malloc.9 mbchain.9 mbpool.9 mbuf.9 mdchain.9 \
|
2001-07-13 18:35:48 +00:00
|
|
|
mi_switch.9 microseq.9 microtime.9 microuptime.9 \
|
2002-03-28 12:50:17 +00:00
|
|
|
module.9 mtx_pool.9 mutex.9 \
|
2000-11-21 20:28:48 +00:00
|
|
|
namei.9 \
|
2003-06-09 17:33:25 +00:00
|
|
|
panic.9 pbuf.9 pci.9 pfil.9 pfind.9 pgfind.9 \
|
2002-10-16 14:24:41 +00:00
|
|
|
physio.9 printf.9 pseudofs.9 psignal.9 \
|
2003-09-25 19:14:40 +00:00
|
|
|
pmap.9 pmap_activate.9 pmap_addr_hint.9 pmap_change_wiring.9 \
|
|
|
|
pmap_clear_modify.9 pmap_copy.9 pmap_enter.9 pmap_extract.9 \
|
|
|
|
pmap_growkernel.9 pmap_init.9 pmap_is_modified.9 pmap_map.9 \
|
|
|
|
pmap_mincore.9 pmap_object_init_pt.9 pmap_page_exists_quick.9 \
|
|
|
|
pmap_page_protect.9 pmap_pinit.9 pmap_prefault.9 pmap_qenter.9 \
|
|
|
|
pmap_release.9 pmap_remove.9 pmap_zero_page.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
random.9 resettodr.9 resource_int_value.9 resource_query_string.9 \
|
2002-07-08 17:52:00 +00:00
|
|
|
rtalloc.9 rtentry.9 runqueue.9 random_harvest.9 rijndael.9 \
|
2003-05-16 19:22:27 +00:00
|
|
|
rman.9 \
|
2002-07-08 17:52:00 +00:00
|
|
|
sbuf.9 scheduler.9 selrecord.9 sema.9 signal.9 sleep.9 sleepqueue.9 \
|
|
|
|
spl.9 store.9 style.9 suser.9 swi.9 sx.9 \
|
|
|
|
sysctl_add_oid.9 sysctl_ctx_init.9 \
|
|
|
|
taskqueue.9 thread_exit.9 time.9 timeout.9 tvtohz.9 \
|
2003-06-12 14:28:32 +00:00
|
|
|
ucred.9 uidinfo.9 uio.9 utopia.9 \
|
2002-07-08 17:52:00 +00:00
|
|
|
vaccess.9 vaccess_acl_posix1e.9 vcount.9 \
|
2001-12-03 00:25:04 +00:00
|
|
|
vfs_busy.9 vfs_getnewfsid.9 vfs_getvfs.9 \
|
2002-01-10 12:21:06 +00:00
|
|
|
vfs_mount.9 vfs_mountedon.9 vfs_rootmountalloc.9 \
|
2001-12-03 00:25:04 +00:00
|
|
|
vfs_timestamp.9 vfs_unbusy.9 vfs_unmountall.9 \
|
|
|
|
vfsconf.9 \
|
|
|
|
vget.9 vgone.9 vhold.9 vinvalbuf.9 \
|
2001-12-02 02:13:35 +00:00
|
|
|
vflush.9 \
|
|
|
|
vm_page_alloc.9 vm_page_bits.9 vm_page_cache.9 \
|
|
|
|
vm_page_copy.9 vm_page_deactivate.9 vm_page_dontneed.9 \
|
|
|
|
vm_page_flag.9 vm_page_free.9 vm_page_grab.9 vm_page_hold.9 \
|
2001-07-18 06:10:33 +00:00
|
|
|
vm_page_insert.9 vm_page_io.9 vm_page_lookup.9 \
|
2001-07-30 22:14:23 +00:00
|
|
|
vm_page_protect.9 vm_page_rename.9 \
|
2001-12-02 02:13:35 +00:00
|
|
|
vm_page_sleep_busy.9 vm_page_unmanage.9 vm_page_wakeup.9 \
|
2001-07-18 06:10:33 +00:00
|
|
|
vm_page_wire.9 vm_page_zero_fill.9 vm_set_page_size.9 \
|
|
|
|
vn_isdisk.9 vnode.9 vput.9 vref.9 vrele.9 \
|
2001-07-10 07:42:35 +00:00
|
|
|
vslock.9 \
|
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
|
|
|
zero_copy.9 zone.9
|
2001-07-10 07:28:11 +00:00
|
|
|
|
2001-08-21 22:17:47 +00:00
|
|
|
MLINKS+=DRIVER_MODULE.9 MULTI_DRIVER_MODULE.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=MD5.9 MD5Init.9 MD5.9 MD5Transform.9
|
|
|
|
MLINKS+=VOP_ATTRIB.9 VOP_GETATTR.9
|
|
|
|
MLINKS+=VOP_ATTRIB.9 VOP_SETATTR.9
|
|
|
|
MLINKS+=VOP_CREATE.9 VOP_MKDIR.9
|
|
|
|
MLINKS+=VOP_CREATE.9 VOP_MKNOD.9
|
|
|
|
MLINKS+=VOP_CREATE.9 VOP_SYMLINK.9
|
|
|
|
MLINKS+=VOP_GETPAGES.9 VOP_PUTPAGES.9
|
2001-02-06 10:33:37 +00:00
|
|
|
MLINKS+=VOP_GETVOBJECT.9 VOP_CREATEVOBJECT.9
|
|
|
|
MLINKS+=VOP_GETVOBJECT.9 VOP_DESTROYVOBJECT.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=VOP_INACTIVE.9 VOP_RECLAIM.9
|
|
|
|
MLINKS+=VOP_LOCK.9 VOP_ISLOCKED.9
|
|
|
|
MLINKS+=VOP_LOCK.9 VOP_UNLOCK.9
|
1999-03-17 20:17:32 +00:00
|
|
|
MLINKS+=VOP_LOCK.9 vn_lock.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=VOP_OPENCLOSE.9 VOP_CLOSE.9
|
|
|
|
MLINKS+=VOP_OPENCLOSE.9 VOP_OPEN.9
|
|
|
|
MLINKS+=VOP_RDWR.9 VOP_READ.9
|
|
|
|
MLINKS+=VOP_RDWR.9 VOP_WRITE.9
|
|
|
|
MLINKS+=VOP_REMOVE.9 VOP_RMDIR.9
|
2000-11-13 20:08:17 +00:00
|
|
|
MLINKS+=atomic.9 atomic_add.9
|
|
|
|
MLINKS+=atomic.9 atomic_clear.9
|
|
|
|
MLINKS+=atomic.9 atomic_cmpset.9
|
|
|
|
MLINKS+=atomic.9 atomic_load.9
|
|
|
|
MLINKS+=atomic.9 atomic_readandclear.9
|
|
|
|
MLINKS+=atomic.9 atomic_set.9
|
|
|
|
MLINKS+=atomic.9 atomic_subtract.9
|
|
|
|
MLINKS+=atomic.9 atomic_store.9
|
2003-03-29 05:16:15 +00:00
|
|
|
MLINKS+=bus_activate_resource.9 bus_deactivate_resource.9
|
2003-06-17 19:50:59 +00:00
|
|
|
MLINKS+=bus_dma.9 busdma.9
|
2003-05-30 22:57:54 +00:00
|
|
|
MLINKS+=bus_dma.9 bus_dma_tag_create.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dma_tag_destroy.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dmamap_create.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dmamap_destroy.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dmamap_load.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dmamap_load_mbuf.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dmamap_load_uio.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dmamap_sync.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dmamap_unload.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dmamem_alloc.9
|
|
|
|
MLINKS+=bus_dma.9 bus_dmamem_free.9
|
2002-04-29 17:04:23 +00:00
|
|
|
MLINKS+=byteorder.9 bswap16.9
|
|
|
|
MLINKS+=byteorder.9 bswap32.9
|
|
|
|
MLINKS+=byteorder.9 bswap64.9
|
2002-03-06 01:53:35 +00:00
|
|
|
MLINKS+=byteorder.9 be16toh.9
|
|
|
|
MLINKS+=byteorder.9 be32toh.9
|
|
|
|
MLINKS+=byteorder.9 be64toh.9
|
|
|
|
MLINKS+=byteorder.9 htobe16.9
|
|
|
|
MLINKS+=byteorder.9 htobe32.9
|
|
|
|
MLINKS+=byteorder.9 htobe64.9
|
|
|
|
MLINKS+=byteorder.9 htole16.9
|
|
|
|
MLINKS+=byteorder.9 htole32.9
|
|
|
|
MLINKS+=byteorder.9 htole64.9
|
|
|
|
MLINKS+=byteorder.9 le16toh.9
|
|
|
|
MLINKS+=byteorder.9 le32toh.9
|
|
|
|
MLINKS+=byteorder.9 le64toh.9
|
2003-05-21 17:37:22 +00:00
|
|
|
MLINKS+=byteorder.9 be16enc.9
|
|
|
|
MLINKS+=byteorder.9 be16dec.9
|
|
|
|
MLINKS+=byteorder.9 be32enc.9
|
|
|
|
MLINKS+=byteorder.9 be32dec.9
|
|
|
|
MLINKS+=byteorder.9 be64enc.9
|
|
|
|
MLINKS+=byteorder.9 be64dec.9
|
|
|
|
MLINKS+=byteorder.9 le16enc.9
|
|
|
|
MLINKS+=byteorder.9 le16dec.9
|
|
|
|
MLINKS+=byteorder.9 le32enc.9
|
|
|
|
MLINKS+=byteorder.9 le32dec.9
|
|
|
|
MLINKS+=byteorder.9 le64enc.9
|
|
|
|
MLINKS+=byteorder.9 le64dec.9
|
2001-01-16 01:00:43 +00:00
|
|
|
MLINKS+=condvar.9 cv_init.9
|
|
|
|
MLINKS+=condvar.9 cv_destroy.9
|
|
|
|
MLINKS+=condvar.9 cv_wait.9
|
|
|
|
MLINKS+=condvar.9 cv_wait_sig.9
|
|
|
|
MLINKS+=condvar.9 cv_timedwait.9
|
|
|
|
MLINKS+=condvar.9 cv_timedwait_sig.9
|
|
|
|
MLINKS+=condvar.9 cv_signal.9
|
|
|
|
MLINKS+=condvar.9 cv_broadcast.9
|
|
|
|
MLINKS+=condvar.9 cv_waitq_remove.9
|
|
|
|
MLINKS+=condvar.9 cv_waitq_empty.9
|
|
|
|
MLINKS+=condvar.9 cv_wmesg.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=copy.9 copyin.9 copy.9 copyinstr.9 copy.9 copyout.9 copy.9 copystr.9
|
2001-03-28 07:30:58 +00:00
|
|
|
MLINKS+=critical_enter.9 critical_exit.9
|
2002-01-04 23:56:17 +00:00
|
|
|
MLINKS+=critical_enter.9 cpu_critical_enter.9
|
|
|
|
MLINKS+=critical_enter.9 cpu_critical_exit.9
|
2001-07-13 18:35:48 +00:00
|
|
|
MLINKS+=device_ids.9 major.9 device_ids.9 minor.9
|
|
|
|
MLINKS+=device_ids.9 umajor.9 device_ids.9 uminor.9
|
2001-07-14 19:41:16 +00:00
|
|
|
MLINKS+=devstat.9 devicestat.9 devstat.9 devstat_add_entry.9
|
1999-01-09 05:09:21 +00:00
|
|
|
MLINKS+=devstat.9 devstat_remove_entry.9 devstat.9 devstat_start_transaction.9
|
|
|
|
MLINKS+=devstat.9 devstat_end_transaction.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=fetch.9 fubyte.9 fetch.9 fuswintr.9 fetch.9 fusword.9 fetch.9 fuword.9
|
|
|
|
MLINKS+=ifnet.9 if_data.9 ifnet.9 ifaddr.9 ifnet.9 ifqueue.9
|
2001-03-09 03:30:20 +00:00
|
|
|
MLINKS+=ithread.9 ithread_add_handler.9 ithread.9 ithread_create.9
|
|
|
|
MLINKS+=ithread.9 ithread_destroy.9 ithread.9 ithread_priority.9
|
|
|
|
MLINKS+=ithread.9 ithread_remove_handler.9 ithread.9 ithread_schedule.9
|
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
|
|
|
MLINKS+=jumbo.9 jumbo_vm_init.9 jumbo.9 jumbo_pg_alloc.9
|
|
|
|
MLINKS+=jumbo.9 jumbo_pg_free.9 jumbo.9 jumbo_freem.9
|
|
|
|
MLINKS+=jumbo.9 jumbo_pg_steal.9 jumbo.9 jumbo_phys_to_kva.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=kernacc.9 useracc.9
|
2000-12-15 20:39:35 +00:00
|
|
|
MLINKS+=kthread.9 kproc_start.9 kthread.9 kproc_shutdown.9
|
2000-11-13 20:34:20 +00:00
|
|
|
MLINKS+=kthread.9 kthread_create.9 kthread.9 kthread_exit.9
|
2000-12-15 20:39:35 +00:00
|
|
|
MLINKS+=kthread.9 kthread_resume.9 kthread.9 kthread_suspend.9
|
|
|
|
MLINKS+=kthread.9 kthread_suspend_check.9
|
2001-06-28 07:20:05 +00:00
|
|
|
MLINKS+=ktr.9 CTR0.9 ktr.9 CTR1.9 ktr.9 CTR2.9
|
|
|
|
MLINKS+=ktr.9 CTR3.9 ktr.9 CTR4.9 ktr.9 CTR5.9
|
2002-02-11 01:21:29 +00:00
|
|
|
MLINKS+=make_dev.9 dev_depends.9
|
1999-12-23 17:16:32 +00:00
|
|
|
MLINKS+=make_dev.9 destroy_dev.9
|
2001-05-29 04:17:36 +00:00
|
|
|
MLINKS+=make_dev.9 make_dev_alias.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=malloc.9 FREE.9 malloc.9 MALLOC.9 malloc.9 free.9
|
2002-03-13 01:42:33 +00:00
|
|
|
MLINKS+=malloc.9 realloc.9 malloc.9 reallocf.9
|
2001-01-23 19:38:45 +00:00
|
|
|
MLINKS+=mi_switch.9 cpu_switch.9 mi_switch.9 cpu_throw.9
|
2000-10-06 23:29:11 +00:00
|
|
|
MLINKS+=namei.9 NDINIT.9
|
|
|
|
MLINKS+=namei.9 NDFREE.9
|
2001-07-18 06:10:33 +00:00
|
|
|
MLINKS+=pbuf.9 getpbuf.9 pbuf.9 trypbuf.9 pbuf.9 relpbuf.9
|
2003-06-09 17:33:25 +00:00
|
|
|
MLINKS+=pci.9 pci_read_config.9 pci.9 pci_write_config.9
|
|
|
|
MLINKS+=pci.9 pci_enable_busmaster.9 pci.9 pci_disable_busmaster.9
|
|
|
|
MLINKS+=pci.9 pci_enable_io.9 pci.9 pci_disable_io.9
|
|
|
|
MLINKS+=pci.9 pci_get_powerstate.9 pci.9 pci_set_powerstate.9
|
|
|
|
MLINKS+=pci.9 pci_find_bsf.9 pci.9 pci_find_device.9
|
2000-10-30 09:16:18 +00:00
|
|
|
MLINKS+=pfil.9 pfil_hook_get.9 pfil.9 pfil_add_hook.9 pfil.9 pfil_remove_hook.9
|
2001-07-16 07:04:09 +00:00
|
|
|
MLINKS+=pfind.9 zpfind.9
|
2003-09-25 19:14:40 +00:00
|
|
|
MLINKS+=pmap_clear_modify.9 pmap_clear_reference.9
|
|
|
|
MLINKS+=pmap_copy.9 pmap_copy_page.9
|
|
|
|
MLINKS+=pmap_extract.9 pmap_extract_and_hold.9
|
|
|
|
MLINKS+=pmap_init.9 pmap_init2.9
|
|
|
|
MLINKS+=pmap_is_modified.9 pmap_ts_modified.9
|
|
|
|
MLINKS+=pmap_page_protect.9 pmap_protect.9
|
|
|
|
MLINKS+=pmap_pinit.9 pmap_pinit0.9 pmap_pinit2.9
|
|
|
|
MLINKS+=pmap_qenter.9 pmap_qremove.9
|
|
|
|
MLINKS+=pmap_remove.9 pmap_remove_all.9 pmap_remove_pages.9
|
|
|
|
MLINKS+=pmap_zero_page.9 pmap_zero_area.9 pmap_zero_idle.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=psignal.9 gsignal.9 psignal.9 pgsignal.9
|
2000-10-14 16:16:42 +00:00
|
|
|
MLINKS+=random.9 srandom.9 random.9 arc4random.9 random.9 read_random.9
|
2003-05-09 09:12:10 +00:00
|
|
|
MLINKS+=random.9 arc4rand.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=rtalloc.9 rtalloc1.9 rtalloc.9 rtalloc_ign.9
|
2001-01-23 19:38:45 +00:00
|
|
|
MLINKS+=runqueue.9 chooseproc.9 runqueue.9 procrunnable.9
|
|
|
|
MLINKS+=runqueue.9 remrunqueue.9 runqueue.9 setrunqueue.9
|
|
|
|
MLINKS+=scheduler.9 curpriority_cmp.9 scheduler.9 maybe_resched.9
|
|
|
|
MLINKS+=scheduler.9 resetpriority.9 scheduler.9 roundrobin.9
|
|
|
|
MLINKS+=scheduler.9 roundrobin_interval.9 scheduler.9 sched_setup.9
|
|
|
|
MLINKS+=scheduler.9 schedclock.9 scheduler.9 schedcpu.9
|
|
|
|
MLINKS+=scheduler.9 setrunnable.9 scheduler.9 updatepri.9
|
2002-04-12 06:19:34 +00:00
|
|
|
MLINKS+=selrecord.9 selwakeup.9
|
2002-06-10 03:01:36 +00:00
|
|
|
MLINKS+=signal.9 SIGADDSET.9 signal.9 SIGDELSET.9 signal.9 SIGEMPTYSET.9
|
|
|
|
MLINKS+=signal.9 SIGFILLSET.9 signal.9 SIGISMEMBER.9
|
|
|
|
MLINKS+=signal.9 SIGISEMPTY.9 signal.9 SIGNOTEMPTY.9 signal.9 SIGSETEQ.9
|
|
|
|
MLINKS+=signal.9 SETSETNEQ.9 signal.9 SETSETOR.9 signal.9 SIGSETAND.9
|
|
|
|
MLINKS+=signal.9 SIGSETNAND.9 signal.9 SIGSETCANTMASK.9
|
|
|
|
MLINKS+=signal.9 SIG_STOPSIGMASK.9 signal.9 SIG_CONTSIGMASK.9
|
|
|
|
MLINKS+=signal.9 SIGPENDING.9 signal.9 CURSIG.9
|
|
|
|
MLINKS+=signal.9 execsigs.9 signal.9 issignal.9 signal.9 killproc.9
|
|
|
|
MLINKS+=signal.9 pgsigio.9 signal.9 postsig.9 signal.9 sigexit.9
|
|
|
|
MLINKS+=signal.9 siginit.9 signal.9 signotify.9 signal.9 trapsignal.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=sleep.9 tsleep.9 sleep.9 wakeup.9 sleep.9 wakeup_one.9
|
2001-08-23 23:37:31 +00:00
|
|
|
MLINKS+=sleep.9 msleep.9
|
2001-01-23 19:38:45 +00:00
|
|
|
MLINKS+=sleepqueue.9 endtsleep.9 sleepqueue.9 sleepinit.9
|
|
|
|
MLINKS+=sleepqueue.9 unsleep.9
|
1998-12-22 19:47:48 +00:00
|
|
|
MLINKS+=buf.9 bp.9
|
2001-08-14 22:13:14 +00:00
|
|
|
MLINKS+=sema.9 sema_init.9
|
|
|
|
MLINKS+=sema.9 sema_destroy.9
|
|
|
|
MLINKS+=sema.9 sema_post.9
|
|
|
|
MLINKS+=sema.9 sema_wait.9
|
|
|
|
MLINKS+=sema.9 sema_timedwait.9
|
|
|
|
MLINKS+=sema.9 sema_trywait.9
|
|
|
|
MLINKS+=sema.9 sema_value.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=spl.9 spl0.9
|
|
|
|
MLINKS+=spl.9 splbio.9 spl.9 splclock.9 spl.9 splhigh.9 spl.9 splimp.9
|
|
|
|
MLINKS+=spl.9 splnet.9 spl.9 splsoftclock.9 spl.9 splsofttty.9
|
|
|
|
MLINKS+=spl.9 splstatclock.9 spl.9 spltty.9 spl.9 splvm.9 spl.9 splx.9
|
|
|
|
MLINKS+=store.9 subyte.9 store.9 suswintr.9 store.9 susword.9 store.9 suword.9
|
2001-03-05 23:48:38 +00:00
|
|
|
MLINKS+=swi.9 swi_sched.9 swi.9 swi_add.9
|
2001-10-23 22:51:59 +00:00
|
|
|
MLINKS+=sx.9 sx_assert.9
|
2001-03-05 19:59:41 +00:00
|
|
|
MLINKS+=sx.9 sx_init.9
|
|
|
|
MLINKS+=sx.9 sx_destroy.9
|
|
|
|
MLINKS+=sx.9 sx_slock.9
|
|
|
|
MLINKS+=sx.9 sx_xlock.9
|
2001-08-07 04:29:53 +00:00
|
|
|
MLINKS+=sx.9 sx_try_slock.9
|
|
|
|
MLINKS+=sx.9 sx_try_xlock.9
|
2001-03-05 19:59:41 +00:00
|
|
|
MLINKS+=sx.9 sx_sunlock.9
|
|
|
|
MLINKS+=sx.9 sx_xunlock.9
|
2001-08-13 21:25:30 +00:00
|
|
|
MLINKS+=sx.9 sx_try_upgrade.9
|
|
|
|
MLINKS+=sx.9 sx_downgrade.9
|
2002-04-02 17:21:00 +00:00
|
|
|
MLINKS+=sx.9 SX_SYSINIT.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=time.9 boottime.9 time.9 mono_time.9 time.9 runtime.9
|
|
|
|
MLINKS+=timeout.9 untimeout.9
|
2000-08-16 19:53:38 +00:00
|
|
|
MLINKS+=timeout.9 callout_handle_init.9 timeout.9 callout_init.9
|
|
|
|
MLINKS+=timeout.9 callout_stop.9 timeout.9 callout_reset.9
|
2001-07-13 18:35:48 +00:00
|
|
|
MLINKS+=uidinfo.9 uihashinit.9 uidinfo.9 uifind.9
|
|
|
|
MLINKS+=uidinfo.9 uihold.9 uidinfo.9 uifree.9
|
1999-09-11 15:39:31 +00:00
|
|
|
MLINKS+=uio.9 uiomove.9
|
2001-12-03 00:25:04 +00:00
|
|
|
MLINKS+=vfsconf.9 vfs_modevent.9
|
|
|
|
MLINKS+=vfsconf.9 vfs_register.9
|
|
|
|
MLINKS+=vfsconf.9 vfs_unregister.9
|
2001-12-02 02:13:35 +00:00
|
|
|
MLINKS+=vgone.9 vgonel.9
|
|
|
|
MLINKS+=vhold.9 vdrop.9
|
|
|
|
MLINKS+=vm_page_bits.9 vm_page_set_validclean.9
|
|
|
|
MLINKS+=vm_page_bits.9 vm_page_clear_dirty.9
|
|
|
|
MLINKS+=vm_page_bits.9 vm_page_set_invalid.9
|
|
|
|
MLINKS+=vm_page_bits.9 vm_page_zero_invalid.9
|
|
|
|
MLINKS+=vm_page_bits.9 vm_page_is_valid.9
|
|
|
|
MLINKS+=vm_page_bits.9 vm_page_test_dirty.9
|
|
|
|
MLINKS+=vm_page_bits.9 vm_page_dirty.9
|
|
|
|
MLINKS+=vm_page_bits.9 vm_page_undirty.9
|
2001-07-18 06:10:33 +00:00
|
|
|
MLINKS+=vm_page_flag.9 vm_page_flag_clear.9 vm_page_flag.9 vm_page_flag_set.9
|
2001-07-30 22:14:23 +00:00
|
|
|
MLINKS+=vm_page_free.9 vm_page_free_toq.9
|
|
|
|
MLINKS+=vm_page_free.9 vm_page_free_zero.9
|
|
|
|
MLINKS+=vm_page_free.9 vm_page_try_to_free.9
|
2001-07-18 06:10:33 +00:00
|
|
|
MLINKS+=vm_page_hold.9 vm_page_unhold.9
|
|
|
|
MLINKS+=vm_page_insert.9 vm_page_remove.9
|
2001-10-04 10:10:56 +00:00
|
|
|
MLINKS+=vm_page_io.9 vm_page_io_start.9 vm_page_io.9 vm_page_io_finish.9
|
2001-07-18 06:10:33 +00:00
|
|
|
MLINKS+=vm_page_wakeup.9 vm_page_busy.9
|
|
|
|
MLINKS+=vm_page_wakeup.9 vm_page_flash.9
|
|
|
|
MLINKS+=vm_page_wire.9 vm_page_unwire.9
|
1998-01-01 10:12:14 +00:00
|
|
|
MLINKS+=vref.9 VREF.9
|
|
|
|
MLINKS+=vslock.9 vsunlock.9
|
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
|
|
|
MLINKS+=zero_copy.9 zero_copy_sockets.9
|
1995-12-14 10:08:31 +00:00
|
|
|
|
1999-09-04 12:37:21 +00:00
|
|
|
MLINKS+=device_add_child.9 device_add_child_ordered.9
|
1998-09-03 21:52:05 +00:00
|
|
|
MLINKS+=device_enable.9 device_disable.9
|
|
|
|
MLINKS+=device_enable.9 device_is_enabled.9
|
2003-04-22 03:25:14 +00:00
|
|
|
MLINKS+=device_get_ivars.9 device_set_ivars.9
|
2003-04-22 00:21:28 +00:00
|
|
|
MLINKS+=device_get_name.9 device_get_nameunit.9
|
1998-09-03 21:52:05 +00:00
|
|
|
MLINKS+=device_get_state.9 device_busy.9
|
|
|
|
MLINKS+=device_get_state.9 device_unbusy.9
|
|
|
|
MLINKS+=device_get_state.9 device_is_alive.9
|
2003-04-22 00:21:28 +00:00
|
|
|
MLINKS+=device_get_state.9 device_is_attached.9
|
1999-06-22 18:09:54 +00:00
|
|
|
MLINKS+=device_quiet.9 device_verbose.9
|
|
|
|
MLINKS+=device_quiet.9 device_is_quiet.9
|
1998-09-03 21:52:05 +00:00
|
|
|
MLINKS+=device_set_desc.9 device_get_desc.9
|
1999-09-12 16:01:11 +00:00
|
|
|
MLINKS+=device_set_desc.9 device_set_desc_copy.9
|
|
|
|
MLINKS+=device_set_flags.9 device_get_flags.9
|
1998-09-03 21:52:05 +00:00
|
|
|
MLINKS+=devclass_add_driver.9 devclass_delete_driver.9
|
|
|
|
MLINKS+=devclass_add_driver.9 devclass_find_driver.9
|
2001-12-07 20:58:07 +00:00
|
|
|
|
|
|
|
MLINKS+=domain.9 net_add_domain.9
|
|
|
|
MLINKS+=domain.9 pfctlinput.9
|
|
|
|
MLINKS+=domain.9 pfctlinput2.9
|
|
|
|
MLINKS+=domain.9 pffindproto.9
|
|
|
|
MLINKS+=domain.9 pffindtype.9
|
|
|
|
MLINKS+=domain.9 DOMAIN_SET.9
|
|
|
|
|
1998-09-03 21:52:05 +00:00
|
|
|
MLINKS+=BUS_READ_IVAR.9 BUS_WRITE_IVAR.9
|
2001-03-03 14:19:39 +00:00
|
|
|
MLINKS+=BUS_SETUP_INTR.9 bus_setup_intr.9
|
|
|
|
MLINKS+=BUS_SETUP_INTR.9 BUS_TEARDOWN_INTR.9
|
|
|
|
MLINKS+=BUS_SETUP_INTR.9 bus_teardown_intr.9
|
1998-09-03 21:52:05 +00:00
|
|
|
MLINKS+=bus_generic_read_ivar.9 bus_generic_write_ivar.9
|
2001-07-13 18:35:48 +00:00
|
|
|
MLINKS+=ucred.9 crget.9 ucred.9 crhold.9 ucred.9 crfree.9
|
2001-11-26 18:37:50 +00:00
|
|
|
MLINKS+=ucred.9 crshared.9 ucred.9 crcopy.9 ucred.9 crdup.9
|
2002-03-03 03:27:28 +00:00
|
|
|
MLINKS+=ucred.9 cru2x.9
|
1998-09-03 21:52:05 +00:00
|
|
|
|
2002-01-26 00:09:41 +00:00
|
|
|
MLINKS+= lock.9 lockinit.9 lock.9 lockdestroy.9
|
|
|
|
MLINKS+= lock.9 lockcount.9 lock.9 lockmgr.9
|
|
|
|
MLINKS+= lock.9 lockstatus.9 lock.9 lockmgr_printinfo.9
|
|
|
|
|
2001-03-10 06:10:48 +00:00
|
|
|
MLINKS+=mbchain.9 mb_init.9
|
|
|
|
MLINKS+=mbchain.9 mb_initm.9
|
|
|
|
MLINKS+=mbchain.9 mb_done.9
|
|
|
|
MLINKS+=mbchain.9 mb_detach.9
|
|
|
|
MLINKS+=mbchain.9 mb_fixhdr.9
|
|
|
|
MLINKS+=mbchain.9 mb_reserve.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_uint8.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_uint16be.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_uint16le.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_uint32be.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_uint32le.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_int64be.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_int64le.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_mem.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_mbuf.9
|
|
|
|
MLINKS+=mbchain.9 mb_put_uio.9
|
|
|
|
|
|
|
|
MLINKS+=mdchain.9 md_initm.9
|
|
|
|
MLINKS+=mdchain.9 md_done.9
|
|
|
|
MLINKS+=mdchain.9 md_append_record.9
|
|
|
|
MLINKS+=mdchain.9 md_next_record.9
|
|
|
|
MLINKS+=mdchain.9 md_get_uint8.9
|
|
|
|
MLINKS+=mdchain.9 md_get_uint16.9
|
|
|
|
MLINKS+=mdchain.9 md_get_uint16be.9
|
|
|
|
MLINKS+=mdchain.9 md_get_uint16le.9
|
|
|
|
MLINKS+=mdchain.9 md_get_uint32.9
|
|
|
|
MLINKS+=mdchain.9 md_get_uint32be.9
|
|
|
|
MLINKS+=mdchain.9 md_get_uint32le.9
|
|
|
|
MLINKS+=mdchain.9 md_get_int64.9
|
|
|
|
MLINKS+=mdchain.9 md_get_int64be.9
|
|
|
|
MLINKS+=mdchain.9 md_get_int64le.9
|
|
|
|
MLINKS+=mdchain.9 md_get_mem.9
|
|
|
|
MLINKS+=mdchain.9 md_get_mbuf.9
|
|
|
|
MLINKS+=mdchain.9 md_get_uio.9
|
|
|
|
|
2003-07-15 08:59:38 +00:00
|
|
|
MLINKS+=mbpool.9 mbp_create.9
|
|
|
|
MLINKS+=mbpool.9 mbp_destroy.9
|
|
|
|
MLINKS+=mbpool.9 mbp_alloc.9
|
|
|
|
MLINKS+=mbpool.9 mbp_free.9
|
|
|
|
MLINKS+=mbpool.9 mbp_ext_free.9
|
|
|
|
MLINKS+=mbpool.9 mbp_card_free.9
|
|
|
|
MLINKS+=mbpool.9 mbp_count.9
|
|
|
|
MLINKS+=mbpool.9 mbp_get.9
|
|
|
|
MLINKS+=mbpool.9 mbp_get_keep.9
|
|
|
|
MLINKS+=mbpool.9 mbp_sync.9
|
|
|
|
|
2000-01-07 12:42:59 +00:00
|
|
|
MLINKS+=microtime.9 getmicrotime.9 microtime.9 nanotime.9
|
|
|
|
MLINKS+=microtime.9 getnanotime.9
|
|
|
|
MLINKS+=microuptime.9 getmicrouptime.9 microuptime.9 nanouptime.9
|
|
|
|
MLINKS+=microuptime.9 getnanouptime.9
|
|
|
|
|
2002-03-28 12:50:17 +00:00
|
|
|
MLINKS+=mtx_pool.9 mtx_pool_alloc.9 mtx_pool.9 mtx_pool_find.9
|
2003-07-16 08:16:40 +00:00
|
|
|
MLINKS+=mtx_pool.9 mtx_pool_lock.9 mtx_pool.9 mtx_pool_lock_spin.9
|
|
|
|
MLINKS+=mtx_pool.9 mtx_pool_unlock.9 mtx_pool.9 mtx_pool_unlock_spin.9
|
|
|
|
MLINKS+=mtx_pool.9 mtx_pool_create.9 mtx_pool.9 mtx_pool_destroy.9
|
2002-03-28 12:50:17 +00:00
|
|
|
|
2000-10-26 23:54:10 +00:00
|
|
|
MLINKS+=mutex.9 mtx_init.9
|
2001-03-30 23:00:00 +00:00
|
|
|
MLINKS+=mutex.9 mtx_lock.9 mutex.9 mtx_lock_flags.9
|
|
|
|
MLINKS+=mutex.9 mtx_lock_spin.9 mutex.9 mtx_lock_spin_flags.9
|
|
|
|
MLINKS+=mutex.9 mtx_trylock.9 mutex.9 mtx_trylock_flags.9
|
|
|
|
MLINKS+=mutex.9 mtx_unlock.9 mutex.9 mtx_unlock_flags.9
|
|
|
|
MLINKS+=mutex.9 mtx_unlock_spin.9 mutex.9 mtx_unlock_spin_flags.9
|
2000-10-26 23:54:10 +00:00
|
|
|
MLINKS+=mutex.9 mtx_destroy.9
|
2001-03-30 23:00:00 +00:00
|
|
|
MLINKS+=mutex.9 mtx_initialized.9 mutex.9 mtx_owned.9
|
|
|
|
MLINKS+=mutex.9 mtx_recursed.9 mutex.9 mtx_assert.9
|
2002-04-02 17:21:00 +00:00
|
|
|
MLINKS+=mutex.9 MTX_SYSINIT.9
|
2000-10-26 23:54:10 +00:00
|
|
|
|
2000-04-08 13:24:40 +00:00
|
|
|
MLINKS+=kobj.9 kobj_class_compile.9
|
2000-08-28 21:17:46 +00:00
|
|
|
MLINKS+=kobj.9 kobj_class_compile_static.9
|
2000-04-08 13:24:40 +00:00
|
|
|
MLINKS+=kobj.9 kobj_class_free.9
|
|
|
|
MLINKS+=kobj.9 kobj_create.9
|
|
|
|
MLINKS+=kobj.9 kobj_init.9
|
|
|
|
MLINKS+=kobj.9 kobj_delete.9
|
|
|
|
MLINKS+=kobj.9 DEFINE_CLASS.9
|
|
|
|
|
2001-05-05 00:25:39 +00:00
|
|
|
MLINKS+= printf.9 uprintf.9
|
|
|
|
MLINKS+= printf.9 tprintf.9
|
|
|
|
|
2000-05-28 16:53:50 +00:00
|
|
|
MLINKS+=taskqueue.9 taskqueue_create.9
|
|
|
|
MLINKS+=taskqueue.9 taskqueue_free.9
|
|
|
|
MLINKS+=taskqueue.9 taskqueue_find.9
|
|
|
|
MLINKS+=taskqueue.9 taskqueue_enqueue.9
|
|
|
|
MLINKS+=taskqueue.9 taskqueue_run.9
|
|
|
|
MLINKS+=taskqueue.9 TASK_INIT.9
|
|
|
|
MLINKS+=taskqueue.9 TASKQUEUE_DECLARE.9
|
|
|
|
MLINKS+=taskqueue.9 TASKQUEUE_DEFINE.9
|
|
|
|
|
2001-03-01 09:06:57 +00:00
|
|
|
MLINKS+=resource_int_value.9 resource_long_value.9
|
|
|
|
MLINKS+=resource_int_value.9 resource_string_value.9
|
|
|
|
MLINKS+=resource_query_string.9 resource_query_name.9
|
2001-03-02 04:32:50 +00:00
|
|
|
MLINKS+=resource_query_string.9 resource_query_unit.9
|
2001-03-01 09:06:57 +00:00
|
|
|
|
2002-04-02 16:41:11 +00:00
|
|
|
MLINKS+=suser.9 suser_cred.9
|
2000-08-16 19:53:38 +00:00
|
|
|
|
These patches implement dynamic sysctls. It's possible now to add
and remove sysctl oids at will during runtime - they don't rely on
linker sets. Also, the node oids can be referenced by more than
one kernel user, which means that it's possible to create partially
overlapping trees.
Add sysctl contexts to help programmers manage multiple dynamic
oids in convenient way.
Please see the manpages for detailed discussion, and example module
for typical use.
This work is based on ideas and code snippets coming from many
people, among them: Arun Sharma, Jonathan Lemon, Doug Rabson,
Brian Feldman, Kelly Yancey, Poul-Henning Kamp and others. I'd like
to specially thank Brian Feldman for detailed review and style
fixes.
PR: kern/16928
Reviewed by: dfr, green, phk
2000-07-15 10:26:04 +00:00
|
|
|
MLINKS+=sysctl_add_oid.9 sysctl_remove_oid.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_OID.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_NODE.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_STRING.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_INT.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_UINT.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_LONG.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_ULONG.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_OPAQUE.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_STRUCT.9
|
|
|
|
MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_PROC.9
|
|
|
|
MLINKS+=sysctl_ctx_init.9 sysctl_ctx_free.9
|
|
|
|
MLINKS+=sysctl_ctx_init.9 sysctl_ctx_entry_add.9
|
|
|
|
MLINKS+=sysctl_ctx_init.9 sysctl_ctx_entry_del.9
|
|
|
|
MLINKS+=sysctl_ctx_init.9 sysctl_ctx_entry_find.9
|
|
|
|
|
2000-12-13 19:53:37 +00:00
|
|
|
MLINKS+=sbuf.9 sbuf_new.9
|
2001-01-28 00:19:10 +00:00
|
|
|
MLINKS+=sbuf.9 sbuf_clear.9
|
2000-12-13 19:53:37 +00:00
|
|
|
MLINKS+=sbuf.9 sbuf_setpos.9
|
|
|
|
MLINKS+=sbuf.9 sbuf_cat.9
|
|
|
|
MLINKS+=sbuf.9 sbuf_cpy.9
|
|
|
|
MLINKS+=sbuf.9 sbuf_printf.9
|
2002-01-06 08:40:42 +00:00
|
|
|
MLINKS+=sbuf.9 sbuf_vprintf.9
|
2000-12-13 19:53:37 +00:00
|
|
|
MLINKS+=sbuf.9 sbuf_putc.9
|
2002-01-06 08:40:42 +00:00
|
|
|
MLINKS+=sbuf.9 sbuf_trim.9
|
2001-01-28 00:19:10 +00:00
|
|
|
MLINKS+=sbuf.9 sbuf_overflowed.9
|
2000-12-13 19:53:37 +00:00
|
|
|
MLINKS+=sbuf.9 sbuf_finish.9
|
|
|
|
MLINKS+=sbuf.9 sbuf_data.9
|
|
|
|
MLINKS+=sbuf.9 sbuf_len.9
|
|
|
|
MLINKS+=sbuf.9 sbuf_delete.9
|
|
|
|
|
2001-02-06 09:04:52 +00:00
|
|
|
MLINKS+=vcount.9 count_dev.9
|
|
|
|
|
2002-04-30 09:41:25 +00:00
|
|
|
MLINKS+=zone.9 uma.9
|
2002-04-30 12:45:31 +00:00
|
|
|
MLINKS+=zone.9 uma_zalloc.9
|
2002-05-18 11:12:02 +00:00
|
|
|
MLINKS+=zone.9 uma_zcreate.9
|
2002-04-30 12:45:31 +00:00
|
|
|
MLINKS+=zone.9 uma_zfree.9
|
|
|
|
MLINKS+=zone.9 uma_zdestroy.9
|
2003-07-21 14:20:58 +00:00
|
|
|
MLINKS+=zone.9 uma_zone_set_max.9
|
2001-01-27 19:13:08 +00:00
|
|
|
|
1995-12-14 10:08:31 +00:00
|
|
|
.include <bsd.prog.mk>
|