From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91DCF41C5F; Fri, 10 Feb 2023 11:35:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F330542D0B; Fri, 10 Feb 2023 11:35:30 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CAC1542B71 for ; Fri, 10 Feb 2023 11:35:29 +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 31A80HsQ029059; Fri, 10 Feb 2023 02:35:28 -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=xtma76t/2jrWTDEZXdIl2315o3KfXRKS4cfu3ZX52R0=; b=GPjpWMXoyflfCh04HowBZfKiCFoPuo2o31+UbZMUip+brmJJaRW3Edv6jBss0S8FO0g6 CpQmxGlPESKqT09TJ35f6v/hXwnq4pTicx0x3Edf22VGO2ZUxJIDaueK2MQskOWWEdZv ++ojPEQu9t71PuUJg/iEVqyapFt1HjoWPm8bopwXkwIqhjtsRmC7OY4MnZ6f9HzrjFPG ZsHzz0ZVeNXJJO7I/DQvDNASiM1beqM75YuTFgjlIoU13a8W2iTrXFBUjkBkOkdwAa1C jOKQTXi2Of5sWISVLjKlFs7g5O2jZaM1MaGhmeyP+DuOzMhtExpcf1Ivw2Q4A8f46zuZ wg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nn71ckuc7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 10 Feb 2023 02:35:27 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 10 Feb 2023 02:35:25 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Fri, 10 Feb 2023 02:35:25 -0800 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id 7E4A23F7058; Fri, 10 Feb 2023 02:35:23 -0800 (PST) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Subject: [PATCH v2 2/5] cryptodev: remove internal tracepoints from version map Date: Fri, 10 Feb 2023 16:04:43 +0530 Message-ID: <20230210103446.1126999-3-adwivedi@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230210103446.1126999-1-adwivedi@marvell.com> References: <20230209133019.933380-1-adwivedi@marvell.com> <20230210103446.1126999-1-adwivedi@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: w4WmjZtNs9C7fk8AU45UOwOvf_XPeifJ X-Proofpoint-GUID: w4WmjZtNs9C7fk8AU45UOwOvf_XPeifJ 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-10_05,2023-02-09_03,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 --- ...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; -- 2.25.1