From patchwork Tue Mar 1 12:16:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Kazior X-Patchwork-Id: 8464851 Return-Path: X-Original-To: patchwork-ath10k@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E69D69F38C for ; Tue, 1 Mar 2016 12:16:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 149EF20266 for ; Tue, 1 Mar 2016 12:16:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A01F820251 for ; Tue, 1 Mar 2016 12:15:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aajDN-00089j-Jf; Tue, 01 Mar 2016 12:15:45 +0000 Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aajDJ-00085T-HO for ath10k@lists.infradead.org; Tue, 01 Mar 2016 12:15:43 +0000 Received: by mail-lb0-x230.google.com with SMTP id of3so97719234lbc.1 for ; Tue, 01 Mar 2016 04:15:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id; bh=vrSW5CQ4ZZKbbOfi20Sl2tZia5CKFwGK+tZUIQvcGuA=; b=nEgfQlLQmjp9OsDeWHtODwTqG1VsU40dX8flM6F3rGYN1ce/aC6KtU3Q6WQlaipmcA yl23l0IAVhHqdmvd+P1iIj+ibAl4WI2FyeKlvlfoKK95I6+WNjtAlguFesaXGg2I+BxS xQZyE5XaCeOOaKzFEZmCEHy5ONR1HqKRXc9+g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vrSW5CQ4ZZKbbOfi20Sl2tZia5CKFwGK+tZUIQvcGuA=; b=L1hw93q24O5Wag1Inq/2sMEddCMt6Pp4FPAMqRiFrou8FRgkC/jBGV+3py/8zXv+Vu kTs/Tv7KG3ee3Yei5yUcs2IoUBrjwG+DVU/r7iY6SjjvDrGB68ZDHR05VKOxGnTPryLm /f2dzL262kIXTsjSjIK8scCQ2i+E1WsF6iWOzB5ZOZ2gg5ZQchE8IvvR3HBQE9jAg12+ +0vshw1KY0G6hgVmoQEbBJFUtD1XlYZhPrD3bJcTA/sVQD3Vvn6PXi7DYX70ChPVNgED AsakEjaKC8E7cTWD17wQhxv2+P3YBDxQ6N0Nb8e0jFp9SVgp997KXd6sPjo2kWpPAWee s7Pg== X-Gm-Message-State: AD7BkJKgU8MaCKsHnF1evKzY8xsFlLV5yu44IkfTthAt8QquPIlwVNL+X4Q+5wDCkBdkfOSLMtqpKULtHms/UjESrniqn28osSWBoA1UQn2Xo06NS9nyQdPVO5yD966gzND0g+5AJkksLla/eTjOVfG1OjacZ4iOtqaiCQAquddTdarBfscE+iq9MdGQNGo89g== X-Received: by 10.112.61.233 with SMTP id t9mr7593160lbr.47.1456834519370; Tue, 01 Mar 2016 04:15:19 -0800 (PST) Received: from localhost.localdomain ([91.198.246.10]) by smtp.gmail.com with ESMTPSA id y3sm4753809lbk.40.2016.03.01.04.15.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Mar 2016 04:15:18 -0800 (PST) From: Michal Kazior To: ath10k@lists.infradead.org Subject: [PATCH 1/2] ath10k: fix HTT Tx CE ring size Date: Tue, 1 Mar 2016 13:16:10 +0100 Message-Id: <1456834571-9847-1-git-send-email-michal.kazior@tieto.com> X-Mailer: git-send-email 2.1.4 X-DomainID: tieto.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160301_041541_786306_BC8D317F X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Michal Kazior MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP QCA4019 can queue up to 2500 frames at a time. This means it requires roughly 5000 entires on the ring to work properly. Otherwise random tx failure may occur. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/ce.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/ce.h b/drivers/net/wireless/ath/ath10k/ce.h index 47b734ce7ecf..dac676817532 100644 --- a/drivers/net/wireless/ath/ath10k/ce.h +++ b/drivers/net/wireless/ath/ath10k/ce.h @@ -22,7 +22,7 @@ /* Maximum number of Copy Engine's supported */ #define CE_COUNT_MAX 12 -#define CE_HTT_H2T_MSG_SRC_NENTRIES 4096 +#define CE_HTT_H2T_MSG_SRC_NENTRIES 8192 /* Descriptor rings must be aligned to this boundary */ #define CE_DESC_RING_ALIGN 8