From patchwork Mon Nov 27 03:04:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geetha sowjanya X-Patchwork-Id: 169955 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp2820330vqx; Sun, 26 Nov 2023 19:05:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IHUs/thFe7M63ZR2upd3xcw80e4OEaeIzBjDl+WZVarxaa+nlu3EGmpt6vTI7SRmqeTWaaO X-Received: by 2002:a17:902:c40d:b0:1cf:59ad:9637 with SMTP id k13-20020a170902c40d00b001cf59ad9637mr20086590plk.22.1701054316441; Sun, 26 Nov 2023 19:05:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701054316; cv=none; d=google.com; s=arc-20160816; b=1HXO8s/fFt9upbz7zW8Y71YmsdtsnksyCHmcxHFokTSdFG3Jh4I50GZMKifYvwRAmt aaDMB68y4kLdGdBuemfAYwRCGnL611FgcSBnWwAeZyU8hl7Zdk9lFi9R2HclaGzb5iJc ihns+vuYEpnZNZex7jNZ+G472ASQbrIOVLsDTEGCIypG5yJmEtp5M8Yj6DLyAkXQA6cB 99VHIgcWA4fju1PZaGyxctJIb82PYV7XPbbx2C47E88KH+dSWlm7OcGHYiji2smp+Dgv FkKX0rRBZYkLmcEG2FcXVqKmNLZkc8RAUb61s+40guQO/FqXADaB+m/h9BPO1ZgazD7s btoQ== 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=h/R/dVUGgxW3ENwZfZqJ0RIXBUZJtaPBzkXTFm9h7lY=; fh=wPv/fmS7iNNmCH0mdUKjkT6XsNx1nMbXFeqwvq2D6q0=; b=Kmf+CuSBg8UtmovTJzJuCBgjCi9v8FGQ1qSGmhEsKZSjVKgTqoyBVybTACRsGpJ27u k96bwsHMDrSfUYJZRXOKgcXIwWEaqy6DrXvqPUJDy8t6EwfHXCCTfprjYli0LiE/jGg5 qBj01vcK46rXEBm2YrJoJn7j1EK6yGm8g0n+K3RbLmAhxELBe+mw4M7Lh2pfTqzGryZu c858UCxoJFof//1r6E6D9kGxWC0f+kZvW5hCtQrxsHCWMthaZYfS2f3QbOM4S0YeYwUK 2uyR5WYpttd+0Lfsuy8JbvbgRq/Y5wGJ9H0doHNdH0er49lcckzBU7UNuErui5eu1L7i amTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=aA8LJwFe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k28-20020a63ba1c000000b005ae05010bc4si8721518pgf.235.2023.11.26.19.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 19:05:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=aA8LJwFe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id E0C8E80657CE; Sun, 26 Nov 2023 19:05:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232065AbjK0DFE (ORCPT + 99 others); Sun, 26 Nov 2023 22:05:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231923AbjK0DFC (ORCPT ); Sun, 26 Nov 2023 22:05:02 -0500 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3458111; Sun, 26 Nov 2023 19:05:07 -0800 (PST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AQMgDf8013706; Sun, 26 Nov 2023 19:05:01 -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=h/R/dVUGgxW3ENwZfZqJ0RIXBUZJtaPBzkXTFm9h7lY=; b=aA8LJwFe0V/m9ivVvRlOO8OmLjtTyDekuVBa4CbqeMa9S7YPAykn2ixGZsUQvtJrSzCD Hx1nobL9WPNH0tgPDijawhyEfBH9Np4O9gjkxNtVcspM+vhWmcV6bdND8JKI0fSlsG+d oF+mNKd4rupV2OSmxOspenRLp+kOUSlA9s4o+NmMTNyYhLiyTOmC3v78uVYklRyqs5LV W4+oLWnyU00lxnGKLNVFX2GaXCREcv1fkN8zYyX9TIS+zHzhUbdY/73p8K/hfoCBISX6 FAylLWnrapJMRxzF1WsWEiJEanIgtYaXf5K6bcD63dB0FvOpj9owKzg9cCYk6SRBuDmR QA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3ukf5x3bm7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 26 Nov 2023 19:05:00 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 26 Nov 2023 19:04:58 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Sun, 26 Nov 2023 19:04:58 -0800 Received: from hyd1soter3.marvell.com (unknown [10.29.37.12]) by maili.marvell.com (Postfix) with ESMTP id 6A2C83F7080; Sun, 26 Nov 2023 19:04:55 -0800 (PST) From: Geetha sowjanya To: , CC: , , , , , , , Subject: [net v2 PATCH 5/5] octeontx2-af: Update Tx link register range Date: Mon, 27 Nov 2023 08:34:35 +0530 Message-ID: <20231127030435.17278-6-gakula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231127030435.17278-1-gakula@marvell.com> References: <20231127030435.17278-1-gakula@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: cKfJYs99TnZuIPhDApsUyfbNlHPn67AC X-Proofpoint-ORIG-GUID: cKfJYs99TnZuIPhDApsUyfbNlHPn67AC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-26_25,2023-11-22_01,2023-05-22_02 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 26 Nov 2023 19:05:15 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783684730807523409 X-GMAIL-MSGID: 1783684730807523409 From: Rahul Bhansali 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 Signed-off-by: Geetha sowjanya Reviewed-by: Wojciech Drewek --- v1-v2: Fixed autor name. 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} } }, };