From patchwork Tue Feb 22 18:32:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerin Jacob X-Patchwork-Id: 108051 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 EE4A5A034E; Tue, 22 Feb 2022 19:31:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D705640DF6; Tue, 22 Feb 2022 19:31:02 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 8EA5340DF4 for ; Tue, 22 Feb 2022 19:31:01 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21MGu118025489; Tue, 22 Feb 2022 10:31: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-transfer-encoding : content-type; s=pfpt0220; bh=/HSLjmlT0Rd7jiRgJ+vdOl0xIEMEn5a9Ol/NSsnwxtg=; b=h+Hkhcrdb5reACVwr9qzEfSU8zmy9iU73XVTVSLkK0MN7A4SzP41X6jGQMM1WWtXmr/e mx58xO5UEIccdn6lyDT6nrbIY1blTfnrms8G8RJP3LxAvFH0E33YCwe9BAEyWHtf3iWV J1fFNfdFCM2F7DSS4jzmENDnvhg36G9n3NrlvCbuaGKo8Wt/CcYDq4D3byQsSmV+uk4X dWpOItw2eSkvoYkvaOnfJHexTN/2Y0gW7zArnLvWQfp6iHXiCQEg7aAYqXcaMX/jo3t3 bh+3fBZvWFqkSvpzN8uxCSl7eqGDhPb8T0Gks982Q1htPdbpu3WBDI3doydqjqO8pPDs VQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ecw9y2bx7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 22 Feb 2022 10:31:00 -0800 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, 22 Feb 2022 10:30: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.18 via Frontend Transport; Tue, 22 Feb 2022 10:30:58 -0800 Received: from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14]) by maili.marvell.com (Postfix) with ESMTP id CE6AD3F7095; Tue, 22 Feb 2022 10:30:55 -0800 (PST) From: To: , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao CC: , , Jerin Jacob Subject: [dpdk-dev] [PATCH v2] net/cnxk: unify file names Date: Wed, 23 Feb 2022 00:02:04 +0530 Message-ID: <20220222183204.2378596-1-jerinj@marvell.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220209165026.790880-1-jerinj@marvell.com> References: <20220209165026.790880-1-jerinj@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: pEYak4d6zuDspGufQ25e9T8_s1lmel7q X-Proofpoint-ORIG-GUID: pEYak4d6zuDspGufQ25e9T8_s1lmel7q X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-22_06,2022-02-21_02,2021-12-02_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: Jerin Jacob Except for the cn*_rte_flow* files, none of the other file has rte in the file name, remove the rte to unify the file name across the directory. Signed-off-by: Jerin Jacob Acked-by: Kiran Kumar K --- v2..v1: -Missed renaming cn10k_rte* and cn9k_rte* and fixed it drivers/net/cnxk/cn10k_ethdev.c | 2 +- drivers/net/cnxk/{cn10k_rte_flow.c => cn10k_flow.c} | 4 ++-- drivers/net/cnxk/{cn10k_rte_flow.h => cn10k_flow.h} | 0 drivers/net/cnxk/cn9k_ethdev.c | 2 +- drivers/net/cnxk/{cn9k_rte_flow.c => cn9k_flow.c} | 4 ++-- drivers/net/cnxk/{cn9k_rte_flow.h => cn9k_flow.h} | 0 drivers/net/cnxk/{cnxk_rte_flow.c => cnxk_flow.c} | 2 +- drivers/net/cnxk/{cnxk_rte_flow.h => cnxk_flow.h} | 0 drivers/net/cnxk/meson.build | 6 +++--- 9 files changed, 10 insertions(+), 10 deletions(-) rename drivers/net/cnxk/{cn10k_rte_flow.c => cn10k_flow.c} (99%) rename drivers/net/cnxk/{cn10k_rte_flow.h => cn10k_flow.h} (100%) rename drivers/net/cnxk/{cn9k_rte_flow.c => cn9k_flow.c} (97%) rename drivers/net/cnxk/{cn9k_rte_flow.h => cn9k_flow.h} (100%) rename drivers/net/cnxk/{cnxk_rte_flow.c => cnxk_flow.c} (99%) rename drivers/net/cnxk/{cnxk_rte_flow.h => cnxk_flow.h} (100%) -- 2.35.1 diff --git a/drivers/net/cnxk/cn10k_ethdev.c b/drivers/net/cnxk/cn10k_ethdev.c index 9bb08e1824..f3003dd3df 100644 --- a/drivers/net/cnxk/cn10k_ethdev.c +++ b/drivers/net/cnxk/cn10k_ethdev.c @@ -2,7 +2,7 @@ * Copyright(C) 2021 Marvell. */ #include "cn10k_ethdev.h" -#include "cn10k_rte_flow.h" +#include "cn10k_flow.h" #include "cn10k_rx.h" #include "cn10k_tx.h" diff --git a/drivers/net/cnxk/cn10k_rte_flow.c b/drivers/net/cnxk/cn10k_flow.c similarity index 99% rename from drivers/net/cnxk/cn10k_rte_flow.c rename to drivers/net/cnxk/cn10k_flow.c index 529fb0e4b7..63281d41a4 100644 --- a/drivers/net/cnxk/cn10k_rte_flow.c +++ b/drivers/net/cnxk/cn10k_flow.c @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright(C) 2020 Marvell. */ -#include -#include "cn10k_rte_flow.h" +#include +#include "cn10k_flow.h" #include "cn10k_ethdev.h" #include "cn10k_rx.h" diff --git a/drivers/net/cnxk/cn10k_rte_flow.h b/drivers/net/cnxk/cn10k_flow.h similarity index 100% rename from drivers/net/cnxk/cn10k_rte_flow.h rename to drivers/net/cnxk/cn10k_flow.h diff --git a/drivers/net/cnxk/cn9k_ethdev.c b/drivers/net/cnxk/cn9k_ethdev.c index 01e3850561..a890829065 100644 --- a/drivers/net/cnxk/cn9k_ethdev.c +++ b/drivers/net/cnxk/cn9k_ethdev.c @@ -2,7 +2,7 @@ * Copyright(C) 2021 Marvell. */ #include "cn9k_ethdev.h" -#include "cn9k_rte_flow.h" +#include "cn9k_flow.h" #include "cn9k_rx.h" #include "cn9k_tx.h" diff --git a/drivers/net/cnxk/cn9k_rte_flow.c b/drivers/net/cnxk/cn9k_flow.c similarity index 97% rename from drivers/net/cnxk/cn9k_rte_flow.c rename to drivers/net/cnxk/cn9k_flow.c index b94d29e547..d67580bf27 100644 --- a/drivers/net/cnxk/cn9k_rte_flow.c +++ b/drivers/net/cnxk/cn9k_flow.c @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright(C) 2020 Marvell. */ -#include +#include #include "cn9k_ethdev.h" -#include "cn9k_rte_flow.h" +#include "cn9k_flow.h" #include "cn9k_rx.h" struct rte_flow * diff --git a/drivers/net/cnxk/cn9k_rte_flow.h b/drivers/net/cnxk/cn9k_flow.h similarity index 100% rename from drivers/net/cnxk/cn9k_rte_flow.h rename to drivers/net/cnxk/cn9k_flow.h diff --git a/drivers/net/cnxk/cnxk_rte_flow.c b/drivers/net/cnxk/cnxk_flow.c similarity index 99% rename from drivers/net/cnxk/cnxk_rte_flow.c rename to drivers/net/cnxk/cnxk_flow.c index b08d7c34fa..8763ca63d6 100644 --- a/drivers/net/cnxk/cnxk_rte_flow.c +++ b/drivers/net/cnxk/cnxk_flow.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright(C) 2021 Marvell. */ -#include +#include const struct cnxk_rte_flow_term_info term[] = { [RTE_FLOW_ITEM_TYPE_ETH] = {ROC_NPC_ITEM_TYPE_ETH, diff --git a/drivers/net/cnxk/cnxk_rte_flow.h b/drivers/net/cnxk/cnxk_flow.h similarity index 100% rename from drivers/net/cnxk/cnxk_rte_flow.h rename to drivers/net/cnxk/cnxk_flow.h diff --git a/drivers/net/cnxk/meson.build b/drivers/net/cnxk/meson.build index 83af1f4d0c..016a79b2a8 100644 --- a/drivers/net/cnxk/meson.build +++ b/drivers/net/cnxk/meson.build @@ -19,7 +19,7 @@ sources = files( 'cnxk_link.c', 'cnxk_lookup.c', 'cnxk_ptp.c', - 'cnxk_rte_flow.c', + 'cnxk_flow.c', 'cnxk_stats.c', 'cnxk_tm.c', ) @@ -28,7 +28,7 @@ sources = files( sources += files( 'cn9k_ethdev.c', 'cn9k_ethdev_sec.c', - 'cn9k_rte_flow.c', + 'cn9k_flow.c', 'cn9k_rx_select.c', 'cn9k_tx_select.c', ) @@ -107,7 +107,7 @@ sources += files( sources += files( 'cn10k_ethdev.c', 'cn10k_ethdev_sec.c', - 'cn10k_rte_flow.c', + 'cn10k_flow.c', 'cn10k_rx_select.c', 'cn10k_tx_select.c', )