From patchwork Tue Aug 15 13:06:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 9901857 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8F10F602C9 for ; Tue, 15 Aug 2017 13:07:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81C211FF54 for ; Tue, 15 Aug 2017 13:07:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 769E426E3A; Tue, 15 Aug 2017 13:07:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09A061FF54 for ; Tue, 15 Aug 2017 13:07:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751548AbdHONHF (ORCPT ); Tue, 15 Aug 2017 09:07:05 -0400 Received: from mail-by2nam03on0048.outbound.protection.outlook.com ([104.47.42.48]:5536 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750997AbdHONHD (ORCPT ); Tue, 15 Aug 2017 09:07:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quantenna.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Vmll3cEIsWE0qAgIhmMZJBKS3laq1SMrkWNtWWq9EF0=; b=mDgAWmJGi16bkSBxIkoFgtJLlJ5hmYOpnu6KDqudpct5pDpRLY9jIbiQX6xbn/VHFXPCCz5K4V2qoRPjv/pnSjDX2h40WH28PgP/dHt0brHfYsQwW2TsTXlZvPh827R8nWe/IwxU+m7sLl8vKMSWYOPR/UcvGCR4O8j2ktSmcUc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=sergey.matyukevich.os@quantenna.com; Received: from bars.quantenna.com (195.182.157.78) by BLUPR05MB1924.namprd05.prod.outlook.com (10.162.224.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.12; Tue, 15 Aug 2017 13:06:58 +0000 From: Sergey Matyukevich To: linux-wireless@vger.kernel.org Cc: Igor Mitsyanko , Avinash Patil , Sergey Matyukevich Subject: [PATCH 5/9] qtnfmac: decrease default Tx queue size Date: Tue, 15 Aug 2017 16:06:35 +0300 Message-Id: <20170815130638.31718-6-sergey.matyukevich.os@quantenna.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170815130638.31718-1-sergey.matyukevich.os@quantenna.com> References: <20170815130638.31718-1-sergey.matyukevich.os@quantenna.com> MIME-Version: 1.0 X-Originating-IP: [195.182.157.78] X-ClientProxiedBy: AM5PR0602CA0021.eurprd06.prod.outlook.com (10.175.46.159) To BLUPR05MB1924.namprd05.prod.outlook.com (10.162.224.14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e8b35fab-7f8f-48ee-5a23-08d4e3de832d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BLUPR05MB1924; X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB1924; 3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i9FN0qv/L/6linr3yA+nbTgBllLroyyTN7ZrjkTYIXbYcxKmJlpKFZKgCwVK4rV8SivgkajpMeRps5/NbZNjg45ZU+NS7A71MHOdvaXBiVFIhQtMQvv9JLIiw5xLZ2qdzgjCEbGOqdX87oCYGibAEZ+1oY/JKEupiOtsYW0i3Z+Zoczmm7dqmbMFKxMVTzQ4xzm4+GLDohN+CEgIuHd3+9rwq3ASLdLOFBLz5jcUUy+ijYNbWDe00vLE0X8aR0q3tuREV7xyeFOylAc2prFrxsDlbSUWAPL8Mnpq7f1NHzPfurBIfh6OTQsTU8idh8gwgJ4VFAsXra9Q7Ibitt6KVKPIndtl; 4:NSBpFvkWspYlginSM5AiajWuyF3D+UX89qQlUpWQ4ywN8tnlhLNIpAcgjoi7eT6VMeTU/ULp+ftY08Fw/hOycAqYjJQ53/XQMLk76MwNwkn36SpFiA2ldEgKI6jnr1VUmTPSSFS4UzOWl7cuJOdmWijjCALj2Jgnk1R2HohoSFmLWSJOQtIX8q/YLusac4YfcQ1lLvhDPQ4gZlabUr210ZDWZ4wqRMfw/n61yWSPFKdeVNTMK03te/17iiJWt4Sj X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123558100)(20161123564025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR05MB1924; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR05MB1924; X-Forefront-PRVS: 04004D94E2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39830400002)(189002)(199003)(86362001)(478600001)(4326008)(305945005)(25786009)(101416001)(2906002)(47776003)(7736002)(66066001)(81156014)(81166006)(8676002)(50226002)(103116003)(189998001)(50986999)(69596002)(76176999)(97736004)(50466002)(2361001)(2351001)(33646002)(6486002)(1076002)(48376002)(106356001)(105586002)(36756003)(5660300001)(68736007)(575784001)(53936002)(110136004)(107886003)(42186005)(6666003)(7350300001)(2950100002)(5003940100001)(6116002)(53416004)(6916009)(3846002)(54906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR05MB1924; H:bars.quantenna.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: quantenna.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR05MB1924; 23:hHiv1UlbmFEDHTnk0aJT/ZGe/PeEX2NuJNIDYwwrC?= =?us-ascii?Q?vG26+y9boHeZMp8ZW4wf6uuHdI2dDnHaDAHTnnuvXTshw1BTy3eWfj8cD45y?= =?us-ascii?Q?KT3Ccmf9WPZetNBmjyVK7xG7CqJ7i6myFslaH6VdXvAE1/UmZgHLeW+EoW+f?= =?us-ascii?Q?9CKGbisG5kRsDyY00TWhdVW9qpAL54tGxBRFOWRJ+4dUP6n2fdSz+J+iTI0h?= =?us-ascii?Q?Ig1cPTezhx/IRTuPSqoJYN0+vGNt2TmNY7TKy3KOFh9w5//K3JTlYpn5pW49?= =?us-ascii?Q?RHCF3ZccQFDLnJwu7h+PDzWmC1czaSyfDiL8L/7hx0CsTrmxRKuh53PEDBVM?= =?us-ascii?Q?ki9eLv3LpkdlPgUWsL+MMgb1H2mwZ50b2MUkvSk/eOqu/5u7FIKYaiottIhr?= =?us-ascii?Q?6GLXkEu5lSsZgVfvq+AQeHE4Rigz5FPjTSrN4ftTqVTLe/BXYf0t3pnKBrP/?= =?us-ascii?Q?nBLu1AiZ4uCz3JKLU/V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5AZv1CCSXGMqEF+KEQjIvYuXKL2e4Gywi4Pcxrcibqp0BpL3uNYFd4aMhwTBphdvDPpPeYGDsoeYmb9zWwL/G9u2jGIH1642G3535MoxJneXzQk9NWL+wBQj5VPhAeTwWy6r+izkcsf+monSlZRspciRaCsq2p7zL1UvEtQOX2SJamUSZ7XXSt0GijrXp3pHV3VO3ZTsIFdQ6ZJDHQRANSOTL9qS8tm8/2EBUuf8bLeOJfwyjLd49wcU2pDnst8xPS/WWJpTdrni4WVlKw==; 5:TUSZwPq/RMjR1IQkogSds00t3/aEWeh1tkivZHUgij0kNb42gUJQjytuwZU39rsjFZbvzvIx6HToyma/S6xjwFZkilg1G/PmSFRK9bmYCYcEon65/Z98SsAdYLt6yeM6/w5lp+MckUXRTD+hQKJlDg==; 24:9drWgo1j7ojkyeaMKpehOYf0baDtPt7aOTnfYTxKG/yRYFP0lZkk/s+GVOH9JUyvu86P5l40TRSCykt4aGBk+mJrOb42yJgY9yLEuSdwYTs=; 7:d1muVCVHjJN1KheGjnRdDBw1EVaXAT7AgD9LGtTBjEgBgPK4vt5215duU/qFzDO5a64b1526+xHbbrW9eDeXwYwGSdhyiXNU0PBlBrEhLwbI5lHZn5K9nsHw7jGa1GeW6FFCFF6Ye+li0UEaMA8XZ1MPI82ecJz7Kntnc4PNZvLJ+213oaf5iDjwCKPGP38yEklTcLfOVnC/nlu54MP8XrcO+CXq5jaQjcwjr6pA54o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: quantenna.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2017 13:06:58.2239 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR05MB1924 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoid extra buffering in driver by default. Use max hardware Tx queue size. Signed-off-by: Sergey Matyukevich --- drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c b/drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c index a0b65d487ddb..f18e8a724c68 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c +++ b/drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c @@ -36,7 +36,7 @@ static bool use_msi = true; module_param(use_msi, bool, 0644); MODULE_PARM_DESC(use_msi, "set 0 to use legacy interrupt"); -static unsigned int tx_bd_size_param = 256; +static unsigned int tx_bd_size_param = 32; module_param(tx_bd_size_param, uint, 0644); MODULE_PARM_DESC(tx_bd_size_param, "Tx descriptors queue size");