From patchwork Wed Apr 13 05:55:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Manoharan X-Patchwork-Id: 702851 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3D5qhaH025759 for ; Wed, 13 Apr 2011 05:52:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753828Ab1DMFwm (ORCPT ); Wed, 13 Apr 2011 01:52:42 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:35840 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753713Ab1DMFwl (ORCPT ); Wed, 13 Apr 2011 01:52:41 -0400 Received: by mail-iw0-f174.google.com with SMTP id 34so276432iwn.19 for ; Tue, 12 Apr 2011 22:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:x-mailer:cc:subject; bh=KIA5+HFudiLvmzuicgls41+7g06DawJ2fA9tkREJhWY=; b=KjFZ2rl+8Lae7K6UMe0t1Ya3KOTZbi9zEFQwaWC5X0vtxcuanEEsx4RkosXuK/3xPH 6aUOcALqzjfNhUjPla9qGxq84YTLiHUHVp8XPEdjSOSRE5Y+0Gzun5Nfg21HtSK+KEM6 h6oPI+PTvJIKtrtNixj5Vqfda5zUlB7bndqFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:x-mailer:cc:subject; b=ZXTPzQM8kx0mwcB30PpgUlkz8SltPG+3iuROwumhnvgGdJr+uT42iFCD9Wh8Ccer3N VqUWNUHUJaPlHtgcjiL47Xb/4hXeQ3YeNHSg11wUNsf7uSCERC33Iv7THZv9wa4Q0BkM 1KcOEC5Ed2YEa3pv09jwYwN3tcis4z1f7c5Qw= Received: by 10.42.37.199 with SMTP id z7mr725048icd.110.1302673961417; Tue, 12 Apr 2011 22:52:41 -0700 (PDT) Received: from atheros-test ([182.72.177.186]) by mx.google.com with ESMTPS id hc41sm179441ibb.64.2011.04.12.22.52.39 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Apr 2011 22:52:40 -0700 (PDT) From: Sujith MIME-Version: 1.0 Message-ID: <19877.15034.756190.319196@gargle.gargle.HOWL> Date: Wed, 13 Apr 2011 11:25:06 +0530 To: linville@tuxdriver.com X-Mailer: VM 8.1.1 under 23.3.1 (x86_64-unknown-linux-gnu) CC: linux-wireless@vger.kernel.org, ath9k-devel@venema.h4ckr.net Subject: [PATCH 21/40] ath9k_htc: Reduce TX queue size Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 13 Apr 2011 05:52:43 +0000 (UTC) From: Sujith Manoharan The current max queue length of 1024 is quite large and unnecessary. 256 suffices well enough even for high throughput situations. Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath9k/hif_usb.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.h b/drivers/net/wireless/ath/ath9k/hif_usb.h index 7b9d863..f82b32b 100644 --- a/drivers/net/wireless/ath/ath9k/hif_usb.h +++ b/drivers/net/wireless/ath/ath9k/hif_usb.h @@ -31,7 +31,7 @@ /* FIXME: Verify these numbers (with Windows) */ #define MAX_TX_URB_NUM 8 -#define MAX_TX_BUF_NUM 1024 +#define MAX_TX_BUF_NUM 256 #define MAX_TX_BUF_SIZE 32768 #define MAX_TX_AGGR_NUM 20