From patchwork Wed Nov 20 20:29:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 11254763 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9690D6C1 for ; Wed, 20 Nov 2019 20:30:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 752682075E for ; Wed, 20 Nov 2019 20:30:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VaRfeeHf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 752682075E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phrozen.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=KpWskc9F5AYCepAHaSyP2uS2dsfZ41mvb2Y6lc9HAYQ=; b=VaRfeeHfdND768 nKnQCuir3Io4FqmQGcrByOkuAqxcDJh29znXRsmzdEk7aP4waVIJi7SPpkNW4TRckYuFcR//O2JvH y5ObJxp3WzcpV8r761TGo1oNgCzHo38RlCjeWp8g9J4q7mIub5ZOZX1RjaLvZIX47i3mL3qVswBhJ c3SmJdJGHmwKlLVqeb4uK6plG4jpzve01NPBZQkpDX1oqpU001olCh1a1G69Svyvi9AM9AW+fvbQP Dzr+OslgXmp47NrufvOBREvqP/FSMjezwDsnlaiSgdcTtVm9qfBo0mJFyu8WhMMbGC0rm1Rz9Rgwm rgY4dT4r2mhQTxh2VdRg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXWcD-0005iO-2c; Wed, 20 Nov 2019 20:30:17 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXWc6-0005Xm-6C for ath11k@lists.infradead.org; Wed, 20 Nov 2019 20:30:11 +0000 Received: from p5dcfbc54.dip0.t-ipconnect.de ([93.207.188.84] helo=bertha.fritz.box) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1iXWc3-0007Jn-BR; Wed, 20 Nov 2019 21:30:07 +0100 From: John Crispin To: Kalle Valo Subject: [PATCH 0/3] ath11k: improve TX path Date: Wed, 20 Nov 2019 21:29:53 +0100 Message-Id: <20191120202956.4401-1-john@phrozen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191120_123010_394570_45218FD0 X-CRM114-Status: UNSURE ( 6.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ath11k@lists.infradead.org, John Crispin Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org This series improves the TX path. The following numbers are peak performance measured. prior to series [SUM] 30.00-31.00 sec 104 MBytes 874 Mbits/sec series applied [SUM] 35.00-36.00 sec 124 MBytes 1.04 Gbits/sec series applied + tx encap [SUM] 77.00-78.00 sec 167 MBytes 1.40 Gbits/sec John Crispin (3): ath11k: move some tx_status parsing to debugfs code ath11k: optimise ath11k_dp_tx_completion_handler ath11k: optimize ath11k_hal_tx_status_parse drivers/net/wireless/ath/ath11k/debugfs_sta.c | 66 +++++++++------- drivers/net/wireless/ath/ath11k/dp.c | 16 ++-- drivers/net/wireless/ath/ath11k/dp.h | 11 ++- drivers/net/wireless/ath/ath11k/dp_tx.c | 79 ++++++++++++------- drivers/net/wireless/ath/ath11k/hal_tx.c | 73 ----------------- drivers/net/wireless/ath/ath11k/hal_tx.h | 13 +-- 6 files changed, 101 insertions(+), 157 deletions(-)