From patchwork Tue Oct 11 12:01:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nithin Dabilpuram X-Patchwork-Id: 117915 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BA487A0545; Tue, 11 Oct 2022 14:02:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0FD9942DDB; Tue, 11 Oct 2022 14:02:06 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 8E0A142DCB for ; Tue, 11 Oct 2022 14:02:04 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29B9eJgM008912 for ; Tue, 11 Oct 2022 05:02:04 -0700 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-transfer-encoding : content-type; s=pfpt0220; bh=riFmdHnRZTmN6hmbwYQry/70+5OfpTACw6c0dnbcfBU=; b=HFpW59yUqOFMo4yaCHEUb/z+dBtMNOaP2urV1/Kweb3Jn8LpZe1I1hNI0AXRL+nkpOYD HAu8kpoB+LiBrEo2Bm/CrO90FsOil754lxePNLOIsPklRQp8IBaHbMh7xdJFBozHvvJ8 Gfd0u6/5FYt+UQKuS7hiovxlKXFGKFpIcKlARfZuxO8ThG5yBn1WJPPC3vP0GKwtqv/6 VFzk4u45SWnCikzSRBXyBE+sMs9IsS4PQ/X4a+EfJ8dp7qoMhcnqXMbpWAhK9NC9NhUX yCQA+nRJEk8s8mtV12SFY/HMVBrv/2KkW2VOERPTK44XiAz4HXrVro+XgNcRrL+LRium YA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3k40g4y2a3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 11 Oct 2022 05:02:03 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 11 Oct 2022 05:01:59 -0700 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.18 via Frontend Transport; Tue, 11 Oct 2022 05:01:59 -0700 Received: from localhost.localdomain (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id 881013F7040; Tue, 11 Oct 2022 05:01:57 -0700 (PDT) From: Nithin Dabilpuram To: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao CC: , Subject: [PATCH 08/13] common/cnxk: revert VF root weight Date: Tue, 11 Oct 2022 17:31:30 +0530 Message-ID: <20221011120135.45846-8-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221011120135.45846-1-ndabilpuram@marvell.com> References: <20221011120135.45846-1-ndabilpuram@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: rBWEIAH0WNR_JrwK1mpgJj0qnBsvPU1a X-Proofpoint-GUID: rBWEIAH0WNR_JrwK1mpgJj0qnBsvPU1a X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-11_07,2022-10-11_02,2022-06-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Satha Rao With kernel RR_QUANTUM some of the DPDK perf test (ipsec reassembly) was failing, so reverting this change. Signed-off-by: Satha Rao --- drivers/common/cnxk/roc_nix_tm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/common/cnxk/roc_nix_tm.c b/drivers/common/cnxk/roc_nix_tm.c index 86918990a2..be8da714cd 100644 --- a/drivers/common/cnxk/roc_nix_tm.c +++ b/drivers/common/cnxk/roc_nix_tm.c @@ -1354,11 +1354,7 @@ nix_tm_prepare_default_tree(struct roc_nix *roc_nix) node->id = nonleaf_id; node->parent_id = parent; node->priority = 0; - /* Default VF root RR_QUANTUM is in sync with kernel */ - if (lvl == ROC_TM_LVL_ROOT && !nix_tm_have_tl1_access(nix)) - node->weight = 0; - else - node->weight = NIX_TM_DFLT_RR_WT; + node->weight = NIX_TM_DFLT_RR_WT; node->shaper_profile_id = ROC_NIX_TM_SHAPER_PROFILE_NONE; node->lvl = lvl; node->tree = ROC_NIX_TM_DEFAULT;