freebsd-dev/sys/dev/netmap
Adrian Chadd 869d88787d [netmap] fix locking regressions
* Firmware oriented NICs may need to sleep in their configuration paths.
  Use RLOCK instead of WLOCK to allow this to again occur.

  This fixes netmap on cxgbe.

* Change the worker lock to a normal mutex rather than a spin lock.
  Drivers shouldn't be doing netmap work from the fast interrupt
  handlers, so it's not required to be a spinlock.

Submitted by:	luigi, Vincenzo Maffione <v.maffione@gmail.com>
Reviewed by:	jhb
2016-12-30 14:47:46 +00:00
..
if_em_netmap.h The buffer address is always overwritten in the extended descriptor format, 2016-10-28 13:37:58 +00:00
if_igb_netmap.h Sync netmap sources with the version in our private tree. 2015-07-10 05:51:36 +00:00
if_ixl_netmap.h Import the current version of netmap, aligned with the one on github. 2016-10-16 14:13:32 +00:00
if_lem_netmap.h remove stale and unused code from various files 2016-10-18 16:18:25 +00:00
if_ptnet.c Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: 2016-10-27 09:46:22 +00:00
if_re_netmap.h Sync netmap sources with the version in our private tree. 2015-07-10 05:51:36 +00:00
if_vtnet_netmap.h remove trailing whitespace. No code changes. 2016-10-18 15:41:57 +00:00
ixgbe_netmap.h Import the current version of netmap, aligned with the one on github. 2016-10-16 14:13:32 +00:00
netmap_freebsd.c [netmap] fix locking regressions 2016-12-30 14:47:46 +00:00
netmap_generic.c remove stale and unused code from various files 2016-10-18 16:18:25 +00:00
netmap_kern.h Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: 2016-10-27 09:46:22 +00:00
netmap_mbq.c Import the current version of netmap, aligned with the one on github. 2016-10-16 14:13:32 +00:00
netmap_mbq.h Import the current version of netmap, aligned with the one on github. 2016-10-16 14:13:32 +00:00
netmap_mem2.c Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: 2016-10-27 09:46:22 +00:00
netmap_mem2.h Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: 2016-10-27 09:46:22 +00:00
netmap_monitor.c remove trailing whitespace. No code changes. 2016-10-18 15:41:57 +00:00
netmap_offloadings.c Import the current version of netmap, aligned with the one on github. 2016-10-16 14:13:32 +00:00
netmap_pipe.c remove trailing whitespace. No code changes. 2016-10-18 15:41:57 +00:00
netmap_pt.c Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: 2016-10-27 09:46:22 +00:00
netmap_vale.c Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: 2016-10-27 09:46:22 +00:00
netmap.c Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: 2016-10-27 09:46:22 +00:00