All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ankur Dwivedi <adwivedi@marvell.com>
To: <dev@dpdk.org>
Cc: <thomas@monjalon.net>, <david.marchand@redhat.com>,
	<ferruh.yigit@amd.com>, <jerinj@marvell.com>,
	Ankur Dwivedi <adwivedi@marvell.com>
Subject: [PATCH v1 2/5] cryptodev: remove internal tracepoints from version map
Date: Thu, 9 Feb 2023 19:00:16 +0530	[thread overview]
Message-ID: <20230209133019.933380-3-adwivedi@marvell.com> (raw)
In-Reply-To: <20230209133019.933380-1-adwivedi@marvell.com>

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 <adwivedi@marvell.com>
---
 ...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 <rte_trace_point_register.h>
 
-#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


  parent reply	other threads:[~2023-02-09 13:30 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-09 13:30 [PATCH v1 0/5] remove internal tracepoints from version map Ankur Dwivedi
2023-02-09 13:30 ` [PATCH v1 1/5] mempool: " Ankur Dwivedi
2023-02-09 14:23   ` David Marchand
2023-02-10  5:32     ` [EXT] " Ankur Dwivedi
2023-02-10  5:44   ` Jerin Jacob
2023-02-10  7:00     ` [EXT] " Ankur Dwivedi
2023-02-10  7:06       ` Jerin Jacob
2023-02-10 14:24         ` David Marchand
2023-02-10 15:32           ` Jerin Jacob
2023-02-14 11:37             ` Ankur Dwivedi
2023-02-20 14:18               ` David Marchand
2023-02-09 13:30 ` Ankur Dwivedi [this message]
2023-02-09 13:30 ` [PATCH v1 3/5] eal: " Ankur Dwivedi
2023-02-09 13:30 ` [PATCH v1 4/5] ethdev: " Ankur Dwivedi
2023-02-09 14:13   ` Ferruh Yigit
2023-02-09 13:30 ` [PATCH v1 5/5] eventdev: " Ankur Dwivedi
2023-02-10 10:34 ` [PATCH v2 0/5] " Ankur Dwivedi
2023-02-10 10:34   ` [PATCH v2 1/5] mempool: " Ankur Dwivedi
2023-02-10 10:34   ` [PATCH v2 2/5] cryptodev: " Ankur Dwivedi
2023-02-10 10:34   ` [PATCH v2 3/5] eal: " Ankur Dwivedi
2023-02-10 10:34   ` [PATCH v2 4/5] ethdev: " Ankur Dwivedi
2023-02-10 14:19     ` David Marchand
2023-02-13  8:14       ` [EXT] " Ankur Dwivedi
2023-02-10 10:34   ` [PATCH v2 5/5] eventdev: " Ankur Dwivedi
2023-02-10 13:08     ` Jerin Jacob
2023-02-15  9:42   ` [PATCH v3 0/5] " Ankur Dwivedi
2023-02-15  9:42     ` [PATCH v3 1/5] mempool: " Ankur Dwivedi
2023-02-15  9:42     ` [PATCH v3 2/5] cryptodev: " Ankur Dwivedi
2023-02-15  9:42     ` [PATCH v3 3/5] eal: " Ankur Dwivedi
2023-02-15  9:42     ` [PATCH v3 4/5] ethdev: " Ankur Dwivedi
2023-02-15  9:42     ` [PATCH v3 5/5] eventdev: " Ankur Dwivedi
2023-02-20 14:39     ` [PATCH v3 0/5] " Thomas Monjalon

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=20230209133019.933380-3-adwivedi@marvell.com \
    --to=adwivedi@marvell.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@amd.com \
    --cc=jerinj@marvell.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.