Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96790/?format=api
http://patchwork.dpdk.org/api/patches/96790/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210810195020.1423013-5-gakhil@marvell.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20210810195020.1423013-5-gakhil@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210810195020.1423013-5-gakhil@marvell.com", "date": "2021-08-10T19:50:20", "name": "[v2,4/4] cryptodev: expose driver interface as internal", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "7a20f5304e5d2b372cc62e604298ca8aec305f48", "submitter": { "id": 2094, "url": "http://patchwork.dpdk.org/api/people/2094/?format=api", "name": "Akhil Goyal", "email": "gakhil@marvell.com" }, "delegate": { "id": 6690, "url": "http://patchwork.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210810195020.1423013-5-gakhil@marvell.com/mbox/", "series": [ { "id": 18250, "url": "http://patchwork.dpdk.org/api/series/18250/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18250", "date": "2021-08-10T19:50:16", "name": "cryptodev: expose driver interface as internal", "version": 2, "mbox": "http://patchwork.dpdk.org/series/18250/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96790/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/96790/checks/", "tags": {}, "related": [], "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 30EC8A0C43;\n\tTue, 10 Aug 2021 21:51:12 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 095A4411E3;\n\tTue, 10 Aug 2021 21:51:08 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id DAD96411E2\n for <dev@dpdk.org>; Tue, 10 Aug 2021 21:51:05 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 17AJoU9E001182; Tue, 10 Aug 2021 12:51:00 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 3abrft22y2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 10 Aug 2021 12:51:00 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Tue, 10 Aug 2021 12:50:58 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Tue, 10 Aug 2021 12:50:58 -0700", "from localhost.localdomain (unknown [10.28.36.185])\n by maili.marvell.com (Postfix) with ESMTP id 3390A5E6886;\n Tue, 10 Aug 2021 12:50:52 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=EFwnFNMn6zocxXAY8jCYR9mvsfgDdJBDdEh+qOf3BY0=;\n b=aoMwIevrakj7fM1ZT2UW0pgc0hWn29YwcplVXWOASuVDnmV98TQCNFzLM1RHxJAnKIap\n lhryTW43qvbEwKm2H9dDJ56aqJWZcHo2TVaj42BZTw+eszzgQcknl8kRcu7HHnZ71oQN\n xQodgmSB104cA50iCr34YmjjGB7/gJiby1WldYp5o0o8fo7aS/NQirU/HHhUDqSjlFAC\n ONLMndNC9Co4cPXaEhCLRB8vvE5d5JJk8lGlPBUJsKxXTFUjXiQBDdUyERZq3NuURl+E\n ocKDCQLHDFZI0hGRtCypNppPSZsnAB0uhjhyB1XzAqYuPKjUcDGDBgREg8vx1VQF56zk kw==", "From": "Akhil Goyal <gakhil@marvell.com>", "To": "<dev@dpdk.org>", "CC": "<anoobj@marvell.com>, <radu.nicolau@intel.com>,\n <declan.doherty@intel.com>,\n <hemant.agrawal@nxp.com>, <matan@nvidia.com>,\n <konstantin.ananyev@intel.com>, <thomas@monjalon.net>,\n <roy.fan.zhang@intel.com>, <asomalap@amd.com>, <ruifeng.wang@arm.com>,\n <ajit.khaparde@broadcom.com>, <pablo.de.lara.guarch@intel.com>,\n <fiona.trahe@intel.com>, <adwivedi@marvell.com>,\n <michaelsh@marvell.com>, <rnagadheeraj@marvell.com>,\n <jianjay.zhou@huawei.com>, Akhil Goyal <gakhil@marvell.com>", "Date": "Wed, 11 Aug 2021 01:20:20 +0530", "Message-ID": "<20210810195020.1423013-5-gakhil@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210810195020.1423013-1-gakhil@marvell.com>", "References": "<20210805200236.1180289-1-gakhil@marvell.com>\n <20210810195020.1423013-1-gakhil@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "97UWFGnMg-RiekOqFIq6W83rjZxcybsg", "X-Proofpoint-GUID": "97UWFGnMg-RiekOqFIq6W83rjZxcybsg", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790\n definitions=2021-08-10_08:2021-08-10,\n 2021-08-10 signatures=0", "Subject": "[dpdk-dev] [PATCH v2 4/4] cryptodev: expose driver interface as\n internal", "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>,\n <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>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The rte_cryptodev_pmd.* files are for drivers only and should be\nprivate to DPDK, and not installed for app use.\n\nSigned-off-by: Akhil Goyal <gakhil@marvell.com>\n---\n drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 2 +-\n drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c | 2 +-\n drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 2 +-\n .../crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 2 +-\n drivers/crypto/armv8/rte_armv8_pmd.c | 2 +-\n drivers/crypto/armv8/rte_armv8_pmd_ops.c | 2 +-\n drivers/crypto/bcmfs/bcmfs_sym_pmd.c | 2 +-\n drivers/crypto/bcmfs/bcmfs_sym_session.h | 2 +-\n drivers/crypto/caam_jr/caam_jr.c | 2 +-\n drivers/crypto/ccp/ccp_crypto.c | 2 +-\n drivers/crypto/ccp/ccp_pmd_ops.c | 2 +-\n drivers/crypto/ccp/rte_ccp_pmd.c | 2 +-\n drivers/crypto/cnxk/cn10k_cryptodev.c | 2 +-\n drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 +-\n drivers/crypto/cnxk/cn10k_cryptodev_ops.h | 2 +-\n drivers/crypto/cnxk/cn9k_cryptodev.c | 2 +-\n drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 +-\n drivers/crypto/cnxk/cn9k_cryptodev_ops.h | 2 +-\n drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 2 +-\n drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +-\n drivers/crypto/dpaa_sec/dpaa_sec.c | 2 +-\n drivers/crypto/kasumi/rte_kasumi_pmd.c | 2 +-\n drivers/crypto/kasumi/rte_kasumi_pmd_ops.c | 2 +-\n drivers/crypto/mlx5/mlx5_crypto.h | 2 +-\n drivers/crypto/mvsam/rte_mrvl_pmd.c | 2 +-\n drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 2 +-\n drivers/crypto/nitrox/nitrox_sym.c | 2 +-\n drivers/crypto/null/null_crypto_pmd.c | 2 +-\n drivers/crypto/null/null_crypto_pmd_ops.c | 2 +-\n drivers/crypto/octeontx/otx_cryptodev.c | 2 +-\n drivers/crypto/octeontx/otx_cryptodev_ops.c | 2 +-\n drivers/crypto/octeontx2/otx2_cryptodev.c | 2 +-\n drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 2 +-\n drivers/crypto/octeontx2/otx2_cryptodev_ops.h | 2 +-\n drivers/crypto/openssl/rte_openssl_pmd.c | 2 +-\n drivers/crypto/openssl/rte_openssl_pmd_ops.c | 2 +-\n drivers/crypto/qat/qat_asym.h | 2 +-\n drivers/crypto/qat/qat_asym_pmd.c | 2 +-\n drivers/crypto/qat/qat_sym.h | 2 +-\n drivers/crypto/qat/qat_sym_hw_dp.c | 2 +-\n drivers/crypto/qat/qat_sym_pmd.c | 2 +-\n drivers/crypto/qat/qat_sym_session.h | 2 +-\n .../scheduler/rte_cryptodev_scheduler.c | 2 +-\n drivers/crypto/scheduler/scheduler_pmd.c | 2 +-\n drivers/crypto/scheduler/scheduler_pmd_ops.c | 2 +-\n drivers/crypto/snow3g/rte_snow3g_pmd.c | 2 +-\n drivers/crypto/snow3g/rte_snow3g_pmd_ops.c | 2 +-\n drivers/crypto/virtio/virtio_cryptodev.c | 2 +-\n drivers/crypto/virtio/virtio_rxtx.c | 2 +-\n drivers/crypto/zuc/rte_zuc_pmd.c | 2 +-\n drivers/crypto/zuc/rte_zuc_pmd_ops.c | 2 +-\n .../octeontx2/otx2_evdev_crypto_adptr_rx.h | 2 +-\n .../octeontx2/otx2_evdev_crypto_adptr_tx.h | 2 +-\n .../net/softnic/rte_eth_softnic_cryptodev.c | 2 +-\n .../{rte_cryptodev_pmd.c => cryptodev_pmd.c} | 2 +-\n .../{rte_cryptodev_pmd.h => cryptodev_pmd.h} | 16 +++++++++---\n lib/cryptodev/meson.build | 18 ++++++++++---\n lib/cryptodev/rte_cryptodev.c | 2 +-\n lib/cryptodev/version.map | 25 +++++++++++--------\n lib/eventdev/rte_event_crypto_adapter.c | 2 +-\n lib/eventdev/rte_eventdev.c | 2 +-\n lib/pipeline/rte_table_action.c | 2 +-\n 62 files changed, 101 insertions(+), 76 deletions(-)\n rename lib/cryptodev/{rte_cryptodev_pmd.c => cryptodev_pmd.c} (99%)\n rename lib/cryptodev/{rte_cryptodev_pmd.h => cryptodev_pmd.h} (98%)", "diff": "diff --git a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c\nindex 886e2a5aaa..330aad8157 100644\n--- a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c\n+++ b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c\n@@ -5,7 +5,7 @@\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\n #include <rte_cpuflags.h>\ndiff --git a/drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c b/drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c\nindex 18dbc4c18c..edb7275e76 100644\n--- a/drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c\n+++ b/drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c\n@@ -6,7 +6,7 @@\n \n #include <rte_common.h>\n #include <rte_malloc.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"aesni_gcm_pmd_private.h\"\n \ndiff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c\nindex a01c826a3c..60963a8208 100644\n--- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c\n+++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c\n@@ -7,7 +7,7 @@\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\n #include <rte_cpuflags.h>\ndiff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c\nindex fc7fdfec8e..48a8f91868 100644\n--- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c\n+++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c\n@@ -8,7 +8,7 @@\n #include <rte_common.h>\n #include <rte_malloc.h>\n #include <rte_ether.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"aesni_mb_pmd_private.h\"\n \ndiff --git a/drivers/crypto/armv8/rte_armv8_pmd.c b/drivers/crypto/armv8/rte_armv8_pmd.c\nindex c642ac350f..36a1a9bb4f 100644\n--- a/drivers/crypto/armv8/rte_armv8_pmd.c\n+++ b/drivers/crypto/armv8/rte_armv8_pmd.c\n@@ -7,7 +7,7 @@\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\n #include <rte_cpuflags.h>\ndiff --git a/drivers/crypto/armv8/rte_armv8_pmd_ops.c b/drivers/crypto/armv8/rte_armv8_pmd_ops.c\nindex 01ccfb4b23..1b2749fe62 100644\n--- a/drivers/crypto/armv8/rte_armv8_pmd_ops.c\n+++ b/drivers/crypto/armv8/rte_armv8_pmd_ops.c\n@@ -6,7 +6,7 @@\n \n #include <rte_common.h>\n #include <rte_malloc.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"armv8_pmd_private.h\"\n \ndiff --git a/drivers/crypto/bcmfs/bcmfs_sym_pmd.c b/drivers/crypto/bcmfs/bcmfs_sym_pmd.c\nindex aa7fad6d70..d1dd22823e 100644\n--- a/drivers/crypto/bcmfs/bcmfs_sym_pmd.c\n+++ b/drivers/crypto/bcmfs/bcmfs_sym_pmd.c\n@@ -7,7 +7,7 @@\n #include <rte_dev.h>\n #include <rte_errno.h>\n #include <rte_malloc.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"bcmfs_device.h\"\n #include \"bcmfs_logs.h\"\ndiff --git a/drivers/crypto/bcmfs/bcmfs_sym_session.h b/drivers/crypto/bcmfs/bcmfs_sym_session.h\nindex 8240c6fc25..d40595b4bd 100644\n--- a/drivers/crypto/bcmfs/bcmfs_sym_session.h\n+++ b/drivers/crypto/bcmfs/bcmfs_sym_session.h\n@@ -8,7 +8,7 @@\n \n #include <stdbool.h>\n #include <rte_crypto.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"bcmfs_sym_defs.h\"\n #include \"bcmfs_sym_req.h\"\ndiff --git a/drivers/crypto/caam_jr/caam_jr.c b/drivers/crypto/caam_jr/caam_jr.c\nindex 3fb3fe0f8a..258750afe7 100644\n--- a/drivers/crypto/caam_jr/caam_jr.c\n+++ b/drivers/crypto/caam_jr/caam_jr.c\n@@ -9,7 +9,7 @@\n \n #include <rte_byteorder.h>\n #include <rte_common.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_crypto.h>\n #include <rte_cryptodev.h>\n #include <rte_bus_vdev.h>\ndiff --git a/drivers/crypto/ccp/ccp_crypto.c b/drivers/crypto/ccp/ccp_crypto.c\nindex f37d35f18f..70daed791e 100644\n--- a/drivers/crypto/ccp/ccp_crypto.c\n+++ b/drivers/crypto/ccp/ccp_crypto.c\n@@ -20,7 +20,7 @@\n #include <rte_memory.h>\n #include <rte_spinlock.h>\n #include <rte_string_fns.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"ccp_dev.h\"\n #include \"ccp_crypto.h\"\ndiff --git a/drivers/crypto/ccp/ccp_pmd_ops.c b/drivers/crypto/ccp/ccp_pmd_ops.c\nindex 98f964f361..0d615d311c 100644\n--- a/drivers/crypto/ccp/ccp_pmd_ops.c\n+++ b/drivers/crypto/ccp/ccp_pmd_ops.c\n@@ -5,7 +5,7 @@\n #include <string.h>\n \n #include <rte_common.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_malloc.h>\n \n #include \"ccp_pmd_private.h\"\ndiff --git a/drivers/crypto/ccp/rte_ccp_pmd.c b/drivers/crypto/ccp/rte_ccp_pmd.c\nindex ab9416942e..a54d81de46 100644\n--- a/drivers/crypto/ccp/rte_ccp_pmd.c\n+++ b/drivers/crypto/ccp/rte_ccp_pmd.c\n@@ -7,7 +7,7 @@\n #include <rte_bus_vdev.h>\n #include <rte_common.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_pci.h>\n #include <rte_dev.h>\n #include <rte_malloc.h>\ndiff --git a/drivers/crypto/cnxk/cn10k_cryptodev.c b/drivers/crypto/cnxk/cn10k_cryptodev.c\nindex db7b5aa7c6..012eb0c051 100644\n--- a/drivers/crypto/cnxk/cn10k_cryptodev.c\n+++ b/drivers/crypto/cnxk/cn10k_cryptodev.c\n@@ -6,7 +6,7 @@\n #include <rte_common.h>\n #include <rte_crypto.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_dev.h>\n #include <rte_pci.h>\n \ndiff --git a/drivers/crypto/cnxk/cn10k_cryptodev_ops.c b/drivers/crypto/cnxk/cn10k_cryptodev_ops.c\nindex 2e1a73939c..d9b53128bc 100644\n--- a/drivers/crypto/cnxk/cn10k_cryptodev_ops.c\n+++ b/drivers/crypto/cnxk/cn10k_cryptodev_ops.c\n@@ -3,7 +3,7 @@\n */\n \n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_ip.h>\n \n #include \"cn10k_cryptodev.h\"\ndiff --git a/drivers/crypto/cnxk/cn10k_cryptodev_ops.h b/drivers/crypto/cnxk/cn10k_cryptodev_ops.h\nindex d500b7d227..198e9ea5bd 100644\n--- a/drivers/crypto/cnxk/cn10k_cryptodev_ops.h\n+++ b/drivers/crypto/cnxk/cn10k_cryptodev_ops.h\n@@ -6,7 +6,7 @@\n #define _CN10K_CRYPTODEV_OPS_H_\n \n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n extern struct rte_cryptodev_ops cn10k_cpt_ops;\n \ndiff --git a/drivers/crypto/cnxk/cn9k_cryptodev.c b/drivers/crypto/cnxk/cn9k_cryptodev.c\nindex 9ff2383d98..b12138c40b 100644\n--- a/drivers/crypto/cnxk/cn9k_cryptodev.c\n+++ b/drivers/crypto/cnxk/cn9k_cryptodev.c\n@@ -6,7 +6,7 @@\n #include <rte_common.h>\n #include <rte_crypto.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_dev.h>\n #include <rte_pci.h>\n \ndiff --git a/drivers/crypto/cnxk/cn9k_cryptodev_ops.c b/drivers/crypto/cnxk/cn9k_cryptodev_ops.c\nindex 724965be5b..97fbf780fe 100644\n--- a/drivers/crypto/cnxk/cn9k_cryptodev_ops.c\n+++ b/drivers/crypto/cnxk/cn9k_cryptodev_ops.c\n@@ -3,7 +3,7 @@\n */\n \n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"cn9k_cryptodev.h\"\n #include \"cn9k_cryptodev_ops.h\"\ndiff --git a/drivers/crypto/cnxk/cn9k_cryptodev_ops.h b/drivers/crypto/cnxk/cn9k_cryptodev_ops.h\nindex 2277f6bcfb..d042d18474 100644\n--- a/drivers/crypto/cnxk/cn9k_cryptodev_ops.h\n+++ b/drivers/crypto/cnxk/cn9k_cryptodev_ops.h\n@@ -5,7 +5,7 @@\n #ifndef _CN9K_CRYPTODEV_OPS_H_\n #define _CN9K_CRYPTODEV_OPS_H_\n \n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n extern struct rte_cryptodev_ops cn9k_cpt_ops;\n \ndiff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\nindex 440dbc3adb..55cfe9159c 100644\n--- a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\n+++ b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\n@@ -3,7 +3,7 @@\n */\n \n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_errno.h>\n \n #include \"roc_cpt.h\"\ndiff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c\nindex 1ccead3641..bf69c61916 100644\n--- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c\n+++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c\n@@ -18,7 +18,7 @@\n #include <rte_cycles.h>\n #include <rte_kvargs.h>\n #include <rte_dev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_common.h>\n #include <rte_fslmc.h>\n #include <fslmc_vfio.h>\ndiff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c\nindex 19d4684e24..3d53746ef1 100644\n--- a/drivers/crypto/dpaa_sec/dpaa_sec.c\n+++ b/drivers/crypto/dpaa_sec/dpaa_sec.c\n@@ -12,7 +12,7 @@\n \n #include <rte_byteorder.h>\n #include <rte_common.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_crypto.h>\n #include <rte_cryptodev.h>\n #ifdef RTE_LIB_SECURITY\ndiff --git a/drivers/crypto/kasumi/rte_kasumi_pmd.c b/drivers/crypto/kasumi/rte_kasumi_pmd.c\nindex 48b7db9e9b..d6f927417a 100644\n--- a/drivers/crypto/kasumi/rte_kasumi_pmd.c\n+++ b/drivers/crypto/kasumi/rte_kasumi_pmd.c\n@@ -5,7 +5,7 @@\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\n #include <rte_cpuflags.h>\ndiff --git a/drivers/crypto/kasumi/rte_kasumi_pmd_ops.c b/drivers/crypto/kasumi/rte_kasumi_pmd_ops.c\nindex 43376c1aa0..f075054807 100644\n--- a/drivers/crypto/kasumi/rte_kasumi_pmd_ops.c\n+++ b/drivers/crypto/kasumi/rte_kasumi_pmd_ops.c\n@@ -6,7 +6,7 @@\n \n #include <rte_common.h>\n #include <rte_malloc.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"kasumi_pmd_private.h\"\n \ndiff --git a/drivers/crypto/mlx5/mlx5_crypto.h b/drivers/crypto/mlx5/mlx5_crypto.h\nindex d49b0001f0..3c256ef275 100644\n--- a/drivers/crypto/mlx5/mlx5_crypto.h\n+++ b/drivers/crypto/mlx5/mlx5_crypto.h\n@@ -8,7 +8,7 @@\n #include <stdbool.h>\n \n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include <mlx5_common_utils.h>\n #include <mlx5_common_devx.h>\ndiff --git a/drivers/crypto/mvsam/rte_mrvl_pmd.c b/drivers/crypto/mvsam/rte_mrvl_pmd.c\nindex ed85bb6547..a72642a772 100644\n--- a/drivers/crypto/mvsam/rte_mrvl_pmd.c\n+++ b/drivers/crypto/mvsam/rte_mrvl_pmd.c\n@@ -7,7 +7,7 @@\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_security_driver.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\ndiff --git a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c\nindex fa36461276..3064b1f136 100644\n--- a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c\n+++ b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c\n@@ -8,7 +8,7 @@\n \n #include <rte_common.h>\n #include <rte_malloc.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_security_driver.h>\n \n #include \"mrvl_pmd_private.h\"\ndiff --git a/drivers/crypto/nitrox/nitrox_sym.c b/drivers/crypto/nitrox/nitrox_sym.c\nindex 2768bdd2e1..f8b7edcd69 100644\n--- a/drivers/crypto/nitrox/nitrox_sym.c\n+++ b/drivers/crypto/nitrox/nitrox_sym.c\n@@ -4,7 +4,7 @@\n \n #include <stdbool.h>\n \n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_crypto.h>\n \n #include \"nitrox_sym.h\"\ndiff --git a/drivers/crypto/null/null_crypto_pmd.c b/drivers/crypto/null/null_crypto_pmd.c\nindex 179e5ff36d..f9935d52cc 100644\n--- a/drivers/crypto/null/null_crypto_pmd.c\n+++ b/drivers/crypto/null/null_crypto_pmd.c\n@@ -3,7 +3,7 @@\n */\n \n #include <rte_common.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\n \ndiff --git a/drivers/crypto/null/null_crypto_pmd_ops.c b/drivers/crypto/null/null_crypto_pmd_ops.c\nindex d67892a1bb..a8b5a06e7f 100644\n--- a/drivers/crypto/null/null_crypto_pmd_ops.c\n+++ b/drivers/crypto/null/null_crypto_pmd_ops.c\n@@ -6,7 +6,7 @@\n \n #include <rte_common.h>\n #include <rte_malloc.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"null_crypto_pmd_private.h\"\n \ndiff --git a/drivers/crypto/octeontx/otx_cryptodev.c b/drivers/crypto/octeontx/otx_cryptodev.c\nindex 3822c0d779..c294f86d79 100644\n--- a/drivers/crypto/octeontx/otx_cryptodev.c\n+++ b/drivers/crypto/octeontx/otx_cryptodev.c\n@@ -5,7 +5,7 @@\n #include <rte_bus_pci.h>\n #include <rte_common.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_log.h>\n #include <rte_pci.h>\n \ndiff --git a/drivers/crypto/octeontx/otx_cryptodev_ops.c b/drivers/crypto/octeontx/otx_cryptodev_ops.c\nindex eac6796cfb..9b5bde53f8 100644\n--- a/drivers/crypto/octeontx/otx_cryptodev_ops.c\n+++ b/drivers/crypto/octeontx/otx_cryptodev_ops.c\n@@ -5,7 +5,7 @@\n #include <rte_alarm.h>\n #include <rte_bus_pci.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_eventdev.h>\n #include <rte_event_crypto_adapter.h>\n #include <rte_errno.h>\ndiff --git a/drivers/crypto/octeontx2/otx2_cryptodev.c b/drivers/crypto/octeontx2/otx2_cryptodev.c\nindex 75fb4f9a3b..85b1f00263 100644\n--- a/drivers/crypto/octeontx2/otx2_cryptodev.c\n+++ b/drivers/crypto/octeontx2/otx2_cryptodev.c\n@@ -6,7 +6,7 @@\n #include <rte_common.h>\n #include <rte_crypto.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_dev.h>\n #include <rte_errno.h>\n #include <rte_mempool.h>\ndiff --git a/drivers/crypto/octeontx2/otx2_cryptodev_ops.c b/drivers/crypto/octeontx2/otx2_cryptodev_ops.c\nindex 42100154cd..09ddbb5f34 100644\n--- a/drivers/crypto/octeontx2/otx2_cryptodev_ops.c\n+++ b/drivers/crypto/octeontx2/otx2_cryptodev_ops.c\n@@ -4,7 +4,7 @@\n \n #include <unistd.h>\n \n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_errno.h>\n #include <rte_ethdev.h>\n #include <rte_event_crypto_adapter.h>\ndiff --git a/drivers/crypto/octeontx2/otx2_cryptodev_ops.h b/drivers/crypto/octeontx2/otx2_cryptodev_ops.h\nindex 1970187f88..8d135909b3 100644\n--- a/drivers/crypto/octeontx2/otx2_cryptodev_ops.h\n+++ b/drivers/crypto/octeontx2/otx2_cryptodev_ops.h\n@@ -5,7 +5,7 @@\n #ifndef _OTX2_CRYPTODEV_OPS_H_\n #define _OTX2_CRYPTODEV_OPS_H_\n \n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #define OTX2_CPT_MIN_HEADROOM_REQ\t24\n #define OTX2_CPT_MIN_TAILROOM_REQ\t8\ndiff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/openssl/rte_openssl_pmd.c\nindex 47004337d5..f149366c2a 100644\n--- a/drivers/crypto/openssl/rte_openssl_pmd.c\n+++ b/drivers/crypto/openssl/rte_openssl_pmd.c\n@@ -5,7 +5,7 @@\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\n #include <rte_cpuflags.h>\ndiff --git a/drivers/crypto/openssl/rte_openssl_pmd_ops.c b/drivers/crypto/openssl/rte_openssl_pmd_ops.c\nindex ed75877581..52715f86f8 100644\n--- a/drivers/crypto/openssl/rte_openssl_pmd_ops.c\n+++ b/drivers/crypto/openssl/rte_openssl_pmd_ops.c\n@@ -6,7 +6,7 @@\n \n #include <rte_common.h>\n #include <rte_malloc.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"openssl_pmd_private.h\"\n #include \"compat.h\"\ndiff --git a/drivers/crypto/qat/qat_asym.h b/drivers/crypto/qat/qat_asym.h\nindex 2838aee76f..308b6b2e0b 100644\n--- a/drivers/crypto/qat/qat_asym.h\n+++ b/drivers/crypto/qat/qat_asym.h\n@@ -5,7 +5,7 @@\n #ifndef _QAT_ASYM_H_\n #define _QAT_ASYM_H_\n \n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_crypto_asym.h>\n #include \"icp_qat_fw_pke.h\"\n #include \"qat_common.h\"\ndiff --git a/drivers/crypto/qat/qat_asym_pmd.c b/drivers/crypto/qat/qat_asym_pmd.c\nindex 0c25cce09e..e91bb0d317 100644\n--- a/drivers/crypto/qat/qat_asym_pmd.c\n+++ b/drivers/crypto/qat/qat_asym_pmd.c\n@@ -2,7 +2,7 @@\n * Copyright(c) 2019 Intel Corporation\n */\n \n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"qat_logs.h\"\n \ndiff --git a/drivers/crypto/qat/qat_sym.h b/drivers/crypto/qat/qat_sym.h\nindex 20b1b53d36..e3ec7f0de4 100644\n--- a/drivers/crypto/qat/qat_sym.h\n+++ b/drivers/crypto/qat/qat_sym.h\n@@ -5,7 +5,7 @@\n #ifndef _QAT_SYM_H_\n #define _QAT_SYM_H_\n \n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #ifdef RTE_LIB_SECURITY\n #include <rte_net_crc.h>\n #endif\ndiff --git a/drivers/crypto/qat/qat_sym_hw_dp.c b/drivers/crypto/qat/qat_sym_hw_dp.c\nindex ac9ac05363..36d11e0dc9 100644\n--- a/drivers/crypto/qat/qat_sym_hw_dp.c\n+++ b/drivers/crypto/qat/qat_sym_hw_dp.c\n@@ -2,7 +2,7 @@\n * Copyright(c) 2020 Intel Corporation\n */\n \n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"adf_transport_access_macros.h\"\n #include \"icp_qat_fw.h\"\ndiff --git a/drivers/crypto/qat/qat_sym_pmd.c b/drivers/crypto/qat/qat_sym_pmd.c\nindex 6868e5f001..efda921c05 100644\n--- a/drivers/crypto/qat/qat_sym_pmd.c\n+++ b/drivers/crypto/qat/qat_sym_pmd.c\n@@ -7,7 +7,7 @@\n #include <rte_dev.h>\n #include <rte_malloc.h>\n #include <rte_pci.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #ifdef RTE_LIB_SECURITY\n #include <rte_security_driver.h>\n #endif\ndiff --git a/drivers/crypto/qat/qat_sym_session.h b/drivers/crypto/qat/qat_sym_session.h\nindex 33b236e49b..6ebc176729 100644\n--- a/drivers/crypto/qat/qat_sym_session.h\n+++ b/drivers/crypto/qat/qat_sym_session.h\n@@ -5,7 +5,7 @@\n #define _QAT_SYM_SESSION_H_\n \n #include <rte_crypto.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #ifdef RTE_LIB_SECURITY\n #include <rte_security.h>\n #endif\ndiff --git a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c\nindex 1e0b4df0ca..1e0c4fe464 100644\n--- a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c\n+++ b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c\n@@ -4,7 +4,7 @@\n #include <rte_string_fns.h>\n #include <rte_reorder.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_malloc.h>\n \n #include \"rte_cryptodev_scheduler.h\"\ndiff --git a/drivers/crypto/scheduler/scheduler_pmd.c b/drivers/crypto/scheduler/scheduler_pmd.c\nindex 632197833c..560c26af50 100644\n--- a/drivers/crypto/scheduler/scheduler_pmd.c\n+++ b/drivers/crypto/scheduler/scheduler_pmd.c\n@@ -4,7 +4,7 @@\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\n #include <rte_cpuflags.h>\ndiff --git a/drivers/crypto/scheduler/scheduler_pmd_ops.c b/drivers/crypto/scheduler/scheduler_pmd_ops.c\nindex cb125e8027..465b88ade8 100644\n--- a/drivers/crypto/scheduler/scheduler_pmd_ops.c\n+++ b/drivers/crypto/scheduler/scheduler_pmd_ops.c\n@@ -7,7 +7,7 @@\n #include <rte_malloc.h>\n #include <rte_dev.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_reorder.h>\n \n #include \"scheduler_pmd_private.h\"\ndiff --git a/drivers/crypto/snow3g/rte_snow3g_pmd.c b/drivers/crypto/snow3g/rte_snow3g_pmd.c\nindex 9aab357846..8284ac0b66 100644\n--- a/drivers/crypto/snow3g/rte_snow3g_pmd.c\n+++ b/drivers/crypto/snow3g/rte_snow3g_pmd.c\n@@ -5,7 +5,7 @@\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\n #include <rte_cpuflags.h>\ndiff --git a/drivers/crypto/snow3g/rte_snow3g_pmd_ops.c b/drivers/crypto/snow3g/rte_snow3g_pmd_ops.c\nindex 906a0fe60b..3f46014b7d 100644\n--- a/drivers/crypto/snow3g/rte_snow3g_pmd_ops.c\n+++ b/drivers/crypto/snow3g/rte_snow3g_pmd_ops.c\n@@ -6,7 +6,7 @@\n \n #include <rte_common.h>\n #include <rte_malloc.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"snow3g_pmd_private.h\"\n \ndiff --git a/drivers/crypto/virtio/virtio_cryptodev.c b/drivers/crypto/virtio/virtio_cryptodev.c\nindex 4bae74a487..8faa39df4a 100644\n--- a/drivers/crypto/virtio/virtio_cryptodev.c\n+++ b/drivers/crypto/virtio/virtio_cryptodev.c\n@@ -9,7 +9,7 @@\n #include <rte_pci.h>\n #include <rte_bus_pci.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_eal.h>\n \n #include \"virtio_cryptodev.h\"\ndiff --git a/drivers/crypto/virtio/virtio_rxtx.c b/drivers/crypto/virtio/virtio_rxtx.c\nindex e1cb4ad104..a65524a306 100644\n--- a/drivers/crypto/virtio/virtio_rxtx.c\n+++ b/drivers/crypto/virtio/virtio_rxtx.c\n@@ -1,7 +1,7 @@\n /* SPDX-License-Identifier: BSD-3-Clause\n * Copyright(c) 2018 HUAWEI TECHNOLOGIES CO., LTD.\n */\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"virtqueue.h\"\n #include \"virtio_cryptodev.h\"\ndiff --git a/drivers/crypto/zuc/rte_zuc_pmd.c b/drivers/crypto/zuc/rte_zuc_pmd.c\nindex 42b669f188..d4b343a7af 100644\n--- a/drivers/crypto/zuc/rte_zuc_pmd.c\n+++ b/drivers/crypto/zuc/rte_zuc_pmd.c\n@@ -5,7 +5,7 @@\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_bus_vdev.h>\n #include <rte_malloc.h>\n #include <rte_cpuflags.h>\ndiff --git a/drivers/crypto/zuc/rte_zuc_pmd_ops.c b/drivers/crypto/zuc/rte_zuc_pmd_ops.c\nindex dc9dc25ef8..38642d45ab 100644\n--- a/drivers/crypto/zuc/rte_zuc_pmd_ops.c\n+++ b/drivers/crypto/zuc/rte_zuc_pmd_ops.c\n@@ -6,7 +6,7 @@\n \n #include <rte_common.h>\n #include <rte_malloc.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"zuc_pmd_private.h\"\n \ndiff --git a/drivers/event/octeontx2/otx2_evdev_crypto_adptr_rx.h b/drivers/event/octeontx2/otx2_evdev_crypto_adptr_rx.h\nindex a543225376..b33cb7e139 100644\n--- a/drivers/event/octeontx2/otx2_evdev_crypto_adptr_rx.h\n+++ b/drivers/event/octeontx2/otx2_evdev_crypto_adptr_rx.h\n@@ -6,7 +6,7 @@\n #define _OTX2_EVDEV_CRYPTO_ADPTR_RX_H_\n \n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_eventdev.h>\n \n #include \"cpt_pmd_logs.h\"\ndiff --git a/drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h b/drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h\nindex ecf7eb9f56..1fc56f903b 100644\n--- a/drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h\n+++ b/drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h\n@@ -6,7 +6,7 @@\n #define _OTX2_EVDEV_CRYPTO_ADPTR_TX_H_\n \n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_event_crypto_adapter.h>\n #include <rte_eventdev.h>\n \ndiff --git a/drivers/net/softnic/rte_eth_softnic_cryptodev.c b/drivers/net/softnic/rte_eth_softnic_cryptodev.c\nindex 8e278801c5..9a7d006f1a 100644\n--- a/drivers/net/softnic/rte_eth_softnic_cryptodev.c\n+++ b/drivers/net/softnic/rte_eth_softnic_cryptodev.c\n@@ -6,7 +6,7 @@\n #include <stdio.h>\n \n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_string_fns.h>\n \n #include \"rte_eth_softnic_internals.h\"\ndiff --git a/lib/cryptodev/rte_cryptodev_pmd.c b/lib/cryptodev/cryptodev_pmd.c\nsimilarity index 99%\nrename from lib/cryptodev/rte_cryptodev_pmd.c\nrename to lib/cryptodev/cryptodev_pmd.c\nindex e342daabc4..71e34140cd 100644\n--- a/lib/cryptodev/rte_cryptodev_pmd.c\n+++ b/lib/cryptodev/cryptodev_pmd.c\n@@ -5,7 +5,7 @@\n #include <rte_string_fns.h>\n #include <rte_malloc.h>\n \n-#include \"rte_cryptodev_pmd.h\"\n+#include \"cryptodev_pmd.h\"\n \n /**\n * Parse name from argument\ndiff --git a/lib/cryptodev/rte_cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.h\nsimilarity index 98%\nrename from lib/cryptodev/rte_cryptodev_pmd.h\nrename to lib/cryptodev/cryptodev_pmd.h\nindex dd2a4940a2..ec7bb82be8 100644\n--- a/lib/cryptodev/rte_cryptodev_pmd.h\n+++ b/lib/cryptodev/cryptodev_pmd.h\n@@ -2,8 +2,8 @@\n * Copyright(c) 2015-2020 Intel Corporation.\n */\n \n-#ifndef _RTE_CRYPTODEV_PMD_H_\n-#define _RTE_CRYPTODEV_PMD_H_\n+#ifndef _CRYPTODEV_PMD_H_\n+#define _CRYPTODEV_PMD_H_\n \n /** @file\n * RTE Crypto PMD APIs\n@@ -80,6 +80,7 @@ struct cryptodev_driver {\n * @return\n * - The rte_cryptodev structure pointer for the given device ID.\n */\n+__rte_internal\n struct rte_cryptodev *\n rte_cryptodev_pmd_get_dev(uint8_t dev_id);\n \n@@ -91,6 +92,7 @@ rte_cryptodev_pmd_get_dev(uint8_t dev_id);\n * @return\n * - The rte_cryptodev structure pointer for the given device ID.\n */\n+__rte_internal\n struct rte_cryptodev *\n rte_cryptodev_pmd_get_named_dev(const char *name);\n \n@@ -401,6 +403,7 @@ struct rte_cryptodev_ops {\n * @return\n * - Slot in the rte_dev_devices array for a new device;\n */\n+__rte_internal\n struct rte_cryptodev *\n rte_cryptodev_pmd_allocate(const char *name, int socket_id);\n \n@@ -414,6 +417,7 @@ rte_cryptodev_pmd_allocate(const char *name, int socket_id);\n * @return\n * - 0 on success, negative on error\n */\n+__rte_internal\n extern int\n rte_cryptodev_pmd_release_device(struct rte_cryptodev *cryptodev);\n \n@@ -435,6 +439,7 @@ rte_cryptodev_pmd_release_device(struct rte_cryptodev *cryptodev);\n * - 0 on success\n * - errno on failure\n */\n+__rte_internal\n int\n rte_cryptodev_pmd_parse_input_args(\n \t\tstruct rte_cryptodev_pmd_init_params *params,\n@@ -454,6 +459,7 @@ rte_cryptodev_pmd_parse_input_args(\n * - crypto device instance on success\n * - NULL on creation failure\n */\n+__rte_internal\n struct rte_cryptodev *\n rte_cryptodev_pmd_create(const char *name,\n \t\tstruct rte_device *device,\n@@ -471,6 +477,7 @@ rte_cryptodev_pmd_create(const char *name,\n * - 0 on success\n * - errno on failure\n */\n+__rte_internal\n int\n rte_cryptodev_pmd_destroy(struct rte_cryptodev *cryptodev);\n \n@@ -484,6 +491,7 @@ rte_cryptodev_pmd_destroy(struct rte_cryptodev *cryptodev);\n * @return\n * void\n */\n+__rte_internal\n void rte_cryptodev_pmd_callback_process(struct rte_cryptodev *dev,\n \t\t\t\tenum rte_cryptodev_event_type event);\n \n@@ -491,6 +499,7 @@ void rte_cryptodev_pmd_callback_process(struct rte_cryptodev *dev,\n * @internal\n * Create unique device name\n */\n+__rte_internal\n int\n rte_cryptodev_pmd_create_dev_name(char *name, const char *dev_name_prefix);\n \n@@ -506,6 +515,7 @@ rte_cryptodev_pmd_create_dev_name(char *name, const char *dev_name_prefix);\n * @return\n * The driver type identifier\n */\n+__rte_internal\n uint8_t rte_cryptodev_allocate_driver(struct cryptodev_driver *crypto_drv,\n \t\tconst struct rte_driver *drv);\n \n@@ -555,4 +565,4 @@ set_asym_session_private_data(struct rte_cryptodev_asym_session *sess,\n }\n #endif\n \n-#endif /* _RTE_CRYPTODEV_PMD_H_ */\n+#endif /* _CRYPTODEV_PMD_H_ */\ndiff --git a/lib/cryptodev/meson.build b/lib/cryptodev/meson.build\nindex bec80beab3..735935df4a 100644\n--- a/lib/cryptodev/meson.build\n+++ b/lib/cryptodev/meson.build\n@@ -1,12 +1,22 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017-2019 Intel Corporation\n \n-sources = files('rte_cryptodev.c', 'rte_cryptodev_pmd.c', 'cryptodev_trace_points.c')\n-headers = files('rte_cryptodev.h',\n- 'rte_cryptodev_pmd.h',\n+sources = files(\n+ 'cryptodev_pmd.c',\n+\t'cryptodev_trace_points.c',\n+ 'rte_cryptodev.c',\n+)\n+headers = files(\n+ 'rte_cryptodev.h',\n 'rte_cryptodev_trace.h',\n 'rte_cryptodev_trace_fp.h',\n 'rte_crypto.h',\n 'rte_crypto_sym.h',\n- 'rte_crypto_asym.h')\n+ 'rte_crypto_asym.h',\n+)\n+\n+driver_sdk_headers += files(\n+ 'cryptodev_pmd.h',\n+)\n+\n deps += ['kvargs', 'mbuf', 'rcu']\ndiff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c\nindex 37502b9b3c..9fa3aff1d3 100644\n--- a/lib/cryptodev/rte_cryptodev.c\n+++ b/lib/cryptodev/rte_cryptodev.c\n@@ -39,7 +39,7 @@\n \n #include \"rte_crypto.h\"\n #include \"rte_cryptodev.h\"\n-#include \"rte_cryptodev_pmd.h\"\n+#include \"cryptodev_pmd.h\"\n #include \"rte_cryptodev_trace.h\"\n \n static uint8_t nb_drivers;\ndiff --git a/lib/cryptodev/version.map b/lib/cryptodev/version.map\nindex 593199bba6..ad7b9d8fbe 100644\n--- a/lib/cryptodev/version.map\n+++ b/lib/cryptodev/version.map\n@@ -8,7 +8,6 @@ DPDK_21 {\n \trte_crypto_cipher_algorithm_strings;\n \trte_crypto_cipher_operation_strings;\n \trte_crypto_op_pool_create;\n-\trte_cryptodev_allocate_driver;\n \trte_cryptodev_callback_register;\n \trte_cryptodev_callback_unregister;\n \trte_cryptodev_close;\n@@ -27,15 +26,6 @@ DPDK_21 {\n \trte_cryptodev_info_get;\n \trte_cryptodev_is_valid_dev;\n \trte_cryptodev_name_get;\n-\trte_cryptodev_pmd_allocate;\n-\trte_cryptodev_pmd_callback_process;\n-\trte_cryptodev_pmd_create;\n-\trte_cryptodev_pmd_create_dev_name;\n-\trte_cryptodev_pmd_destroy;\n-\trte_cryptodev_pmd_get_dev;\n-\trte_cryptodev_pmd_get_named_dev;\n-\trte_cryptodev_pmd_parse_input_args;\n-\trte_cryptodev_pmd_release_device;\n \trte_cryptodev_queue_pair_count;\n \trte_cryptodev_queue_pair_setup;\n \trte_cryptodev_socket_id;\n@@ -117,3 +107,18 @@ EXPERIMENTAL {\n \trte_cryptodev_remove_enq_callback;\n \n };\n+\n+INTERNAL {\n+\tglobal:\n+\n+\trte_cryptodev_allocate_driver;\n+\trte_cryptodev_pmd_allocate;\n+\trte_cryptodev_pmd_callback_process;\n+\trte_cryptodev_pmd_create;\n+\trte_cryptodev_pmd_create_dev_name;\n+\trte_cryptodev_pmd_destroy;\n+\trte_cryptodev_pmd_get_dev;\n+\trte_cryptodev_pmd_get_named_dev;\n+\trte_cryptodev_pmd_parse_input_args;\n+\trte_cryptodev_pmd_release_device;\n+};\ndiff --git a/lib/eventdev/rte_event_crypto_adapter.c b/lib/eventdev/rte_event_crypto_adapter.c\nindex 2d38389858..ebfc8326a8 100644\n--- a/lib/eventdev/rte_event_crypto_adapter.c\n+++ b/lib/eventdev/rte_event_crypto_adapter.c\n@@ -9,7 +9,7 @@\n #include <rte_dev.h>\n #include <rte_errno.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_log.h>\n #include <rte_malloc.h>\n #include <rte_service_component.h>\ndiff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c\nindex cb0ed7b620..e347d6dfd5 100644\n--- a/lib/eventdev/rte_eventdev.c\n+++ b/lib/eventdev/rte_eventdev.c\n@@ -31,7 +31,7 @@\n #include <rte_errno.h>\n #include <rte_ethdev.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n #include <rte_telemetry.h>\n \n #include \"rte_eventdev.h\"\ndiff --git a/lib/pipeline/rte_table_action.c b/lib/pipeline/rte_table_action.c\nindex 54721ed96a..ad7904c0ee 100644\n--- a/lib/pipeline/rte_table_action.c\n+++ b/lib/pipeline/rte_table_action.c\n@@ -16,7 +16,7 @@\n #include <rte_udp.h>\n #include <rte_vxlan.h>\n #include <rte_cryptodev.h>\n-#include <rte_cryptodev_pmd.h>\n+#include <cryptodev_pmd.h>\n \n #include \"rte_table_action.h\"\n \n", "prefixes": [ "v2", "4/4" ] }{ "id": 96790, "url": "