DPDK patches and discussions
 help / color / mirror / Atom feed
From: <jerinj@marvell.com>
To: <dev@dpdk.org>, Nithin Dabilpuram <ndabilpuram@marvell.com>,
	Kiran Kumar K <kirankumark@marvell.com>,
	Sunil Kumar Kori <skori@marvell.com>,
	Satha Rao <skoteshwar@marvell.com>
Cc: <ferruh.yigit@intel.com>, <psatheesh@marvell.com>,
	Jerin Jacob <jerinj@marvell.com>
Subject: [dpdk-dev] [PATCH v2] net/cnxk: unify file names
Date: Wed, 23 Feb 2022 00:02:04 +0530	[thread overview]
Message-ID: <20220222183204.2378596-1-jerinj@marvell.com> (raw)
In-Reply-To: <20220209165026.790880-1-jerinj@marvell.com>

From: Jerin Jacob <jerinj@marvell.com>

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 <jerinj@marvell.com>
Acked-by: Kiran Kumar K <kirankumark@marvell.com>
---

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%)

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 <cnxk_rte_flow.h>
-#include "cn10k_rte_flow.h"
+#include <cnxk_flow.h>
+#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 <cnxk_rte_flow.h>
+#include <cnxk_flow.h>
 #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 <cnxk_rte_flow.h>
+#include <cnxk_flow.h>

 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',
 )
--
2.35.1


  parent reply	other threads:[~2022-02-22 18:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09 16:50 [dpdk-dev] [PATCH] net/cnxk: unify the file name jerinj
2022-02-18  6:18 ` Kiran Kumar Kokkilagadda
2022-02-18  7:44   ` Jerin Jacob
2022-02-22 18:32     ` Jerin Jacob
2022-02-22 18:32 ` jerinj [this message]
2022-02-23  9:08   ` [dpdk-dev] [PATCH v2] net/cnxk: unify file names Jerin Jacob
2022-02-23 12:18     ` Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220222183204.2378596-1-jerinj@marvell.com \
    --to=jerinj@marvell.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=kirankumark@marvell.com \
    --cc=ndabilpuram@marvell.com \
    --cc=psatheesh@marvell.com \
    --cc=skori@marvell.com \
    --cc=skoteshwar@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).