DPDK patches and discussions
 help / color / mirror / Atom feed
From: Chengwen Feng <fengchengwen@huawei.com>
To: <thomas@monjalon.net>
Cc: <dev@dpdk.org>
Subject: [PATCH] dma/hisi_pciep: rename hisilicon driver
Date: Thu, 16 Oct 2025 10:37:47 +0800	[thread overview]
Message-ID: <20251016023747.18871-1-fengchengwen@huawei.com> (raw)

The original hisilicon DMA driver correspond to the internal DMA unit of
Kunpeng SoC PCIe subsystem. This commit renames it to hisi_pciep (PCIe
internal endpoint) to reflect hardware IP.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
---
 MAINTAINERS                                        |  6 +++---
 .../dmadevs/{hisilicon.rst => hisi_pciep.rst}      | 14 +++++++-------
 doc/guides/dmadevs/index.rst                       |  2 +-
 doc/guides/rel_notes/release_25_11.rst             |  4 ++++
 .../hisi_pciep_dmadev.c}                           |  8 ++++----
 .../hisi_pciep_dmadev.h}                           |  0
 drivers/dma/{hisilicon => hisi_pciep}/meson.build  |  2 +-
 drivers/dma/meson.build                            |  2 +-
 8 files changed, 21 insertions(+), 17 deletions(-)
 rename doc/guides/dmadevs/{hisilicon.rst => hisi_pciep.rst} (72%)
 rename drivers/dma/{hisilicon/hisi_dmadev.c => hisi_pciep/hisi_pciep_dmadev.c} (99%)
 rename drivers/dma/{hisilicon/hisi_dmadev.h => hisi_pciep/hisi_pciep_dmadev.h} (100%)
 rename drivers/dma/{hisilicon => hisi_pciep}/meson.build (93%)

diff --git a/MAINTAINERS b/MAINTAINERS
index 1a2729be66..92be9a5d1b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1361,10 +1361,10 @@ M: Conor Walsh <conor.walsh@intel.com>
 F: drivers/dma/ioat/
 F: doc/guides/dmadevs/ioat.rst
 
-HiSilicon DMA
+HiSilicon PCIEP DMA
 M: Chengwen Feng <fengchengwen@huawei.com>
-F: drivers/dma/hisilicon/
-F: doc/guides/dmadevs/hisilicon.rst
+F: drivers/dma/hisi_pciep/
+F: doc/guides/dmadevs/hisi_pciep.rst
 
 Marvell CNXK DPI DMA
 M: Vamsi Attunuru <vattunuru@marvell.com>
diff --git a/doc/guides/dmadevs/hisilicon.rst b/doc/guides/dmadevs/hisi_pciep.rst
similarity index 72%
rename from doc/guides/dmadevs/hisilicon.rst
rename to doc/guides/dmadevs/hisi_pciep.rst
index 974bc49376..9e9166648e 100644
--- a/doc/guides/dmadevs/hisilicon.rst
+++ b/doc/guides/dmadevs/hisi_pciep.rst
@@ -1,11 +1,11 @@
 ..  SPDX-License-Identifier: BSD-3-Clause
     Copyright(c) 2021 HiSilicon Limited.
 
-HISILICON Kunpeng DMA Driver
-============================
+HISILICON PCIEP DMA Driver
+==========================
 
-Kunpeng SoC has an internal DMA unit which can be used by application
-to accelerate data copies.
+Kunpeng SoC PCIE subsystem has an internal DMA unit which can be used by
+application to accelerate data copies.
 The DMA PF function supports multiple DMA channels.
 
 
@@ -18,8 +18,8 @@ Supported Kunpeng SoCs
 Device Setup
 -------------
 
-Kunpeng DMA devices will need to be bound to a suitable DPDK-supported
-user-space IO driver such as ``vfio-pci`` in order to be used by DPDK.
+This device needs to be bound to a suitable DPDK-supported user-space IO
+driver such as ``vfio-pci`` in order to be used by DPDK.
 
 Device Probing and Initialization
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -35,7 +35,7 @@ and the 2nd ``dmadev`` name is "0000:7b:00.0-ch1".
 Device Configuration
 ~~~~~~~~~~~~~~~~~~~~~
 
-Kunpeng DMA configuration requirements:
+Configuration requirements:
 
 * ``ring_size`` must be a power of two, between 32 and 8192.
 * Only one ``vchan`` is supported per ``dmadev``.
