[v3,1/3] net/octeontx_ep: rename as octeon_ep

Message ID 20220822091004.22510-2-sedara@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: Jerin Jacob
Headers
Series net/octeon_ep: rename driver and add features |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Sathesh B Edara Aug. 22, 2022, 9:10 a.m. UTC
  This patch renames octeon end point driver from octeontx_ep to
octeon_ep to enable single unified driver to support current
OcteonTx and future Octeon PCI endpoint NICs to reflect common
driver for all Octeon based PCI endpoint NICs.

Signed-off-by: Sathesh Edara <sedara@marvell.com>
---
 MAINTAINERS                                                 | 6 +++---
 doc/guides/nics/features/{octeontx_ep.ini => octeon_ep.ini} | 2 +-
 doc/guides/nics/index.rst                                   | 2 +-
 doc/guides/nics/{octeontx_ep.rst => octeon_ep.rst}          | 4 ++--
 doc/guides/rel_notes/deprecation.rst                        | 5 -----
 drivers/net/meson.build                                     | 2 +-
 drivers/net/{octeontx_ep => octeon_ep}/meson.build          | 0
 drivers/net/{octeontx_ep => octeon_ep}/otx2_ep_vf.c         | 0
 drivers/net/{octeontx_ep => octeon_ep}/otx2_ep_vf.h         | 0
 drivers/net/{octeontx_ep => octeon_ep}/otx_ep_common.h      | 0
 drivers/net/{octeontx_ep => octeon_ep}/otx_ep_ethdev.c      | 0
 drivers/net/{octeontx_ep => octeon_ep}/otx_ep_rxtx.c        | 0
 drivers/net/{octeontx_ep => octeon_ep}/otx_ep_rxtx.h        | 0
 drivers/net/{octeontx_ep => octeon_ep}/otx_ep_vf.c          | 0
 drivers/net/{octeontx_ep => octeon_ep}/otx_ep_vf.h          | 0
 drivers/net/{octeontx_ep => octeon_ep}/version.map          | 0
 16 files changed, 8 insertions(+), 13 deletions(-)
 rename doc/guides/nics/features/{octeontx_ep.ini => octeon_ep.ini} (75%)
 rename doc/guides/nics/{octeontx_ep.rst => octeon_ep.rst} (87%)
 rename drivers/net/{octeontx_ep => octeon_ep}/meson.build (100%)
 rename drivers/net/{octeontx_ep => octeon_ep}/otx2_ep_vf.c (100%)
 rename drivers/net/{octeontx_ep => octeon_ep}/otx2_ep_vf.h (100%)
 rename drivers/net/{octeontx_ep => octeon_ep}/otx_ep_common.h (100%)
 rename drivers/net/{octeontx_ep => octeon_ep}/otx_ep_ethdev.c (100%)
 rename drivers/net/{octeontx_ep => octeon_ep}/otx_ep_rxtx.c (100%)
 rename drivers/net/{octeontx_ep => octeon_ep}/otx_ep_rxtx.h (100%)
 rename drivers/net/{octeontx_ep => octeon_ep}/otx_ep_vf.c (100%)
 rename drivers/net/{octeontx_ep => octeon_ep}/otx_ep_vf.h (100%)
 rename drivers/net/{octeontx_ep => octeon_ep}/version.map (100%)
  

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 32ffdd1a61..d7c7fa4cdf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -812,9 +812,9 @@  M: Radha Mohan Chintakuntla <radhac@marvell.com>
 M: Veerasenareddy Burru <vburru@marvell.com>
 M: Sathesh Edara <sedara@marvell.com>
 T: git://dpdk.org/next/dpdk-next-net-mrvl
-F: drivers/net/octeontx_ep/
-F: doc/guides/nics/features/octeontx_ep.ini
-F: doc/guides/nics/octeontx_ep.rst
+F: drivers/net/octeon_ep/
+F: doc/guides/nics/features/octeon_ep.ini
+F: doc/guides/nics/octeon_ep.rst
 
 Mellanox mlx4
 M: Matan Azrad <matan@nvidia.com>
diff --git a/doc/guides/nics/features/octeontx_ep.ini b/doc/guides/nics/features/octeon_ep.ini
similarity index 75%
rename from doc/guides/nics/features/octeontx_ep.ini
rename to doc/guides/nics/features/octeon_ep.ini
index d1453f5bee..141d918466 100644
--- a/doc/guides/nics/features/octeontx_ep.ini
+++ b/doc/guides/nics/features/octeon_ep.ini
@@ -1,5 +1,5 @@ 
 ;
-; Supported features of the 'octeontx_ep' network poll mode driver.
+; Supported features of the 'octeon_ep' network poll mode driver.
 ;
 ; Refer to default.ini for the full list of available PMD features.
 ;
diff --git a/doc/guides/nics/index.rst b/doc/guides/nics/index.rst
index f48e9f815c..f80906a97d 100644
--- a/doc/guides/nics/index.rst
+++ b/doc/guides/nics/index.rst
@@ -52,7 +52,7 @@  Network Interface Controller Drivers
     ngbe
     null
     octeontx
