From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3E9BC432BE for ; Thu, 2 Sep 2021 05:34:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D4A08610C8 for ; Thu, 2 Sep 2021 05:34:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230261AbhIBFfc (ORCPT ); Thu, 2 Sep 2021 01:35:32 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:27330 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230483AbhIBFf3 (ORCPT ); Thu, 2 Sep 2021 01:35:29 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1630560872; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=ZYlAM6qs8ju6qwANgzbN+HuD8bJBqDlc+WKuouCbLTk=; b=U3w2EAGxya81IhyrZwiDg/ZiGzjdDGR7Lhyogfnjbdmp/IZwpyRXmENKiyR5hW/nA9A9g6X9 Txz3UlYpmhDBljOOHV/ylsOiJrGxa8QGHjUvYXBAf6a6iC6NElxBvusUUgBJCc6gbO3W7ajS S6cLtExfXR6+4eQuYZ6MHz+uTCU= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-east-1.postgun.com with SMTP id 61306267c603a0154fc2c6e7 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 02 Sep 2021 05:34:31 GMT Sender: ppranees=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id CC62FC43460; Thu, 2 Sep 2021 05:34:29 +0000 (UTC) Received: from ppranees-linux.qualcomm.com (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ppranees) by smtp.codeaurora.org (Postfix) with ESMTPSA id CC152C4338F; Thu, 2 Sep 2021 05:34:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org CC152C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: P Praneesh To: kvalo@codeaurora.org Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, P Praneesh Subject: [PATCH v3 00/12] ath11k: optimizations in data path Date: Thu, 2 Sep 2021 11:03:28 +0530 Message-Id: <1630560820-21905-1-git-send-email-ppranees@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This patchset covers optimizations in rx (first 7 patches) and tx (remaining 5 patches) data path. Running UDP DL/UL traffic on IPQ8074 5G radio showed an average 5-10% improvement on a 4 core platform --- v3: - Changed rcu_dereference to rcu_access_pointer in [PATCH 07/12] ath11k: add branch predictors in process_rx [PATCH 11/12] ath11k: add branch predictors in dp_tx path. removed redundant check in [PATCH 02/12] ath11k: allocate dst ring descriptors from cacheable memory. v2: - Addressed internal developer reported segfault and avoid lookup twice by utilizing idr_remove (patch 12/12 and patch 2/12). --- P Praneesh (12): ath11k: disable unused CE8 interrupts for ipq8074 ath11k: allocate dst ring descriptors from cacheable memory ath11k: modify dp_rx desc access wrapper calls inline ath11k: avoid additional access to ath11k_hal_srng_dst_num_free ath11k: avoid active pdev check for each msdu ath11k: remove usage quota while processing rx packets ath11k: add branch predictors in process_rx ath11k: allocate HAL_WBM2SW_RELEASE ring from cacheable memory ath11k: remove mod operator in dst ring processing ath11k: avoid while loop in ring selection of tx completion interrupt ath11k: add branch predictors in dp_tx path ath11k: avoid unnecessary lock contention in tx_completion path drivers/net/wireless/ath/ath11k/ce.c | 2 +- drivers/net/wireless/ath/ath11k/core.c | 5 + drivers/net/wireless/ath/ath11k/dp.c | 48 ++++++-- drivers/net/wireless/ath/ath11k/dp.h | 1 + drivers/net/wireless/ath/ath11k/dp_rx.c | 207 ++++++++++++++++---------------- drivers/net/wireless/ath/ath11k/dp_tx.c | 86 ++++++------- drivers/net/wireless/ath/ath11k/hal.c | 35 +++++- drivers/net/wireless/ath/ath11k/hal.h | 1 + drivers/net/wireless/ath/ath11k/hw.h | 1 + drivers/net/wireless/ath/ath11k/mac.c | 2 +- 10 files changed, 220 insertions(+), 168 deletions(-) -- 2.7.4