]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
mac80211: reduce max number of queues
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 12 Mar 2009 10:16:48 +0000 (11:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:45 +0000 (20:12 -0400)
commit51b381479ff5bc9b8c49ce15fd8bc35c6b695ca4
tree1a3a36914491900d5b68ef913eff36f7db433a40
parent176be728ee7d32cfd33702d82c0733e51f66ab5b
mac80211: reduce max number of queues

No hw/driver actually supports more than four queues right now,
and we allocate a number of things per queue which means we
waste a bit of memory. Reduce the maximum number to four to
accurately reflect what we do (and need for QoS). Even if we
had hardware supporting more queues we couldn't take advantage
of that right now anyway.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h