freebsd-dev/sys/dev
Luigi Rizzo 091fd0ab54 Add support for transparent mode while in netmap.
By setting dev.netmap.fwd=1 (or enabling the feature with a per-ring flag),
packets are forwarded between the NIC and the host stack unless the
netmap client clears the NS_FORWARD flag on the individual descriptors.

This feature greatly simplifies applications where some traffic
(think of ARP, control traffic, ssh sessions...) must be processed
by the host stack, whereas the bulk is handled by the netmap process
which simply (un)marks packets that should not be forwarded.
The default is chosen so that now a netmap receiver operates
in a mode very similar to bpf.

Of course there is no free lunch: traffic to/from the host stack
still operates at OS speed (or less, as there is one extra copy in
one direction).
HOWEVER, since traffic goes to the user process before being
reinjected, and reinjection occurs in a user context, you get some
form of livelock protection for free.
2013-01-23 05:37:45 +00:00
..
aac Give panic format string to pacify clang warning. 2012-11-09 13:58:52 +00:00
acpi_support add support for newer Lenovo ThinkPads to acpi_ibm 2012-10-29 10:22:00 +00:00
acpica Merge ACPICA 20130117. 2013-01-17 23:56:43 +00:00
adb Use uiomove return value instead of returning 0. 2012-11-13 06:03:43 +00:00
adlink
advansys Add locking to the adw(4) driver and mark it MPSAFE. 2012-10-15 15:26:00 +00:00
ae Fix the build. 2012-06-06 09:07:50 +00:00
age Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
agp Remove unneeded semicolons. 2013-01-01 18:16:49 +00:00
aha Fix aha(4) build with i386 LINT (which includes 'device mca'). 2012-10-16 15:25:04 +00:00
ahb Add locking to the ahb(4) driver and mark it MPSAFE. 2012-10-15 16:05:02 +00:00
ahci Add Intel Lynx Point PCH SATA Controller Device IDs 2013-01-02 22:26:46 +00:00
aic Add locking to the aic(4) driver and mark it MPSAFE. 2012-10-15 16:09:59 +00:00
aic7xxx remove redundant yyparse declarations 2012-12-05 20:28:44 +00:00
alc Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ale Make sure to stop both TX and RX MACs in ale_stop_mac(). Previously 2012-12-17 06:01:57 +00:00
altera MFP4 change 219820 2013-01-22 18:51:14 +00:00
amdsbwd This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
amdtemp This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
amr Further adjust the workaround in r234501. Rounding all small requests up 2012-10-05 15:52:31 +00:00
an Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
arcmsr Update arcmsr(4) to vendor version 1.20.00.26, this adds 2012-12-18 20:47:23 +00:00
asmc Give device_printf format string to pacify clang warning. 2012-11-09 14:58:26 +00:00
asr Replace homegrown list implementation in sys/dev/asr/asr.c with 2012-04-20 21:17:33 +00:00
ata In case somebody still use it, fix legacy ataraid(4) to work on combined 2013-01-15 02:18:04 +00:00
ath Fix this routine to acutally break out and not set clrdmask if any 2013-01-21 07:50:38 +00:00
atkbdc Pass the device_t into atkbd_{probe,attach}_unit and get the 2013-01-11 21:42:23 +00:00
auxio
bce Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
bfe Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
bge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
bktr Fix typo; s/ouput/output 2012-11-07 07:00:59 +00:00
blackhole bhyve import part 2 of 2, guest kernel changes. 2011-05-14 18:37:24 +00:00
bm Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
buslogic Add locking to the bt(4) driver and mark it MPSAFE. 2012-10-15 16:13:55 +00:00
bvm Probe for existence of the bvm debug port instead of just assuming that it is 2012-10-27 22:54:23 +00:00
bwi Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
bwn Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
bxe Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
cardbus - Add a bus_dma tag to each PCI bus that is a child of a Host-PCI bridge. 2012-03-02 20:38:04 +00:00
cas Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ce Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
cesa Add support for Marvell 88F6282. 2012-07-28 21:56:24 +00:00
cfe kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
cfi CFI fixes for big endian archs. 2012-03-27 15:13:12 +00:00
ciss Satisfy the intent of kern/151564: [ciss] ciss(4) should increase 2013-01-15 14:35:35 +00:00
cm Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
cmx
coretemp This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
cp Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
cpuctl cpuctl_do_cpuid: explicitly use ecx=0 for cpuid call 2012-11-04 13:46:28 +00:00
cpufreq
cs Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ct Use ANSI prototype to fix build with clang. 2012-11-10 14:58:06 +00:00
ctau Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
cx Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
cxgb Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
cxgbe cxgbe: Make the for_each macros safer to use by turning them 2013-01-17 18:52:49 +00:00
cy
dc Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
dcons kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
de Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
digi
dpms
dpt Fix build of dpt(4). 2012-10-16 09:57:34 +00:00
drm Cast VIA_READ to (void) where the result is unused. 2012-11-09 14:46:23 +00:00
drm2 - If DRM_DEBUG_DEFAULT_ON is defined, then initialize drm_debug_flagi to 2012-11-02 05:26:33 +00:00
e1000 Fixed mbuf free when receive structures fail to allocate. 2013-01-12 16:05:55 +00:00
ed Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
eisa - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
en Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ep Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
esp - Merge from NetBSD: 2012-08-06 08:58:54 +00:00
et Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
etherswitch Disable automatic attachment of arswitch. It can't be auto-detected (like PHYs 2012-11-07 22:43:09 +00:00
ex Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
exca
fatm Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
fb Piggyback MIPS changes and add ARM syscons support for devices with 2012-08-25 23:59:31 +00:00
fdc - Don't pass geom and provider names as format strings. 2012-11-20 12:32:18 +00:00
fdt Merge Perforce changeset 219933 and portions of 219962 (omits changes to 2013-01-12 16:09:33 +00:00
fe Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
filemon A little bit easier to read. 2012-10-26 20:24:13 +00:00
firewire Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
flash Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
fxp Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
gem Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
glxiic This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
glxsb More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
gpio Style fixes 2012-11-23 19:20:38 +00:00
gxemul Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
hatm Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
hifn Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
hme Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
hpt27xx - Don't include date and time the driver is built, this is useful for 2013-01-22 05:41:34 +00:00
hptiop Update hptiop(4) to version 1.8, which added support for HighPoint 2012-10-25 17:29:11 +00:00
hptmv It seems that what the code really meant is that when a write is completed, 2012-09-07 19:00:27 +00:00
hptrr attach_generic causes missing devices in /dev when the driver 2012-06-17 02:46:27 +00:00
hwpmc Quiesce a couple of clang warnings 2013-01-12 18:30:52 +00:00
ic
ichsmb Add Intel Lynx Point PCH SMBus Device IDs 2013-01-02 22:01:26 +00:00
ichwd Add support for new Intel Lynx Point PCH - Watchdog Timer Device IDs 2013-01-02 21:45:20 +00:00
ida Rework the DMA handling in ida(4) and add locking to make this driver 2012-08-27 17:24:07 +00:00
ie Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ieee488 Convert files to UTF-8 2012-01-15 13:23:43 +00:00
if_ndis Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
iicbus Check the return value of uiomove(9). 2012-11-13 05:58:52 +00:00
iir Remove comments about creating DMA tags as children of the DMA tags of their 2012-03-12 19:29:32 +00:00
io
ipmi - Re-shuffle the <machine/pc/bios.h> headers to move all kernel-specific 2012-09-28 11:59:32 +00:00
ips Convert a number of drivers to obtaining their parent DMA tag from their 2012-03-12 08:03:51 +00:00
ipw Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
isci Don't call bus_dmamap_load in CAM_DIR_NONE case, since there is nothing 2012-12-05 20:21:33 +00:00
iscsi/initiator Revert previous commit... 2012-10-10 08:36:38 +00:00
isf Merge Perforce changeset 219952 to head: 2013-01-13 16:57:11 +00:00
isp Don't allow for more than one segment for the control space since 2012-11-02 14:38:57 +00:00
ispfw Switch to using FC-Tape firmware. 2012-07-26 13:58:43 +00:00
iwi Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
iwn Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ixgb Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ixgbe rename the 'tag' and 'map' fields used the rx ring to their 2012-12-20 22:26:03 +00:00
jme Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
joy
kbd Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
kbdmux This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
ksyms Streamline use of cdevpriv and correct some corner cases. 2012-08-15 16:19:39 +00:00
le Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
led
lge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
lindev
lmc Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
malo Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
mc146818
mca - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
mcd
md Print correct unit number when attaching preloaded memory disks. 2012-11-21 17:05:57 +00:00
mem
mfi Add deviceid to the disk output on boot to help debugging. 2012-11-15 15:06:09 +00:00
mge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
mii Recognize 5720S PHY and treat it as 5708S PHY. 2012-12-20 05:02:12 +00:00
mk48txx Add support for MK48T37. 2011-05-15 13:17:08 +00:00
mlx Remove FreeBSD 4.x compat shims. Verified by md5. 2012-09-26 14:17:14 +00:00
mly Remove bogus break statements. 2012-09-18 02:19:43 +00:00
mmc Fix highest voltage detection 2013-01-21 23:24:16 +00:00
mn Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
mps remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
mpt Remove support for using Giant for locking within mpt(4). Finer grained 2012-10-22 10:53:59 +00:00
mse
msk Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
mvs Add support for Marvell 88F6282. 2012-07-28 21:56:24 +00:00
mwl Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
mxge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
my Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
nand Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ncv Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
netmap Add support for transparent mode while in netmap. 2013-01-23 05:37:45 +00:00
nfe Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
nge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
nmdm Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
nsp Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
null Provide a device name in the sysctl tree for programs to query the 2012-11-01 17:01:05 +00:00
nvd Add ability to queue nvme_request objects if no nvme_trackers are available. 2012-10-18 00:45:53 +00:00
nve Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
nvme Revert r244549. 2013-01-07 21:35:25 +00:00
nvram
nvram2env
nxge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
oce Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ofw - Add OF_hasprop() and ofw_bus_has_prop(). These can be used to check 2012-08-18 11:25:07 +00:00
patm Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
pbio
pccard Simplify resource activation a bit. 2012-06-28 07:26:44 +00:00
pccbb Restore the PCI bridge configuration upon resume. 2012-07-31 18:47:17 +00:00
pcf Make ofw_bus_get_node() consistently return -1 when there is no associated 2012-03-15 22:53:39 +00:00
pci Add quirk to indicate that the bhyve hostbridge is capable of supporting 2013-01-05 18:48:23 +00:00
pcn Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
pdq Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
powermac_nvram "nvram,flash" may not be the first in the compatible list property of the 2012-05-20 02:43:54 +00:00
ppbus Rename device_delete_all_children() into device_delete_children(). 2011-11-22 21:56:55 +00:00
ppc Rename device_delete_all_children() into device_delete_children(). 2011-11-22 21:56:55 +00:00
pst Convert files to UTF-8 2012-01-15 13:23:18 +00:00
pty Fix whitespace inconsistencies in the TTY layer and its drivers owned by me. 2011-06-26 18:26:20 +00:00
puc Do not require a filter-only interrupt handler for puc ports that are not 2013-01-15 20:13:25 +00:00
qlxgb Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
quicc - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
ral Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
random Rename the IVY_RNG option to RDRAND_RNG. 2012-09-13 10:12:16 +00:00
rc
re Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
rndtest Revert previous commit... 2012-10-10 08:36:38 +00:00
rp
rt Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
safe Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
sbni Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
scc - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
scd
sdhci - Get proper maximum clock frequency for SDHCI v3.0 and higher 2012-11-30 02:35:13 +00:00
sec Recognize version 3.1 of the SEC crypto engine. 2012-05-24 21:24:23 +00:00
sf Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
sfxge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
sge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
si
siba Expand the set of APIs available for locating PCI capabilities: 2012-03-03 18:08:57 +00:00
siis Partially revert r236666: 2012-06-10 11:17:14 +00:00
sio Add support for CIR1000 - Cirrus Logic V34 to the sio driver 2012-11-13 20:38:55 +00:00
sis Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
sk Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
smbus - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
smc Disable interrupts in filter in order to avoid interrupt storm and 2012-12-13 03:33:01 +00:00
sn Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
snc Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
snp Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
sound Add Intel Lynx Point PCH HD Audio Device IDs 2013-01-02 21:56:58 +00:00
speaker Do not define bool/true/false if the symbols already exist. 2011-12-12 18:43:24 +00:00
spibus Fetch the chip select in the bridge driver, like all the other spi 2012-08-23 22:38:37 +00:00
ste Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
stg Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
stge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
streams Revert previous commit... 2012-10-10 08:36:38 +00:00
sym Use better arm memory barrier 2013-01-11 00:03:19 +00:00
syscons Add tty_set_winsize(). 2012-11-03 22:21:37 +00:00
tdfx Revert previous commit... 2012-10-10 08:36:38 +00:00
terasic Merge Perforce changeset 219952 to head: 2013-01-13 16:57:11 +00:00
ti Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
tl Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
tpm
trm More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
tsec Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
twa Give tw_osl_dbg_printf format string to pacify clang warning. 2012-11-09 15:29:52 +00:00
twe Remove remaining 4.x compat shims. No resulting changes (verified by 2012-09-07 18:41:19 +00:00
tws Integrate changes from LSI vendor driver 10.80.00.005 to FreeBSD. 2012-10-19 22:07:40 +00:00
tx Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
txp Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
uart Prevent possible usage of uninitialized pbase variable by checking 2012-12-13 03:35:47 +00:00
ubsec Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
usb Add new quirk and correct old one. 2013-01-21 07:02:41 +00:00
utopia Revert previous commit... 2012-10-10 08:36:38 +00:00
vge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
viawd Fix viawd(4) that was only working as a module. 2012-06-20 09:01:44 +00:00
virtio virtio: Start taskqueues threads after attach cannot fail 2012-12-14 05:27:56 +00:00
vkbd Get rid of D_PSEUDO. 2011-10-18 08:09:44 +00:00
vr Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
vte Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
vx Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
vxge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
watchdog
wb Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
wbwd Add ID for Nuvoton WPCM450RA0BX found on Supermicro X9SCA-F motherboards. 2013-01-11 10:22:09 +00:00
wds Final pass at having devices use their bus parent for dma tags. The 2012-03-12 19:29:35 +00:00
wi Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
wl Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
wpi Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
wtap wtap should not set the IEEE80211_F_DATAPAD flag; 2012-12-18 16:15:20 +00:00
xe Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
xen Remove files not connected to the build. It's confusing enough that 2013-01-03 15:31:23 +00:00
xl Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00