Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp275787lqo; Thu, 16 May 2024 06:11:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUEr7wnuyhlZ7Na3DEoYSANsvCkO6FmlqskO9H6TuRdQ7z3pZAMYyJeC4N8Szp05/pg7idwkjGBL1CW01TndyMdL2O44rCHZknayJJjxg== X-Google-Smtp-Source: AGHT+IEaJG9iCNk1Pcherx4pc/njgSaq5Lnoh02RSiYE+pmzIUUcyS6Vk8ZMvRz8HQsPN96CSf8/ X-Received: by 2002:a17:902:7893:b0:1e2:9ddc:f72d with SMTP id d9443c01a7336-1ef43d2af36mr178883565ad.26.1715865097148; Thu, 16 May 2024 06:11:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715865097; cv=pass; d=google.com; s=arc-20160816; b=NibG+1NHNJtXJv3VokC+bomeKAUkQKJYSn/7lOHXGUS6TS9nNcNU/srh4EGtaLvCk+ b65OdnFJAGiKBEWCsKOZYq6iVoPCB2zYgFKdSUO7zmn3PGGe1LWpIue6ssaWKhnUKyBF 5bjs7hRXIBXkFeJA1119nnhUT55ChWrPZ1IwoaGX8+QFk484ooNTVreWWvqOIUJ8ZK2z iwRvJRJsSniv5EFrr87Zc72iayuMyl7+Qdce3KMERnVOb3VLsX+AQaxOLZR2TmkM2HsK KFE1vMxpYE/oJQW9DIJ5o5CFekAd1nfYM79ZIi9g4i3bN0q8GbpnmcVcm2xOluRElqnA h/Hg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=oA9S7trk95zZDn6Rxbq5a85hm5CGnq2wzcpTCTCQUO4=; fh=H1n+MC6g7LKUTwELnEK0g4ZhJk1fR9LyVP/4n5c0PMs=; b=EITPc7uLzBjSUKvZHuzbT4YemJPS9JQrMFbGedXyDYldSbIYRPWzm3jS4+uo4fNsl2 XjZaXxExhKf3L34Z77URH2WWkdvZyWOeVRfHHbOaF+utm2eGdqQhdwGo8ndZFxj/3olM jxCSHoTAuPQNMpBzY3HT629M9X0SM15hxH6z2ogsjYxt1sT1UzCpBRVaTpV6MUy9Hk8V Sceau69iaawpcpCYMU0A5a3UsaWQq0XYluELolkBUo3gg9aQ5mnHzJqvq4OTjYDdhSab InYe6smATWkDH+KAvMkF1S9t022CBSb9Qqaj4YupSweRb/HUbffw1BN0+Dx9Wlij8sfx f2XA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iUdIWCMx; 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-7742-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c15f4e8si153447285ad.510.2024.05.16.06.11.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 06:11:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7742-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iUdIWCMx; 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-7742-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7742-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 81CD02842EC for ; Thu, 16 May 2024 13:09:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF92F28680; Thu, 16 May 2024 13:07:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="iUdIWCMx" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 BBC9314B957 for ; Thu, 16 May 2024 13:07:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715864843; cv=none; b=uQGLK1HtEuHhLVZrIo/E0wLFZyXbcxbbTSLOfA5ufrN7vEheId26ExMOoHgro+esdlEoqN8lBnvxyA9qsigBMi8QJADE1mDklwQsuP+nvJK8vfeM4Z1BGsBmMn3lPlGT/Tyzm0/GErJxWuHmPLFPlRtTarNEj5UNSv32auM2Ty0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715864843; c=relaxed/simple; bh=6Its8koe5kSj6DYPqjm83ekrJgGn9QyZNWAEzeigaJg=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=NQv+utl+KHLJs5OCKr7B1KN0CzKxZNLtJgs6v8sFLS+le81ms9AlTUe2QPvyS8fk1Ywr/Gnj0lGaMcPzOyC74wOh5pDzTbgFUEyTDgGVTYGa7jMyeRamDjWQhUhTAK5rcFnJYaEfoDIQ7KDxomwxyVHJHMjiPN13iJvB9Ao9Q/8= 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=iUdIWCMx; arc=none smtp.client-ip=205.220.180.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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44G8X8F9021397; Thu, 16 May 2024 13:07:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=oA9S7trk95zZDn6Rxbq5a85hm5CGnq2wzcpTCTCQUO4=; b=iU dIWCMxJluOzBnb6W2II/l0Fe063OAeSQ/P4M12WEuDTgNq6q74nm7s64bws6Gys0 E3nb+IpjQvgd/Ezay6+v1ikeXB3V+MDdh7syZX06L5iTpKwwb14SVtif0Q/Hiqdd 1GSgjM9W3N40OKBdzkxDhE26PlegNTKMzPnaqWw7WPSwQ1i7zdmD8B8Bflrlylds uWwWroOV35cmhuo51XFYIys4vz68WI2DHlKFxuh+TMTfFl8K+CpM0KAV7/vSiN1m 2IuubRf7wlzWCjA1JM/hD0KYAJRv+6S9gRQ9FpeWE3wxt12ayH7Nz8yb1X2rfvh4 T2IUW6fSurLkFx/+gTwg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y45vbdth4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 13:07:02 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44GD71aW011972 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 13:07:01 GMT Received: from [10.110.0.4] (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.1544.9; Thu, 16 May 2024 06:07:00 -0700 Message-ID: <423cd28b-480c-4840-a6a4-94560aa56581@quicinc.com> Date: Thu, 16 May 2024 06:06:59 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] wifi: ath12k: Refactor Rx descriptor CMEM configuration To: Karthikeyan Periyasamy , CC: References: <20240516000807.1704913-1-quic_periyasa@quicinc.com> <20240516000807.1704913-2-quic_periyasa@quicinc.com> Content-Language: en-US From: Jeff Johnson In-Reply-To: <20240516000807.1704913-2-quic_periyasa@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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-GUID: xr4LmuYAgvNpTTsu9SCXUpB9pzJ9BKkG X-Proofpoint-ORIG-GUID: xr4LmuYAgvNpTTsu9SCXUpB9pzJ9BKkG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-16_07,2024-05-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 suspectscore=0 spamscore=0 malwarescore=0 adultscore=0 mlxlogscore=535 phishscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405160092 On 5/15/2024 5:08 PM, Karthikeyan Periyasamy wrote: > Currently, data path Rx descriptor placed in the CMEM memory respective > to the Rx offset. This Rx descriptor CMEM placement is not meeting the > requirements to support inter device MLO. In inter device MLO, multiple > devices participate in a group. The device specific Rx descriptor buffers > transmit to multiple device REO rings. To distinguish between device > specific Rx descriptor buffers, the CMEM setup configuration need to > choose a different placement based on the unique identifier (device index). > > Below are the CMEM configuration placement representation: > > Intra-Device MLO scenario: > > Device 0 Device 1 > > +-------------+ +-------------+ > | | | | > | Tx | | Tx | > | | | | > +-------------+ +-------------+ > | | | | > | Rx | | Rx | > | | | | > +-------------+ +-------------+ > > Inter-Device MLO scenario: > > Device 0 Device 1 > > +-------------+ +-------------+ > | | | | > | Tx | | Tx | > | | | | > +-------------+ +-------------+ > | | | | > | Rx | | Reserved | > | Device 0 | | | > | | | | > +-------------+ +-------------+ > | | | Rx | > | Reserved | | Device 1 | > | | | | > +-------------+ +-------------+ > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > Tested-on: WCN7850 HW2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Karthikeyan Periyasamy Acked-by: Jeff Johnson