-    octeontx_ep
+    octeon_ep
     pfe
     qede
     sfc_efx
diff --git a/doc/guides/nics/octeontx_ep.rst b/doc/guides/nics/octeon_ep.rst
similarity index 87%
rename from doc/guides/nics/octeontx_ep.rst
rename to doc/guides/nics/octeon_ep.rst
index 2ec8a034b5..b5040aeee2 100644
--- a/doc/guides/nics/octeontx_ep.rst
+++ b/doc/guides/nics/octeon_ep.rst
@@ -4,9 +4,9 @@ 
 OCTEON TX EP Poll Mode driver
 =============================
 
-The OCTEON TX EP ETHDEV PMD (**librte_pmd_octeontx_ep**) provides poll mode
+The OCTEON TX EP ETHDEV PMD (**librte_pmd_octeon_ep**) provides poll mode
 ethdev driver support for the virtual functions (VF) of **Marvell OCTEON 9**
-and **Cavium OCTEON TX** families of adapters in SR-IOV context.
+and **Cavium OCTEON** families of adapters in SR-IOV context.
 
 More information can be found at `Marvell Official Website
 <https://www.marvell.com/content/dam/marvell/en/public-collateral/embedded-processors/marvell-liquidio-III-solutions-brief.pdf>`_.
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index e7583cae4c..6558bd7003 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -220,11 +220,6 @@  Deprecation Notices
   Names for the telemetry commands will be similarly limited.
   The parameters for telemetry commands are unaffected by this change.
 
-* net/octeontx_ep: The driver ``octeontx_ep`` was to support OCTEON TX
-  line of products.
-  It will be renamed to ``octeon_ep`` in DPDK 22.11 to apply for
-  all OCTEON EP products: OCTEON TX and future OCTEON chipsets.
-
 * raw/dpaa2_cmdif: The ``dpaa2_cmdif`` rawdev driver will be deprecated
   in DPDK 22.11, as it is no longer in use, no active user known.
 
diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index e35652fe63..37919eaf8b 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -45,7 +45,7 @@  drivers = [
         'ngbe',
         'null',
         'octeontx',
-        'octeontx_ep',
+        'octeon_ep',
         'pcap',
         'pfe',
         'qede',
diff --git a/drivers/net/octeontx_ep/meson.build b/drivers/net/octeon_ep/meson.build
similarity index 100%
rename from drivers/net/octeontx_ep/meson.build
rename to drivers/net/octeon_ep/meson.build
diff --git a/drivers/net/octeontx_ep/otx2_ep_vf.c b/drivers/net/octeon_ep/otx2_ep_vf.c
similarity index 100%
rename from drivers/net/octeontx_ep/otx2_ep_vf.c
rename to drivers/net/octeon_ep/otx2_ep_vf.c
diff --git a/drivers/net/octeontx_ep/otx2_ep_vf.h b/drivers/net/octeon_ep/otx2_ep_vf.h
similarity index 100%
rename from drivers/net/octeontx_ep/otx2_ep_vf.h
rename to drivers/net/octeon_ep/otx2_ep_vf.h
diff --git a/drivers/net/octeontx_ep/otx_ep_common.h b/drivers/net/octeon_ep/otx_ep_common.h
similarity index 100%
rename from drivers/net/octeontx_ep/otx_ep_common.h
rename to drivers/net/octeon_ep/otx_ep_common.h
diff --git a/drivers/net/octeontx_ep/otx_ep_ethdev.c b/drivers/net/octeon_ep/otx_ep_ethdev.c
similarity index 100%
rename from drivers/net/octeontx_ep/otx_ep_ethdev.c
rename to drivers/net/octeon_ep/otx_ep_ethdev.c
diff --git a/drivers/net/octeontx_ep/otx_ep_rxtx.c b/drivers/net/octeon_ep/otx_ep_rxtx.c
similarity index 100%
rename from drivers/net/octeontx_ep/otx_ep_rxtx.c
rename to drivers/net/octeon_ep/otx_ep_rxtx.c
diff --git a/drivers/net/octeontx_ep/otx_ep_rxtx.h b/drivers/net/octeon_ep/otx_ep_rxtx.h
similarity index 100%
rename from drivers/net/octeontx_ep/otx_ep_rxtx.h
rename to drivers/net/octeon_ep/otx_ep_rxtx.h
diff --git a/drivers/net/octeontx_ep/otx_ep_vf.c b/drivers/net/octeon_ep/otx_ep_vf.c
similarity index 100%
rename from drivers/net/octeontx_ep/otx_ep_vf.c
rename to drivers/net/octeon_ep/otx_ep_vf.c
diff --git a/drivers/net/octeontx_ep/otx_ep_vf.h b/drivers/net/octeon_ep/otx_ep_vf.h
similarity index 100%
rename from drivers/net/octeontx_ep/otx_ep_vf.h
rename to drivers/net/octeon_ep/otx_ep_vf.h
diff --git a/drivers/net/octeontx_ep/version.map b/drivers/net/octeon_ep/version.map
similarity index 100%
rename from drivers/net/octeontx_ep/version.map
rename to drivers/net/octeon_ep/version.map