freebsd-nq/sys/dev
Gleb Smirnoff 66e58c20dd From the PR:
The receive function em_process_receive_interrupts() unlocks the
  adapter while ether_input() processes the packet, and then locks
  it back. In the meantime, em_init() may be called, either from
  em_watchdog() from softclock interrupt or from the ifconfig(8)
  program. The em_init() resets the card, in particular it sets
  adapter->next_rx_desc_to_check to 0 and resets hardware RX Head
  and Tail descriptor pointers. The loop in
  em_process_receive_interrupts() does not expect these things to
  change, and a mess may result.

This fixes long wedges of em(4) interfaces receive part under high
load and IP fastforwarding enabled.

PR:		kern/87418
Submitted by:	Dmitrij Tejblum <tejblum yandex-team.ru>
2005-10-14 11:00:15 +00:00
..
aac Fix a missing set of lock operations. 2005-10-10 20:13:31 +00:00
acpi_support Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpica Commit a workaround to a problem with resource allocation. This helps 2005-09-16 07:02:29 +00:00
adlink Use the new bus_space/resource convenience functions. 2005-09-24 20:46:02 +00:00
advansys
agp - Add a work-around for nForce3-250. Aperture base address encoded in misc. 2005-09-27 20:57:50 +00:00
aha
ahb
aic Eliminate support for oldcard by removing the compat shims. 2005-09-20 19:45:08 +00:00
aic7xxx Use the AHC_DISABLE_PCI_PERR flag to silence parity error reporting on 2005-09-22 05:11:35 +00:00
amd
amr Complete the removal of __FreeBSD_version checks from the amr driver. The 2005-08-08 12:16:21 +00:00
an MFp4: Remove OLDCARD shims 2005-09-22 04:51:11 +00:00
ar Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
arcmsr
arl Make sure that we call if_free(ifp) after bus_teardown_intr. Since we 2005-09-19 03:10:21 +00:00
asr
ata Minor cleanups, no functional changes 2005-10-13 08:05:21 +00:00
ath Fix "struct ifnet" leak on detach. 2005-09-16 10:09:23 +00:00
atkbdc
auxio
awi Remove support for oldcard by removing compat shims. 2005-09-20 19:46:54 +00:00
bfe Fix "struct ifnet" leaks when attach() fails in the middle. 2005-09-16 11:25:19 +00:00
bge Implement suspend/resume methods to be more ACPI friendly. 2005-09-28 19:20:49 +00:00
bktr
buslogic
cardbus Calling rman_get_start() after bus_release_resource() is evil. 2005-09-27 13:33:46 +00:00
ciss There's no reason to check the valence. This allows ciss to work 2005-08-09 20:53:51 +00:00
cm Make sure that we call if_free(ifp) after bus_teardown_intr. Since we 2005-09-19 03:10:21 +00:00
cnw Make sure that we call if_free(ifp) after bus_teardown_intr. Since we 2005-09-19 03:10:21 +00:00
cp Restore if_cp.c 1.27 2005-09-27 16:57:44 +00:00
cpufreq
cs Remove oldcard support by removing the compat shims. 2005-09-20 19:49:33 +00:00
ct
ctau Backout if_cp 1.26, if_ct 1.27, if_cx 1.47 by obrien: 2005-09-27 16:12:49 +00:00
cx Backout if_cp 1.26, if_ct 1.27, if_cx 1.47 by obrien: 2005-09-27 16:12:49 +00:00
cy
dc - Don't pollute opt_global.h with DEVICE_POLLING and introduce 2005-10-05 10:09:17 +00:00
dcons
de - Use m_defrag() instead of homerolling our own variant 2005-08-26 14:27:38 +00:00
dec
digi Increase boot-time DigiBIOS initialization timeout to allow 2005-09-14 15:18:12 +00:00
dpt
drm Fix a buffer aging problem in new r300 code that could lead to hangs with some 2005-08-01 17:50:19 +00:00
ed If we can't probe the RTL80x9 for some reason, fall back to probing it 2005-10-13 22:12:34 +00:00
eisa Make the eisa probe messages just like all the others in the system. 2005-08-01 07:09:15 +00:00
em From the PR: 2005-10-14 11:00:15 +00:00
en - Use PCIR_BAR macro rather than hardcoding 0x10. 2005-09-29 14:56:30 +00:00
ep Better use of gone. 2005-09-20 19:50:27 +00:00
esp
ex Fix "struct ifnet" leaks when attach() fails in the middle. 2005-09-16 11:25:19 +00:00
exca MFP4: Minor tweaks. 2005-10-14 04:48:11 +00:00
fatm Replace custom mbuf writeability test with generic 2005-09-19 21:59:49 +00:00
fb Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_t 2005-09-28 14:54:07 +00:00
fdc Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
fe PC Card instead of other variants 2005-09-22 05:52:54 +00:00
firewire Fix typo. 2005-10-11 07:30:06 +00:00
fxp - Don't pollute opt_global.h with DEVICE_POLLING and introduce 2005-10-05 10:09:17 +00:00
gem - In gem_ioctl() move the call to ether_ioctl() to the default case of 2005-09-18 13:23:19 +00:00
gfb
harp
hatm Replace m_extadd() with macro version MEXTADD(). 2005-09-19 22:04:41 +00:00
hfa
hifn
hme Move hme_stop() after ether_ifdetach() and if_free() to prevent a 2005-09-08 13:50:16 +00:00
hptmv Fix a typo that broke LINT. 2005-09-08 14:13:36 +00:00
hwpmc Bug fix initialization on multi-core HTT CPUs. 2005-10-10 15:21:08 +00:00
ic
ichsmb Make ichsmb unloadable. 2005-07-29 00:20:50 +00:00
ichwd
ida
idt
ie Fix "struct ifnet" leaks when attach() fails in the middle. 2005-09-16 11:25:19 +00:00
ieee488 Use new bus_space/resource convenience functions. 2005-09-24 20:44:55 +00:00
if_ndis Fix build: remove stale KASSERT() for mutex that no longer exists. 2005-10-11 21:31:23 +00:00
iicbus Remove public declarations of variables that were forgotten when they were 2005-08-10 07:10:02 +00:00
iir
io
ips Fix build. 2005-09-27 09:11:44 +00:00
ipw Make sure that we call if_free(ifp) after bus_teardown_intr. Since we 2005-09-19 03:10:21 +00:00
isp AT_MAKE_TAGID needs an instance as the 2nd arg- not just a 0. 2005-07-31 23:21:19 +00:00
ispfw
iwi Fixes my previous commit (rev 1.20) 2005-10-07 18:11:32 +00:00
ixgb - Don't pollute opt_global.h with DEVICE_POLLING and introduce 2005-10-05 10:09:17 +00:00
joy Remove OLDCARD support by removing compat shims 2005-09-20 19:54:11 +00:00
kbd
kbdmux kbdmux(4) keyboard multiplexer integration 2005-07-14 22:43:20 +00:00
led
lge - Use if_printf() and device_printf() and axe lge_unit from the softc. 2005-10-03 15:52:34 +00:00
lmc - Don't include opt_global.h, it is always included implicitly. 2005-10-05 10:07:27 +00:00
lnc Fix "struct ifnet" leak if attach() fails in the middle. 2005-09-16 12:49:06 +00:00
mc146818
mca
mcd
md Make sure that the worker thread knows the type early enough to 2005-10-06 19:47:04 +00:00
mem
mii Use ansi function definitions in preference to K&R to reduce diffs 2005-09-30 19:39:27 +00:00
mk48txx
mlx Add missing parenthesis around error handling code upon attaching 2005-07-30 15:53:40 +00:00
mly Retire the last of the FreeBSD 4.x compat code from the mly driver. 2005-08-08 12:23:27 +00:00
mpt Remove a couple of explicit memset(0) ops that were zeroing past the end of 2005-10-08 05:16:45 +00:00
mse
my Fixup locking in if_my(4) and mark it MPSAFE: 2005-08-16 20:39:30 +00:00
ncv Remove OLDCARD support by removing compat shims 2005-09-20 19:54:11 +00:00
nge Minor tweaks and fixups: 2005-10-13 20:22:07 +00:00
nmdm Merge the dev_clone and dev_clone_cred event handlers into a single 2005-08-08 19:55:32 +00:00
nsp Remove OLDCARD support by removing compat shims 2005-09-20 19:54:11 +00:00
null
nve Make sure that we call if_free(ifp) after bus_teardown_intr. Since we 2005-09-19 03:10:21 +00:00
ofw
owi Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
patm Replace m_extadd() with macro version MEXTADD(). 2005-09-19 22:04:41 +00:00
pbio
pccard IDs for generic card, airvast wm_100, i-o data wn-b11/cfz 2005-10-11 01:05:39 +00:00
pccbb Merge in WIP from p4 for supporting ISA pccard bridges conforming to 2005-10-14 04:47:18 +00:00
pcf
pci - Consolidate duplicated code for assigning interrupts to PCI devices via 2005-09-29 15:04:41 +00:00
pdq Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
ppbus Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
ppc
pst
puc puc(4) does strange things to resources in order to fool the 2005-09-28 18:06:25 +00:00
ral Remove OLDCARD shims 2005-09-21 22:45:14 +00:00
random
ray 'PC Card' instead of other variants 2005-09-22 06:01:44 +00:00
rc
re - Don't pollute opt_global.h with DEVICE_POLLING and introduce 2005-10-05 10:09:17 +00:00
rndtest
rp
sab
safe
sbni Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
sbsh Make sure that we call if_free(ifp) after bus_teardown_intr. Since we 2005-09-19 03:10:21 +00:00
scd
sf In detach method, move if_free() after bus_teardown_intr(). 2005-10-13 21:11:20 +00:00
si
sio 'PC Card' instead of other variants 2005-09-22 06:01:44 +00:00
sk Mark sk(4) as capable of handling extended VLAN frames. NICs 2005-10-11 22:55:16 +00:00
smbus Remove public declarations of variables that were forgotten when they were 2005-08-10 07:10:02 +00:00
sn Eliminate dead code 2005-09-22 05:56:32 +00:00
snc 'PC Card' instead of other variants 2005-09-22 06:01:44 +00:00
snp Restore the ability to detach from a tty via SIOCSTTY and document 2005-09-19 13:48:45 +00:00
sound - Locking improvements. 2005-10-05 20:05:52 +00:00
speaker
sr Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
stg Remove OLDCARD shims 2005-09-21 22:45:14 +00:00
streams
sx
sym
syscons Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_t 2005-09-28 14:54:07 +00:00
tdfx
tga
ti In detach method, move if_free() after bus_teardown_intr(). 2005-10-13 21:11:20 +00:00
trm
twa Don't pollute the entire kernel build with -I$S/dev/twa. 2005-09-11 00:52:05 +00:00
twe
tx Make sure that we call if_free(ifp) after bus_teardown_intr. Since we 2005-09-19 03:10:21 +00:00
txp - Use PCIR_BAR(). 2005-10-03 15:47:15 +00:00
uart Remove OLDCARD shims 2005-09-21 22:45:14 +00:00
ubsec
usb add product ID for Linux Ethernet/RNDIS gadget on pxa210/25x/26x. 2005-09-28 19:41:25 +00:00
utopia
vge - Don't pollute opt_global.h with DEVICE_POLLING and introduce 2005-10-05 10:09:17 +00:00
vkbd Merge the dev_clone and dev_clone_cred event handlers into a single 2005-08-08 19:55:32 +00:00
vr In detach method, move if_free() after bus_teardown_intr(). 2005-10-13 21:11:20 +00:00
vx Fix another edge case I just noticed when committing the previous changes: 2005-10-06 18:41:31 +00:00
watchdog Return zero when disabling watchdog, unless any of the drivers complain. 2005-09-29 12:31:44 +00:00
wds
wi Fixing WEP bustage in hostap mode since 5.2-RELEASE. 2005-10-02 04:29:08 +00:00
wl Make sure that we call if_free(ifp) after bus_teardown_intr. Since we 2005-09-19 03:10:21 +00:00
xe Fix a nasty typo. Change: 2005-10-06 08:30:40 +00:00
zs