summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Add WITHOUT_CAPSICUM src.conf(5) define, which can be used to compile outrwatson2012-01-022-2/+6
| | | | | | | use of Capsicum by userspace applications. MFC after: 3 weeks Sponsored by: Google, Inc.
* Fix sloppyness in memcchr() man page.ed2012-01-012-0/+1
| | | | | | I was considering adding it to libc as well, but last minute I thought it would be good enough to add it to libkern exclusively. I forgot to rename the man page and hook it up.
* Fix typo; return -> returns.ed2012-01-011-1/+1
|
* Introducing memcchr(3).ed2012-01-011-0/+59
| | | | | | | | | | | | | | | | | | | | | It seems two of the file system drivers we have in the tree, namely ufs and ext3, use a function called `skpc()'. The meaning of this function does not seem to be documented in FreeBSD, but it turns out one needs to be a VAX programmer to understand what it does. SPKC is an instruction on the VAX that does the opposite of memchr(). It searches for the non-equal character. Add a new function called memcchr() to the tree that has the following advantages over skpc(): - It has a name that makes more sense than skpc(). Just like strcspn() matches the complement of strspn(), memcchr() is the complement of memchr(). - It is faster than skpc(). Similar to our strlen() in libc, it compares entire words, instead of single bytes. It seems that for this routine this yields a sixfold performance increase on amd64. - It has a man page.
* Revert r228986 until it can be reworked to avoid panicing the kernel when thelstewart2011-12-311-65/+36
| | | | | | | same interface is attached multiple times with different DLTs, as is done in net80211 for example. Reported by: adrian
* Spelling fixes for share/uqs2011-12-302-20/+20
|
* - Introduce the net.bpf.tscfg sysctl tree and associated code so as to make onelstewart2011-12-301-36/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aspect of time stamp configuration per interface rather than per BPF descriptor. Prior to this, the order in which BPF devices were opened and the per descriptor time stamp configuration settings could cause non-deterministic and unintended behaviour with respect to time stamping. With the new scheme, a BPF attached interface's tscfg sysctl entry can be set to "default", "none", "fast", "normal" or "external". Setting "default" means use the system default option (set with the net.bpf.tscfg.default sysctl), "none" means do not generate time stamps for tapped packets, "fast" means generate time stamps for tapped packets using a hz granularity system clock read, "normal" means generate time stamps for tapped packets using a full timecounter granularity system clock read and "external" (currently unimplemented) means use the time stamp provided with the packet from an underlying source. - Utilise the recently introduced sysclock_getsnapshot() and sysclock_snap2bintime() KPIs to ensure the system clock is only read once per packet, regardless of the number of BPF descriptors and time stamp formats requested. Use the per BPF attached interface time stamp configuration to control if sysclock_getsnapshot() is called and whether the system clock read is fast or normal. The per BPF descriptor time stamp configuration is then used to control how the system clock snapshot is converted to a bintime by sysclock_snap2bintime(). - Remove all FAST related BPF descriptor flag variants. Performing a "fast" read of the system clock is now controlled per BPF attached interface using the net.bpf.tscfg sysctl tree. - Update the bpf.4 man page. Committed on behalf of Julien Ridoux and Darryl Veitch from the University of Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward Clock Synchronization Algorithms" project. For more information, see http://www.synclab.org/radclock/ In collaboration with: Julien Ridoux (jridoux at unimelb edu au)
* I'm not yet an alumni, add myself in the right sectionbapt2011-12-291-1/+1
| | | | Approved by: des (mentor)
* Import the first release of HighPoint RocketRAID 27xx SAS 6Gb/s HBA carddelphij2011-12-282-0/+103
| | | | | | | | driver. This driver works for FreeBSD/i386 and FreeBSD/amd64 platforms. Many thanks to HighPoint for providing this driver. MFC after: 2 weeks
* Add myself as a src committerbapt2011-12-281-0/+2
| | | | Approved by: des (mentor)
* Document restriction on 32-bits and 64-bits datatypes.ed2011-12-271-0/+6
|
* Add missing \.ed2011-12-271-1/+1
| | | | While sorting the MLINKS by name, I forgot to re-add it.
* Add manual page for atomic operations.ed2011-12-272-1/+319
|
* Follow style(9) more closely in the example.jh2011-12-211-3/+3
|
* Add myself with mentor relationshipsjgh2011-12-201-0/+5
| | | | | | Add tabthorpe -> crees Approved by: crees (mentor)
* Add some more cross-references.mav2011-12-204-0/+4
|
* Fix copy-paste typo.mav2011-12-201-2/+2
|
* Add timecounters(4) man page alike to eventtimers(4).mav2011-12-205-2/+111
|
* s/LAPIC/local APIC/ to closer follow Intel documents.mav2011-12-201-4/+4
| | | | Submitted by: jhb
* Remove extra "and" left from earlier version.mav2011-12-201-2/+1
|
* Restore a feature that was present in 5.x and 6.x, and was cleared inglebius2011-12-201-8/+31
| | | | | | | | | | | | | | | | | | | | | | | 7.x, 8.x and 9.x with pf(4) imports: pfsync(4) should suppress CARP preemption, while it is running its bulk update. However, reimplement the feature in more elegant manner, that is partially inspired by newer OpenBSD: - Rename term "suppression" to "demotion", to match with OpenBSD. - Keep a global demotion factor, that can be raised by several conditions, for now these are: - interface goes down - carp(4) has problems with ip_output() or ip6_output() - pfsync performs bulk update - Unlike in OpenBSD the demotion factor isn't a counter, but is actual value added to advskew. The adjustment values for particular error conditions are also configurable, and their defaults are maximum advskew value, so a single failure bumps demotion to maximum. This is for POLA compatibility, and should satisfy most users. - Demotion factor is a writable sysctl, so user can do foot shooting, if he desires to.
* Add apic(4) man page, now mostly to cover its event timer functionality.mav2011-12-206-4/+88
|
* Add eventtimers(9) man page, describing related KPIs.mav2011-12-203-1/+249
| | | | | Sponsored by: iXsystems, Inc. MFC after: 1 month
* Add a TASK_INITIALIZER() macro that can be used to staticallyjhb2011-12-192-1/+8
| | | | | | | initialize a task structure. Reviewed by: gj MFC after: 2 weeks
* Disable another clang warning (-Wempty-body) when WARNS <= 2.dim2011-12-181-1/+1
| | | | MFC after: 1 week
* Disable yet another clang warning (-Wconversion) when WARNS <= 3.dim2011-12-181-1/+2
| | | | MFC after: 1 week
* Fixed some of markup.ru2011-12-171-19/+18
| | | | Reviewed by: jhb
* Disable yet another clang warning when WARNS <= 3.dim2011-12-171-1/+1
| | | | MFC after: 1 week
* Add a NO_WARRAY_BOUNDS setting to bsd.sys.mk, only applicable to clang,dim2011-12-161-0/+3
| | | | | | | | to selectively work around warnings in programs that don't use flexible array members, but instead define arrays of length 1 at the end of the struct, and then access those beyond their declared bounds. MFC after: 1 week
* Some formatting fixes.mav2011-12-161-14/+31
| | | | Submitted by: ru
* A major overhaul of the CARP implementation. The ip_carp.c was startedglebius2011-12-161-131/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from scratch, copying needed functionality from the old implemenation on demand, with a thorough review of all code. The main change is that interface layer has been removed from the CARP. Now redundant addresses are configured exactly on the interfaces, they run on. The CARP configuration itself is, as before, configured and read via SIOCSVH/SIOCGVH ioctls. A new prefix created with SIOCAIFADDR or SIOCAIFADDR_IN6 may now be configured to a particular virtual host id, which makes the prefix redundant. ifconfig(8) semantics has been changed too: now one doesn't need to clone carpXX interface, he/she should directly configure a vhid on a Ethernet interface. To supply vhid data from the kernel to an application the getifaddrs(8) function had been changed to pass ifam_data with each address. [1] The new implementation definitely closes all PRs related to carp(4) being an interface, and may close several others. It also allows to run a single redundant IP per interface. Big thanks to Bjoern Zeeb for his help with inet6 part of patch, for idea on using ifam_data and for several rounds of reviewing! PR: kern/117000, kern/126945, kern/126714, kern/120130, kern/117448 Reviewed by: bz Submitted by: bz [1]
* Document 'findstack'.kib2011-12-161-1/+11
| | | | MFC after: 1 week
* Many updates to cxgbe(4)np2011-12-161-12/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Device configuration via plain text config file. Also able to operate when not attached to the chip as the master driver. - Generic "work request" queue that serves as the base for both ctrl and ofld tx queues. - Generic interrupt handler routine that can process any event on any kind of ingress queue (via a dispatch table). - A couple of new driver ioctls. cxgbetool can now install a firmware to the card ("loadfw" command) and can read the card's memory ("memdump" and "tcb" commands). - Lots of assorted information within dev.t4nex.X.misc.* This is primarily for debugging and won't show up in sysctl -a. - Code to manage the L2 tables on the chip. - Updates to cxgbe(4) man page to go with the tunables that have changed. - Updates to the shared code in common/ - Updates to the driver-firmware interface (now at fw 1.4.16.0) MFC after: 1 month
* Disable one more clang warning when WARNS <= 3.dim2011-12-151-1/+2
| | | | MFC after: 1 week
* Clang has more warnings enabled by default, and when using -Wall, so if WARNSdim2011-12-151-0/+13
| | | | | | is set to low values, some of them have to be disabled explicitly. MFC after: 1 week
* Add a helper API to allow in-kernel code to map portions of shared memoryjhb2011-12-142-0/+189
| | | | | | objects created by shm_open(2) into the kernel's address space. This provides a convenient way for creating shared memory buffers between userland and the kernel without requiring custom character devices.
* Add SEE ALSO.joel2011-12-141-1/+15
|
* After several suggestions from people, move eventtimers page from 7 to 4.mav2011-12-146-4/+4
|
* More MLINKS for rtalloc.9glebius2011-12-141-1/+5
|
* Update this page to describe modern interfaces.glebius2011-12-141-114/+147
|
* Change targ(4) to use cdevpriv, instead of multiple character devices.ed2011-12-132-24/+10
| | | | | | | Also update the manpage and the scsi_target example program accordingly. Discussed on: scsi@ Tested by: Chuck Tuffli <chuck tuffli net>
* - Fix different variable types use in different files after r121184,mav2011-12-131-6/+6
| | | | | | | causing problems on amd64. - s/%lud/%lu/. MFC after: 1 month
* The "inet" keyword in the "ifconfig_IF_aliasN" is mandatory forru2011-12-131-3/+7
| | | | | | IPv4 aliases to work since network.subr@197139. MFC after: 3 days
* - Add support for ASCII art splash screens in TheDraw formateadler2011-12-121-0/+27
| | | | | | | | | PR: kern/143370 Submitted by: Antony Mawer <antony@mawer.org> Reviewed by: gjb (doc) Reviewed by: des (style) Approved by: ed MFC after: 1 month
* Add watchdog support for VIA south bridge chipset.fabient2011-12-122-0/+81
| | | | | | | Tested on VT8251, VX900 but CX700, VX800, VX855 should works. MFC after: 1 month Sponsored by: NETASQ
* Minor whitespace cleanup to make.conf(5).gjb2011-12-111-2/+2
| | | | | MFC after: 1 week X-MFC-With: 228418
* Document the SVN variable needs to be set in make.conf(5) when SVN_UPDATEgjb2011-12-111-1/+7
| | | | | | | | | is set. PR: 163162 Submitted by: Oliver Hartmann <ohartman!zedat.fu-berlin.de> Patch by: Benjamin Kaduk <kaduk!mit.edu> (original) MFC after: 1 week
* Added jimharris.jimharris2011-12-091-0/+1
|
* After r228293, et(4) supports altq(4).yongari2011-12-092-2/+4
|
* sbuf_data() hasn't returned NULL for overflowed buffers since r71721.jh2011-12-091-6/+2
|
OpenPOWER on IntegriCloud