From patchwork Wed Feb 15 09:42:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Dwivedi X-Patchwork-Id: 123938 X-Patchwork-Delegate: thomas@monjalon.net 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 B07B841CA4; Wed, 15 Feb 2023 10:42:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D64442FD6; Wed, 15 Feb 2023 10:42:58 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 4D5F942FDA for ; Wed, 15 Feb 2023 10:42:57 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31F9FqlV007244; Wed, 15 Feb 2023 01:42:55 -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=VZbN6id4WboUB7gxTfla1rak2elQMeZBVDW0YvulqNk=; b=YSIFghkMZfWVmDIOlRsP9I8UZGURyhURKpGWW/KiP6hloaOudspIMdrQSWcvNqrAV+eI NSrJ/ZWCiqhgynRa6xFS/QE6KHgv5plQ4eXL1H4dnJ8ASq6po16Bg3xyM6jVLw49HoqP zI8fR2+jWztk+ZcjFeZ+pNAlJUW0JHZIwAL3nmq6OiFDTz24f+MqlnRNRdZ0k16osg04 InQ2ZjDIsSuQsOy+KT1LXXipnG4sVipuUOllra61fAsk4s0oiJZfSrOKQ3p+XGPMK6Za 9fguQFHlAWEMhePlvh3uEy9Ub+a5mAtjBZikvq8cjy4EVJ4zsvVSC1qrCoJwClVJfwPB ig== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nrumggc0r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 15 Feb 2023 01:42:55 -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.42; Wed, 15 Feb 2023 01:42:53 -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.42 via Frontend Transport; Wed, 15 Feb 2023 01:42:53 -0800 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id F30253F7040; Wed, 15 Feb 2023 01:42:50 -0800 (PST) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Subject: [PATCH v3 2/5] cryptodev: remove internal tracepoints from version map Date: Wed, 15 Feb 2023 15:12:25 +0530 Message-ID: <20230215094228.1452656-3-adwivedi@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230215094228.1452656-1-adwivedi@marvell.com> References: <20230210103446.1126999-1-adwivedi@marvell.com> <20230215094228.1452656-1-adwivedi@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: lh6DYVinkI7J1LfykbxeTmRSDeyfYEsb X-Proofpoint-ORIG-GUID: lh6DYVinkI7J1LfykbxeTmRSDeyfYEsb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-15_06,2023-02-14_01,2023-02-09_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 The file rte_cryptodev_trace.h contains tracepoints which are internal to the cryptodev library. This file is renamed to cryptodev_trace.h, and is made an internal header. The tracepoints in this file are removed from the experimental and internal section in version.map file. Signed-off-by: Ankur Dwivedi Acked-by: Jerin Jacob --- ...te_cryptodev_trace.h => cryptodev_trace.h} | 6 +- lib/cryptodev/cryptodev_trace_points.c | 2 +- lib/cryptodev/meson.build | 1 - lib/cryptodev/rte_cryptodev.c | 2 +- lib/cryptodev/version.map | 62 ------------------- 5 files changed, 5 insertions(+), 68 deletions(-) rename lib/cryptodev/{rte_cryptodev_trace.h => cryptodev_trace.h} (99%) diff --git a/lib/cryptodev/rte_cryptodev_trace.h b/lib/cryptodev/cryptodev_trace.h similarity index 99% rename from lib/cryptodev/rte_cryptodev_trace.h rename to lib/cryptodev/cryptodev_trace.h index 5e694379b1..637baa31b3 100644 --- a/lib/cryptodev/rte_cryptodev_trace.h +++ b/lib/cryptodev/cryptodev_trace.h @@ -2,8 +2,8 @@ * Copyright(C) 2020 Marvell International Ltd. */ -#ifndef _RTE_CRYPTODEV_TRACE_H_ -#define _RTE_CRYPTODEV_TRACE_H_ +#ifndef _CRYPTODEV_TRACE_H_ +#define _CRYPTODEV_TRACE_H_ /** * @file @@ -530,4 +530,4 @@ RTE_TRACE_POINT( } #endif -#endif /* _RTE_CRYPTODEV_TRACE_H_ */ +#endif /* _CRYPTODEV_TRACE_H_ */ diff --git a/lib/cryptodev/cryptodev_trace_points.c b/lib/cryptodev/cryptodev_trace_points.c index 4980bcc9be..e2303fdb52 100644 --- a/lib/cryptodev/cryptodev_trace_points.c +++ b/lib/cryptodev/cryptodev_trace_points.c @@ -4,7 +4,7 @@ #include -#include "rte_cryptodev_trace.h" +#include "cryptodev_trace.h" RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_configure, lib.cryptodev.configure) diff --git a/lib/cryptodev/meson.build b/lib/cryptodev/meson.build index 19de3073bb..4734acf321 100644 --- a/lib/cryptodev/meson.build +++ b/lib/cryptodev/meson.build @@ -8,7 +8,6 @@ sources = files( ) headers = files( 'rte_cryptodev.h', - 'rte_cryptodev_trace.h', 'rte_cryptodev_trace_fp.h', 'rte_crypto.h', 'rte_crypto_sym.h', diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c index cf06511ae7..a96114b2da 100644 --- a/lib/cryptodev/rte_cryptodev.c +++ b/lib/cryptodev/rte_cryptodev.c @@ -29,7 +29,7 @@ #include "rte_crypto.h" #include "rte_cryptodev.h" #include "cryptodev_pmd.h" -#include "rte_cryptodev_trace.h" +#include "cryptodev_trace.h" static uint8_t nb_drivers; diff --git a/lib/cryptodev/version.map b/lib/cryptodev/version.map index 91c734dd7b..24ff90799c 100644 --- a/lib/cryptodev/version.map +++ b/lib/cryptodev/version.map @@ -64,16 +64,6 @@ EXPERIMENTAL { rte_crypto_asym_xform_strings; # added in 20.05 - __rte_cryptodev_trace_configure; - __rte_cryptodev_trace_start; - __rte_cryptodev_trace_stop; - __rte_cryptodev_trace_close; - __rte_cryptodev_trace_queue_pair_setup; - __rte_cryptodev_trace_sym_session_pool_create; - __rte_cryptodev_trace_sym_session_create; - __rte_cryptodev_trace_asym_session_create; - __rte_cryptodev_trace_sym_session_free; - __rte_cryptodev_trace_asym_session_free; __rte_cryptodev_trace_dequeue_burst; __rte_cryptodev_trace_enqueue_burst; @@ -98,59 +88,11 @@ EXPERIMENTAL { rte_cryptodev_asym_session_get_user_data; rte_cryptodev_asym_session_pool_create; rte_cryptodev_asym_session_set_user_data; - __rte_cryptodev_trace_asym_session_pool_create; #added in 22.07 rte_cryptodev_session_event_mdata_set; rte_crypto_asym_ke_strings; - #added in 22.11 - __rte_cryptodev_trace_add_deq_callback; - __rte_cryptodev_trace_add_enq_callback; - __rte_cryptodev_trace_allocate_driver; - __rte_cryptodev_trace_asym_capability_get; - __rte_cryptodev_trace_asym_get_private_session_size; - __rte_cryptodev_trace_asym_get_xform_enum; - __rte_cryptodev_trace_asym_session_get_user_data; - __rte_cryptodev_trace_asym_session_set_user_data; - __rte_cryptodev_trace_asym_xform_capability_check_modlen; - __rte_cryptodev_trace_asym_xform_capability_check_optype; - __rte_cryptodev_trace_callback_register; - __rte_cryptodev_trace_callback_unregister; - __rte_cryptodev_trace_configure_raw_dp_ctx; - __rte_cryptodev_trace_device_count_by_driver; - __rte_cryptodev_trace_devices_get; - __rte_cryptodev_trace_driver_id_get; - __rte_cryptodev_trace_driver_name_get; - __rte_cryptodev_trace_get_aead_algo_enum; - __rte_cryptodev_trace_get_auth_algo_enum; - __rte_cryptodev_trace_get_cipher_algo_enum; - __rte_cryptodev_trace_get_dev_id; - __rte_cryptodev_trace_get_feature_name; - __rte_cryptodev_trace_get_qp_status; - __rte_cryptodev_trace_get_raw_dp_ctx_size; - __rte_cryptodev_trace_get_sec_ctx; - __rte_cryptodev_trace_info_get; - __rte_cryptodev_trace_is_valid_dev; - __rte_cryptodev_trace_name_get; - __rte_cryptodev_trace_op_pool_create; - __rte_cryptodev_trace_queue_pair_count; - __rte_cryptodev_trace_remove_deq_callback; - __rte_cryptodev_trace_remove_enq_callback; - __rte_cryptodev_trace_session_event_mdata_set; - __rte_cryptodev_trace_socket_id; - __rte_cryptodev_trace_stats_get; - __rte_cryptodev_trace_stats_reset; - __rte_cryptodev_trace_sym_capability_check_aead; - __rte_cryptodev_trace_sym_capability_check_auth; - __rte_cryptodev_trace_sym_capability_check_cipher; - __rte_cryptodev_trace_sym_capability_get; - __rte_cryptodev_trace_sym_cpu_crypto_process; - __rte_cryptodev_trace_sym_get_private_session_size; - __rte_cryptodev_trace_sym_session_get_user_data; - __rte_cryptodev_trace_sym_session_set_user_data; - __rte_cryptodev_trace_count; - # added 23.03 rte_cryptodev_asym_get_xform_string; rte_cryptodev_get_aead_algo_string; @@ -162,10 +104,6 @@ EXPERIMENTAL { INTERNAL { global: - __rte_cryptodev_trace_asym_get_xform_string; - __rte_cryptodev_trace_get_aead_algo_string; - __rte_cryptodev_trace_get_auth_algo_string; - __rte_cryptodev_trace_get_cipher_algo_string; cryptodev_fp_ops_reset; cryptodev_fp_ops_set; rte_cryptodev_allocate_driver;