diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-02-20 01:45:43 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 22:52:48 +0300 |
commit | bdceeb2dad5c8487ffeb4d0fa949686e4350ec7f (patch) | |
tree | a980d4cb770bf47a939206fc9fbb92deb3232938 /lib | |
parent | 8eccb53f1b858c9bd0b745f839174725b76508ec (diff) | |
download | linux-bdceeb2dad5c8487ffeb4d0fa949686e4350ec7f.tar.xz |
b43: Optimize DMA buffers
In the old days we used one slot per frame. But when we changed that to 2,
we didn't raise the overall slot count. Which resulted in an effective
division of two to the number of slots.
Double the number of TX slots, so we have an effective hardware queue
of 128 frames per QoS queue.
Also optimize the TX header cache handling. We don't need a cached TX header
for slots that will never carry an actual header.
So we reduce the memory consumption of the cache by 50%.
So as a net result we end up with more or less the same memory usage before
and after this patch (except a few tiny meta structures), but have twice
the number of TX slots available.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions