All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mac80211: reduce max number of queues
@ 2009-03-12 10:16 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2009-03-12 10:16 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless

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>
---
 include/net/mac80211.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- wireless-testing.orig/include/net/mac80211.h	2009-02-13 11:38:26.000000000 +0100
+++ wireless-testing/include/net/mac80211.h	2009-02-13 11:38:27.000000000 +0100
@@ -97,7 +97,7 @@ struct ieee80211_ht_bss_info {
  *	for A-MPDU operation.
  */
 enum ieee80211_max_queues {
-	IEEE80211_MAX_QUEUES =		16,
+	IEEE80211_MAX_QUEUES =		4,
 	IEEE80211_MAX_AMPDU_QUEUES =	16,
 };
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-12 22:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 10:16 [PATCH] mac80211: reduce max number of queues Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.