Message ID | 20231205080434.27604-6-gakula@marvell.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3276792vqy; Tue, 5 Dec 2023 00:05:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IE2/WHQwcxgduHjvt81BlDuFCx/BQIwkhj97omFN5aUgwjM4n9fggDJr8571DBNc4A38CIM X-Received: by 2002:a17:902:b90a:b0:1cf:d07c:27f8 with SMTP id bf10-20020a170902b90a00b001cfd07c27f8mr1699113plb.28.1701763558697; Tue, 05 Dec 2023 00:05:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701763558; cv=none; d=google.com; s=arc-20160816; b=J8v4aKX50NzxaA1D8Sqw3sPdODD5riC0JxzTtxE5QX6jWUKGubEJwAM7iuoZQAxkDo lsfiak0aqzGyebkQQI5taJ4OPn82gGXBEVwRbBne8RkgIpnDcdGLbPIYXng5oXfBi8Rn 3YZkjQZCZPt7g9jKO1Ttl1acqK6IaHd/xBggJdm1fp03F3ogMH2pMtFFEQctlFfCen6f o1EvuL4Kr+4t+ie4QIqVlknA0bL8VI+2Q60wNfJSM4DNq5UZ65KBV+XImwOtIRlB7SJU aLlSFmIdsWe6+99Nwa7xkXb27TrziwgR81Kiy8L3DcSn6ZE8JPlNijb+Dt01MbKTNoA4 y36w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=BnBnwUIi1lFAm060BvEP3AMsH0MfpESXX1EZeTkIRYo=; fh=HY0X0m8t22/vAHj95xREoxWh6Roau2zCUUWQKPKPfT8=; b=Dx0gx1f5zgEAAtyzobujfKwCVMccnDdfV2I2H2Pq+A32GT6F0GZQcYhsEAlviRlfdp 5CEtehNyJ+KoajfyUePYc6eS1xT2nyi+KyCy46Wwkg6AR9VzhufHeaAWbqTCuq8zNfEG 5qTi3YYl1QfZ/uhjQsKd0cSP3i4A51Z/4mDC4a/u0l+RWn5GzE9vU2O9ItnjJmU3s15e jRUVsHKoIXE4qabMmifs8b6Nd/+GBcpDkPYo32PWt42bGDcZ8gSJrKku23VxY5GpG4CK O1xPQCH/Mxc8crr7o610LeCYq8CKWqGyNQ7Ayn1fdBX+HaPvThXNWNeUZCjyAiVfr3qH 2udg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=kzGwi7Oc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id ik26-20020a170902ab1a00b001c9b15bf936si6730207plb.220.2023.12.05.00.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:05:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=kzGwi7Oc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 2FBB6807D8C6; Tue, 5 Dec 2023 00:05:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346315AbjLEIFb (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Tue, 5 Dec 2023 03:05:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235015AbjLEIFQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 5 Dec 2023 03:05:16 -0500 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C080D72; Tue, 5 Dec 2023 00:05:09 -0800 (PST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B56Oi4d010811; Tue, 5 Dec 2023 00:05:03 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0220; bh=BnBnwUIi1lFAm060BvEP3AMsH0MfpESXX1EZeTkIRYo=; b=kzGwi7OcU1a7WAj6+x9HvDoaErE1hNmCxPT/g884XR09pwPec9W5KEWaBDHdfwtJpOTc ppTKCJm0ohkKWUay00IH6g5p3I5vbZYuWXrdbS5n//Hp9KB/s/Jswh+yrGnaY33kiz6J hTKOM6g89APK3Z4ceopdvWEFsUjXqHElwhk8FwKoEoNK96cI1BFcV+NTYF3IGhIxpfMG 7iGbPKRsHxHUk3nYUvXqidw6Ozy3OTTHHj5IwleKmyIqSRRutGSxXbBr2QbSbdwVm/0K uQSEXluQNCnYW8F8XM+U5D9hrQgEIM0a5kcTc1+N6eTe03P2vgMGSbXrdF5BRa81BaJh HQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ur4yrrq5g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 05 Dec 2023 00:05:03 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 5 Dec 2023 00:05:00 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Tue, 5 Dec 2023 00:05:01 -0800 Received: from hyd1soter3.marvell.com (unknown [10.29.37.12]) by maili.marvell.com (Postfix) with ESMTP id 3A36A3F70A7; Tue, 5 Dec 2023 00:04:56 -0800 (PST) From: Geetha sowjanya <gakula@marvell.com> To: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: <kuba@kernel.org>, <davem@davemloft.net>, <pabeni@redhat.com>, <edumazet@google.com>, <sgoutham@marvell.com>, <lcherian@marvell.com>, <jerinj@marvell.com>, <gakula@marvell.com>, <sbhatta@marvell.com>, <hkelam@marvell.com> Subject: [net v4 PATCH 5/5] octeontx2-af: Update Tx link register range Date: Tue, 5 Dec 2023 13:34:34 +0530 Message-ID: <20231205080434.27604-6-gakula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231205080434.27604-1-gakula@marvell.com> References: <20231205080434.27604-1-gakula@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: Q9Kw8iawJNIHns5tXgFjEyiHO7WnmqXC X-Proofpoint-ORIG-GUID: Q9Kw8iawJNIHns5tXgFjEyiHO7WnmqXC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-05_03,2023-12-04_01,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 05 Dec 2023 00:05:47 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784428425493311707 X-GMAIL-MSGID: 1784428425493311707 |
Series |
octeontx2-af: miscellaneous fixes
|
|
Commit Message
Geetha sowjanya
Dec. 5, 2023, 8:04 a.m. UTC
From: Rahul Bhansali <rbhansali@marvell.com> On new silicons the TX channels for transmit level has increased. This patch fixes the respective register offset range to configure the newly added channels. Fixes: b279bbb3314e ("octeontx2-af: NIX Tx scheduler queue config support") Signed-off-by: Rahul Bhansali <rbhansali@marvell.com> Signed-off-by: Geetha sowjanya <gakula@marvell.com> Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> --- drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.c index b3150f053291..d46ac29adb96 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.c +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.c @@ -31,8 +31,8 @@ static struct hw_reg_map txsch_reg_map[NIX_TXSCH_LVL_CNT] = { {NIX_TXSCH_LVL_TL4, 3, 0xFFFF, {{0x0B00, 0x0B08}, {0x0B10, 0x0B18}, {0x1200, 0x12E0} } }, {NIX_TXSCH_LVL_TL3, 4, 0xFFFF, {{0x1000, 0x10E0}, {0x1600, 0x1608}, - {0x1610, 0x1618}, {0x1700, 0x17B0} } }, - {NIX_TXSCH_LVL_TL2, 2, 0xFFFF, {{0x0E00, 0x0EE0}, {0x1700, 0x17B0} } }, + {0x1610, 0x1618}, {0x1700, 0x17C8} } }, + {NIX_TXSCH_LVL_TL2, 2, 0xFFFF, {{0x0E00, 0x0EE0}, {0x1700, 0x17C8} } }, {NIX_TXSCH_LVL_TL1, 1, 0xFFFF, {{0x0C00, 0x0D98} } }, };