summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_concurrency.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-05-08 21:23:51 +0000
committeradrian <adrian@FreeBSD.org>2013-05-08 21:23:51 +0000
commit04638b894ad1babedd83be1fe11700d4c5166eae (patch)
treeb962572ae00f3ec749787560f9f7d47e545dfb6e /lib/libthr/thread/thr_concurrency.c
parent0e97770857903861d2c055094e0d6f4872970f13 (diff)
downloadFreeBSD-src-04638b894ad1babedd83be1fe11700d4c5166eae.zip
FreeBSD-src-04638b894ad1babedd83be1fe11700d4c5166eae.tar.gz
Fix the holding descriptor logic to actually be "right" (for values
of "right".) Flip back on the "always continue TX DMA using the holding descriptor" code - by always setting ATH_BUF_BUSY and never setting axq_link to NULL. Since the holding descriptor is accessed via txq->axq_link and _that_ is done behind the TXQ lock rather than the TX path lock, the holding descriptor stuff itself needs to be behind the TXQ lock. So, do the mental gymnastics needed to do this. I've not seen any of the hardware failures that I was seeing when I last tried to do this. Tested: * AR5416, STA mode
Diffstat (limited to 'lib/libthr/thread/thr_concurrency.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud