Message ID | 20240910085909.1514457-11-ndabilpuram@marvell.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Jerin Jacob |
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 36A3445954; Tue, 10 Sep 2024 11:00:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 39FD0427CD; Tue, 10 Sep 2024 11:00:01 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id D339242DA3 for <dev@dpdk.org>; Tue, 10 Sep 2024 10:59:58 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48A7xiiM020105 for <dev@dpdk.org>; Tue, 10 Sep 2024 01:59:58 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=Q NoKpvyPQUuvxHWiTh3p5fXTGGjFZwi7iMYphuSXJ7g=; b=CfnBRlpM59jEJqp5z 3aM2en5TzM/vPsER/U975eAFh6XPuAx7p/RwQ6sOrodkw56PXv3+6s4wBPorXWW2 /b+DycnwFgo/LcSfK6+TYm00jz9GJev9Jtwaqa0T99OBaiSC1/aokkaH9KAMlxVQ nWrcdw74fff7ih9Q8MfmNr8iTKUdXOLZ8+5MMIkAH8zTH+qmD5uOMfsnh2hKbHAe PDX17TCKT2/zrpDT/is3iQAQqoSXlHxXXfn7Kd+DLHEgzLjn+RRaiYdxt1z6O8F6 VcuC0EcoEvA2ZTtxrChB3Xt3sYTXflypmJibPtR680VD1FuhF/ElnLuUNdiraGGY ktVXA== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 41gygtg1kp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <dev@dpdk.org>; Tue, 10 Sep 2024 01:59:57 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 10 Sep 2024 01:59:57 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 10 Sep 2024 01:59:57 -0700 Received: from hyd1588t430.caveonetworks.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id B85EA3F709E; Tue, 10 Sep 2024 01:59:54 -0700 (PDT) From: Nithin Dabilpuram <ndabilpuram@marvell.com> To: <jerinj@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, "Kiran Kumar K" <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao <skoteshwar@marvell.com>, Harman Kalra <hkalra@marvell.com> CC: <dev@dpdk.org> Subject: [PATCH 10/33] common/cnxk: remove restriction to clear RPM stats Date: Tue, 10 Sep 2024 14:28:46 +0530 Message-ID: <20240910085909.1514457-11-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240910085909.1514457-1-ndabilpuram@marvell.com> References: <20240910085909.1514457-1-ndabilpuram@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: Ld6Wl3d02gi-NuWeoB9A6d5XP4PxzAYE X-Proofpoint-GUID: Ld6Wl3d02gi-NuWeoB9A6d5XP4PxzAYE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
add Marvell cn20k SOC support for mempool and net
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Nithin Dabilpuram
Sept. 10, 2024, 8:58 a.m. UTC
From: Sunil Kumar Kori <skori@marvell.com> Linux does not support clearing RPM stats on cn10k platform. Hence restriction is added that when user requests to clear xstats then request is discarded silently. Hence removing restriction for cn10k. Signed-off-by: Sunil Kumar Kori <skori@marvell.com> --- drivers/common/cnxk/roc_nix_mac.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/drivers/common/cnxk/roc_nix_mac.c b/drivers/common/cnxk/roc_nix_mac.c index f79aaec4a5..0ffd05e4d4 100644 --- a/drivers/common/cnxk/roc_nix_mac.c +++ b/drivers/common/cnxk/roc_nix_mac.c @@ -363,11 +363,6 @@ roc_nix_mac_stats_reset(struct roc_nix *roc_nix) struct msg_req *req; int rc = -ENOSPC; - if (roc_model_is_cn10k()) { - rc = 0; - goto exit; - } - if (roc_nix_is_vf_or_sdp(roc_nix)) { rc = 0; goto exit;