freebsd-nq/sys
Adrian Chadd af33d486ab Implement a separate, smaller pool of ath_buf entries for use by management
traffic.

* Create sc_mgmt_txbuf and sc_mgmt_txdesc, initialise/free them appropriately.
* Create an enum to represent buffer types in the API.
* Extend ath_getbuf() and _ath_getbuf_locked() to take the above enum.
* Right now anything sent via ic_raw_xmit() allocates via ATH_BUFTYPE_MGMT.
  This may not be very useful.
* Add ATH_BUF_MGMT flag (ath_buf.bf_flags) which indicates the current buffer
  is a mgmt buffer and should go back onto the mgmt free list.
* Extend 'txagg' to include debugging output for both normal and mgmt txbufs.
* When checking/clearing ATH_BUF_BUSY, do it on both TX pools.

Tested:

* STA mode, with heavy UDP injection via iperf.  This filled the TX queue
  however BARs were still going out successfully.

TODO:

* Initialise the mgmt buffers with ATH_BUF_MGMT and then ensure the right
  type is being allocated and freed on the appropriate list.  That'd save
  a write operation (to bf->bf_flags) on each buffer alloc/free.

* Test on AP mode, ensure that BAR TX and probe responses go out nicely
  when the main TX queue is filled (eg with paused traffic to a TID,
  awaiting a BAR to complete.)

PR:		kern/168170
2012-06-13 06:57:55 +00:00
..
amd64 Fix a problem where zero-length RDATA fields can cause named(8) to crash. 2012-06-12 12:10:10 +00:00
arm Add ARM callchain support for hwpmc. 2012-06-13 06:38:25 +00:00
boot Introduce "feature flags" for ZFS pools (bump SPA version to 5000). 2012-06-11 11:35:22 +00:00
bsm
cam One more major cam_periph_error() rewrite to improve error handling and 2012-06-09 13:07:44 +00:00
cddl Introduce "feature flags" for ZFS pools (bump SPA version to 5000). 2012-06-11 11:35:22 +00:00
compat Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
conf Some fixes for r236772. 2012-06-10 02:38:51 +00:00
contrib Merge revision 1.715 from OpenBSD: 2012-06-06 09:36:52 +00:00
crypto
ddb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
dev Implement a separate, smaller pool of ath_buf entries for use by management 2012-06-13 06:57:55 +00:00
fs Improve handling of uiomove(9) errors for the NFS client. 2012-06-06 16:30:16 +00:00
gdb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
geom Add missing newlines into XML output. 2012-06-05 16:46:34 +00:00
gnu/fs Fix build: 2012-05-23 06:49:50 +00:00
i386 Share IPI init and startup code of mp_machdep.c with acpi_wakeup.c 2012-06-12 00:14:54 +00:00
ia64 Improve style(9) in the previous commit. 2012-06-01 17:07:52 +00:00
isa
kern Revert part of the r236935 for now, until I figure out why it doesn't 2012-06-12 10:25:11 +00:00
kgssapi
libkern Fix unloading of libiconv module. 2012-06-11 17:42:39 +00:00
mips auth.conf is dead. 2012-06-12 17:04:56 +00:00
modules Introduce "feature flags" for ZFS pools (bump SPA version to 5000). 2012-06-11 11:35:22 +00:00
net Fix comment to better reflect how we are 2012-06-12 13:31:32 +00:00
net80211 Fix some corner cases in the ieee80211_send_bar() handling. 2012-05-22 19:37:12 +00:00
netatalk
netgraph Revert my local not yet properly tested changes, that leaked in 2012-05-25 07:46:24 +00:00
netinet Add a cmsg of type IP_TOS for UDP/IPv4 sockets to specify the TOS byte. 2012-06-12 14:56:08 +00:00
netinet6 Deliver IPV6_TCLASS, IPV6_HOPLIMIT and IPV6_PKTINFO cmsgs (if 2012-06-12 13:57:56 +00:00
netipsec
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netsmb
nfs
nfsclient PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfsserver
nlm
ofed Revert r234834 per luigi@ request. 2012-05-03 08:56:43 +00:00
opencrypto
pc98 MFprojects/zfsd: 2012-05-24 11:20:51 +00:00
pci intpm: add ATI IXP400 pci id 2012-04-16 10:33:46 +00:00
powerpc Panic openly if we cannot retrieve memory information from the device tree. 2012-05-30 18:05:48 +00:00
rpc
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 Replace all uses of the vm page queues lock by a r/w lock that is private 2012-05-29 01:52:38 +00:00
sys Replace a reference to the non-existent SI_ORDER_LAST in a comment with 2012-06-12 18:19:46 +00:00
teken
tools
ufs In softdep_setup_inomapdep() we may have to allocate both inodedep 2012-06-11 23:07:21 +00:00
vm Use the previous stack entry protection and max protection to correctly 2012-06-10 11:31:50 +00:00
x86 Share IPI init and startup code of mp_machdep.c with acpi_wakeup.c 2012-06-12 00:14:54 +00:00
xdr
xen
Makefile Add sys/ofed to the 'make cscope' target. 2012-03-20 18:05:15 +00:00