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 B30C441C52; Thu, 9 Feb 2023 14:30:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CB8042B8C; Thu, 9 Feb 2023 14:30:52 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 446D642B8C for ; Thu, 9 Feb 2023 14:30:51 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 319DK5Wa012885; Thu, 9 Feb 2023 05:30:48 -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=15jhfLRsRuVMzDIdQhFBpZINkmDFgbn13XWpgdjR+WY=; b=TP9phdZ0JV6CT5VtpKmHKTTG2wrzRs7LgsCU06Vahjc5KD0PJkFlS35rNG52TyLh9bQu UskfEgQph+yqyro2+ejXYNrPPXGbL+QbO377HFF8qYmP6Kxuh6yyyHvubLbN+RUC8YQu szZHwcR04jjEkWU7beKr8cl6cBqYhp5CmIZxGVgtLzVuarXaIqPtjUJk5lt11zF56OiZ 8KSORsY0i2r4HLlWXuxvni5oLlW4EjbcXF+CVllKRB+kWstasNn6vhp6RBoIGfM6nzUA 18nspL4SNtn8gK0MTEjPN87hW1WdNmzknUrLjWdBnJVbqrLjMLUuKF9MOiqr9TIDLGL8 Og== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3nkdys193n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 09 Feb 2023 05:30:47 -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; Thu, 9 Feb 2023 05:30:46 -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; Thu, 9 Feb 2023 05:30:46 -0800 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id 2D2565B692A; Thu, 9 Feb 2023 05:30:43 -0800 (PST) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Subject: [PATCH v1 2/5] cryptodev: remove internal tracepoints from version map Date: Thu, 9 Feb 2023 19:00:16 +0530 Message-ID: <20230209133019.933380-3-adwivedi@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230209133019.933380-1-adwivedi@marvell.com> References: <20230209133019.933380-1-adwivedi@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: WIEc93zVMk46zSTh0U5g1tJh2Z-QwxNk X-Proofpoint-GUID: WIEc93zVMk46zSTh0U5g1tJh2Z-QwxNk 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-09_10,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 | 2 +- lib/cryptodev/rte_cryptodev.c | 2 +- lib/cryptodev/version.map | 62 ------------------- 5 files changed, 6 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..55ce5b3a36 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', @@ -19,6 +18,7 @@ indirect_headers += files( ) driver_sdk_headers += files( 'cryptodev_pmd.h', + 'cryptodev_trace.h', ) deps += ['kvargs', 'mbuf', 'rcu', 'telemetry'] 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