Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1409876rbb; Mon, 26 Feb 2024 08:23:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUO4PW2fXfOPcam1MDaejwBphu7Funv6r82qREZa95iVtND+X4321FZlxwM18jCv2WoOmmj72QAYbzQFzLN2WC1Hg0W3UvhPJ4jto3Bxg== X-Google-Smtp-Source: AGHT+IGMABmkfHphK9Bm7rNJ9jH4IMeB7fWCREaX6TqH7oqAcUZC2DriW3texrjvQxpdLQXWmk7j X-Received: by 2002:a05:6102:3a63:b0:470:5b9b:8693 with SMTP id bf3-20020a0561023a6300b004705b9b8693mr3660720vsb.6.1708964614452; Mon, 26 Feb 2024 08:23:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708964614; cv=pass; d=google.com; s=arc-20160816; b=nNjRH3+nBJtk5vdPuRuVfoc4fqWs0LIc8NC0/xp8oh798WP7iYJdiccDZaF7hwfc6k JAaSuO2t4hQnbhByQc/+m3gMxT7B6eada/nrNya4+qEmq6LrcXtud0ucFiKiA6FZyHEE KNeeXCRaVfXA+fsvePRZOY1w53RBVrB15ivfOI6zCh5jPe+Ft6ncOssmPZPvjGS/mxyS ROv4hBr/5FtwQHH8HWIAK5VGNwYTyfHPgH3LIaxdaWpY/ERm/iYD+WMjnKgFOTUuxWZq w48mY2QWgT83O/v59vslruf4/5gQ3LSR8nmo/LXn9nRvjhI/E1/kTcu/f0EMBDFpg7+/ bMgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=nHi1cEMC/ne0nYmkEiSGYF3tJxAaBHM1XwXPq1FjdTA=; fh=MxTMBbpPis+LJg6f98kFxxaQtu01YonzaHniHOzTjro=; b=QsAi5H4ydCisvC+sjsiFLJEPMHvk18oSUG13e62PPWVABzyUkc9dH03+yWmQOsDiWl mODvmip5vqryrSHpPuU4NXzZkLb8I1LGImkiOSuvFut2n3aOdQODsn2oD1yxOuUkjlkP btRwBBI6bZ/4rffztOGPyRtEjPrhqDSxwpyLkfJEg5DNKPackN7XqiiopPgrNaJ1JHkT sUnlbHhkazDoXg3SqEeP6ia5OnXtdx6vzwy2Ea9RU8ObzvtTXxj1bSt/dzRiBKCFaU24 FuQfjfPJtVRxglUgmT3C6fUxURFtcC7QUmJhjezoO6uVurVBRCQCcAxmnqVOOWx0Uubr zFRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="mor9/FBs"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-4013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s15-20020a67efcf000000b00471b577de9dsi560994vsp.589.2024.02.26.08.23.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 08:23:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="mor9/FBs"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-4013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 08A741C2A332 for ; Mon, 26 Feb 2024 16:23:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 931CA12C7E2; Mon, 26 Feb 2024 16:23:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="mor9/FBs" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA8C71D531 for ; Mon, 26 Feb 2024 16:23:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708964611; cv=none; b=aBAPbVKlacC9p6fySBb5s0hS9ISqKl+xCjlBIx8NvQRr+s37CycsVQVKDgKABld+QZ+0kQPWnyBOazC5ZMOdWldJso0fv7cnxzQncdV9WrJ2RZ+4g0aWYgJpQv8VbPmoHYZFgn4FXkCg2oE4iS6ZfLMWr6PLPCehruSpW3D0xm8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708964611; c=relaxed/simple; bh=Vlw37CJ5c4Ads5D5L0IXLoGm7nv58SFI2jiUgSpfyy4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=jMGSlfUjNHTM3gKPrYByHBmJ6lZzHl+mvb5uzMsFPGHpxUyLj5OA8JZV31cHgkWr707rFWPsoCQUjDNezZnvZzZGFyU2UX4fLuYdgu7+hNe7C4VUpYBen0DZVT8sgbW21c4NG54XRjcGOiRIEdg+btMFnoBhcKfNCU7RGPFJaOw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=mor9/FBs; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41QF9JUu005305; Mon, 26 Feb 2024 16:23:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=nHi1cEM C/ne0nYmkEiSGYF3tJxAaBHM1XwXPq1FjdTA=; b=mor9/FBsUiy0x0uab0tr8mH KhPYryIhDkdwWQxkxBuLO9tEXQ4p5PKbdts4sTVG6fpzXRbJAisZbip7bru1OF/C SVXZm3YAkxlVJhagUI41cbTnzLJp+Jx1te5krRipqukwACQ5iIGD6BYsMN/cPgmF lCRSoIecF4bve1xZWRkSk2/U9SlM4LBQ7IWmkldfJy6HrbhDMh3HKpjvR7PJB4Mw v4iQ/MIQGLMjjjJJiFVgSipMBDkVjw7hJQojLIFGRmUVJuoYZ/Athnii2eNJqXfS gL4iz1F95vZZdBqP6nJEAbHJbOs1+96HyhHFq0JtMe2Pe7Al+0Ze8axPiudPwXg= = Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wgkxkse39-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Feb 2024 16:23:26 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41QGNPlF026850 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Feb 2024 16:23:25 GMT Received: from hu-periyasa-blr.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 26 Feb 2024 08:23:23 -0800 From: Karthikeyan Periyasamy To: CC: , Karthikeyan Periyasamy Subject: [PATCH 0/3] wifi: ath12k: Optimize the lock contention in Rx data path Date: Mon, 26 Feb 2024 21:53:07 +0530 Message-ID: <20240226162310.629162-1-quic_periyasa@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: rGEdEgznggbe75Ejprt81Za69zpkz85A X-Proofpoint-GUID: rGEdEgznggbe75Ejprt81Za69zpkz85A X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-26_11,2024-02-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=1 impostorscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=208 malwarescore=0 suspectscore=0 bulkscore=0 adultscore=0 spamscore=1 clxscore=1015 priorityscore=1501 mlxscore=1 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402260124 Refactor the Rxdma replenish procedure and avoid the Rx descriptor used list to reduce the lock contention in Rx data path. Karthikeyan Periyasamy (3): wifi: ath12k: Refactor Rxdma buffer replinish argument wifi: ath12k: Optimize the lock contention of used list in Rx data path wifi: ath12k: Refactor error handler of Rxdma replenish drivers/net/wireless/ath/ath12k/dp.c | 31 ++++-- drivers/net/wireless/ath/ath12k/dp.h | 5 +- drivers/net/wireless/ath/ath12k/dp_rx.c | 140 +++++++++++++++--------- drivers/net/wireless/ath/ath12k/dp_rx.h | 1 + 4 files changed, 113 insertions(+), 64 deletions(-) base-commit: c39a5cfa0448f3afbee78373f16d87815a674f11 -- 2.34.1