Date: Fri, 22 Mar 2013 06:38:46 -0700 From: Adrian Chadd <adrian@freebsd.org> To: freebsd-wireless@freebsd.org Subject: [RFT] TXQ locking patch; CABQ refactor Message-ID: <CAJ-Vmo=z4g5TCh7RYiQDWeR2W7%2BVW=6rR3_tW=m5sY0p6VtCqw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, This patch implements two things: * it refactors out the cabq hardware TXQ code from the cabq list setup code; * it restores the per-TXQ lock (for hardware TXQs and the VAP multicast TXQs) and wraps list operations around those. The main reason for the second part of the patch is to try and reduce latency/contention on grabbing locks when setting up the CABQ for transmit. I saw the TX lock getting acquired and contended on when also sending out CABQ frames and I didn't want to have this lead to missed / stuck beacons. I've not yet tested adhoc, EDMA NICs or legacy+TDMA. I'd appreciate whatever testing people can give it. Please let me know if you end up with more stuck beacons. Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=z4g5TCh7RYiQDWeR2W7%2BVW=6rR3_tW=m5sY0p6VtCqw>