diff --git a/doc/guides/dmadevs/index.rst b/doc/guides/dmadevs/index.rst
index 15ddaf5192..2ddcced09c 100644
--- a/doc/guides/dmadevs/index.rst
+++ b/doc/guides/dmadevs/index.rst
@@ -14,7 +14,7 @@ an application through DMA API.
    cnxk
    dpaa
    dpaa2
-   hisilicon
+   hisi_pciep
    idxd
    ioat
    odm
diff --git a/doc/guides/rel_notes/release_25_11.rst b/doc/guides/rel_notes/release_25_11.rst
index 3c32b26e3b..eb5c048d5b 100644
--- a/doc/guides/rel_notes/release_25_11.rst
+++ b/doc/guides/rel_notes/release_25_11.rst
@@ -87,6 +87,10 @@ New Features
   * Added multi-process per port.
   * Optimized code.
 
+* **Rename hisilicon DMA driver to hisi_pciep DMA driver.**
+
+  * Rename to hisi_pciep (PCIe internal endpoint) to reflect hardware IP.
+
 * **Allow overriding the automatic usage/help generation in argparse library.**
 
   The argparse library now supports overriding the automatic help text generation,
diff --git a/drivers/dma/hisilicon/hisi_dmadev.c b/drivers/dma/hisi_pciep/hisi_pciep_dmadev.c
similarity index 99%
rename from drivers/dma/hisilicon/hisi_dmadev.c
rename to drivers/dma/hisi_pciep/hisi_pciep_dmadev.c
index 7575fb12d9..13c14833be 100644
--- a/drivers/dma/hisilicon/hisi_dmadev.c
+++ b/drivers/dma/hisi_pciep/hisi_pciep_dmadev.c
@@ -15,7 +15,7 @@
 #include <rte_pci.h>
 #include <rte_dmadev_pmd.h>
 
-#include "hisi_dmadev.h"
+#include "hisi_pciep_dmadev.h"
 
 RTE_LOG_REGISTER_DEFAULT(hisi_dma_logtype, INFO);
 #define RTE_LOGTYPE_HISI_DMA hisi_dma_logtype
@@ -992,6 +992,6 @@ static struct rte_pci_driver hisi_dma_pmd_drv = {
 	.remove    = hisi_dma_remove,
 };
 
-RTE_PMD_REGISTER_PCI(dma_hisilicon, hisi_dma_pmd_drv);
-RTE_PMD_REGISTER_PCI_TABLE(dma_hisilicon, pci_id_hisi_dma_map);
-RTE_PMD_REGISTER_KMOD_DEP(dma_hisilicon, "vfio-pci");
+RTE_PMD_REGISTER_PCI(dma_hisi_pciep, hisi_dma_pmd_drv);
+RTE_PMD_REGISTER_PCI_TABLE(dma_hisi_pciep, pci_id_hisi_dma_map);
+RTE_PMD_REGISTER_KMOD_DEP(dma_hisi_pciep, "vfio-pci");
diff --git a/drivers/dma/hisilicon/hisi_dmadev.h b/drivers/dma/hisi_pciep/hisi_pciep_dmadev.h
similarity index 100%
rename from drivers/dma/hisilicon/hisi_dmadev.h
rename to drivers/dma/hisi_pciep/hisi_pciep_dmadev.h
diff --git a/drivers/dma/hisilicon/meson.build b/drivers/dma/hisi_pciep/meson.build
similarity index 93%
rename from drivers/dma/hisilicon/meson.build
rename to drivers/dma/hisi_pciep/meson.build
index 1098539e20..35944464c6 100644
--- a/drivers/dma/hisilicon/meson.build
+++ b/drivers/dma/hisi_pciep/meson.build
@@ -15,7 +15,7 @@ endif
 
 deps += ['bus_pci', 'dmadev']
 sources = files(
-        'hisi_dmadev.c',
+        'hisi_pciep_dmadev.c',
 )
 
 require_iova_in_mbuf = false
diff --git a/drivers/dma/meson.build b/drivers/dma/meson.build
index 358132759a..4f82a306bf 100644
--- a/drivers/dma/meson.build
+++ b/drivers/dma/meson.build
@@ -5,7 +5,7 @@ drivers = [
         'cnxk',
         'dpaa',
         'dpaa2',
-        'hisilicon',
+        'hisi_pciep',
         'idxd',
         'ioat',
         'odm',
-- 
2.17.1


                 reply	other threads:[~2025-10-16  2:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20251016023747.18871-1-fengchengwen@huawei.com \
    --to=fengchengwen@huawei.com \
    --cc=dev@dpdk.org \
    --cc=thomas@monjalon.net \
    /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).