patches for DPDK stable branches
 help / color / mirror / Atom feed
From: luca.boccassi@gmail.com
To: stable@dpdk.org
Cc: christian.ehrhardt@canonical.com, ktraynor@redhat.com,
	Luca Boccassi <bluca@debian.org>
Subject: [PATCH 20.11 1/2] Revert "regexdev: fix section attribute of symbols"
Date: Tue, 29 Mar 2022 13:09:52 +0100	[thread overview]
Message-ID: <20220329120953.152396-1-luca.boccassi@gmail.com> (raw)

From: Luca Boccassi <bluca@debian.org>

Causes symbols changes, so it's not appropriate for 20.11.

This reverts commit 64452c878f225c147dfb7156e605f5b55da9f7c0.

Signed-off-by: Luca Boccassi <bluca@debian.org>
---
 devtools/libabigail.abignore              | 4 ----
 lib/librte_regexdev/rte_regexdev.h        | 4 ----
 lib/librte_regexdev/rte_regexdev_driver.h | 3 ---
 lib/librte_regexdev/version.map           | 9 ---------
 4 files changed, 20 deletions(-)

diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore
index 1414cdfba9..025f2c01bc 100644
--- a/devtools/libabigail.abignore
+++ b/devtools/libabigail.abignore
@@ -7,7 +7,3 @@
         symbol_version = INTERNAL
 [suppress_variable]
         symbol_version = INTERNAL
-
-; Ignore section attribute fixes in experimental regexdev library
-[suppress_file]
-        soname_regexp = ^librte_regexdev\.
diff --git a/lib/librte_regexdev/rte_regexdev.h b/lib/librte_regexdev/rte_regexdev.h
index 09d1718da9..df2312678c 100644
--- a/lib/librte_regexdev/rte_regexdev.h
+++ b/lib/librte_regexdev/rte_regexdev.h
@@ -228,9 +228,6 @@ extern int rte_regexdev_logtype;
 } while (0)
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
  * Check if dev_id is ready.
  *
  * @param dev_id
@@ -240,7 +237,6 @@ extern int rte_regexdev_logtype;
  *   - 0 if device state is not in ready state.
  *   - 1 if device state is ready state.
  */
-__rte_experimental
 int rte_regexdev_is_valid_dev(uint16_t dev_id);
 
 /**
diff --git a/lib/librte_regexdev/rte_regexdev_driver.h b/lib/librte_regexdev/rte_regexdev_driver.h
index 6246b144a6..64742016c0 100644
--- a/lib/librte_regexdev/rte_regexdev_driver.h
+++ b/lib/librte_regexdev/rte_regexdev_driver.h
@@ -32,7 +32,6 @@ extern "C" {
  *   A pointer to the RegEx device slot case of success,
  *   NULL otherwise.
  */
-__rte_internal
 struct rte_regexdev *rte_regexdev_register(const char *name);
 
 /**
@@ -42,7 +41,6 @@ struct rte_regexdev *rte_regexdev_register(const char *name);
  * @param dev
  *   Device to be released.
  */
-__rte_internal
 void rte_regexdev_unregister(struct rte_regexdev *dev);
 
 /**
@@ -52,7 +50,6 @@ void rte_regexdev_unregister(struct rte_regexdev *dev);
  * @param name
  *   The device name.
  */
-__rte_internal
 struct rte_regexdev *rte_regexdev_get_device_by_name(const char *name);
 
 #ifdef __cplusplus
diff --git a/lib/librte_regexdev/version.map b/lib/librte_regexdev/version.map
index 988b909638..8db9b17018 100644
--- a/lib/librte_regexdev/version.map
+++ b/lib/librte_regexdev/version.map
@@ -1,7 +1,6 @@
 EXPERIMENTAL {
 	global:
 
-	rte_regex_devices;
 	rte_regexdev_attr_get;
 	rte_regexdev_attr_set;
 	rte_regexdev_close;
@@ -12,8 +11,6 @@ EXPERIMENTAL {
 	rte_regexdev_enqueue_burst;
 	rte_regexdev_get_dev_id;
 	rte_regexdev_info_get;
-	rte_regexdev_is_valid_dev;
-	rte_regexdev_logtype;
 	rte_regexdev_queue_pair_setup;
 	rte_regexdev_rule_db_compile_activate;
 	rte_regexdev_rule_db_export;
@@ -27,9 +24,3 @@ EXPERIMENTAL {
 	rte_regexdev_xstats_names_get;
 	rte_regexdev_xstats_reset;
 };
-
-INTERNAL {
-	rte_regexdev_get_device_by_name;
-	rte_regexdev_register;
-	rte_regexdev_unregister;
-};
-- 
2.34.1


             reply	other threads:[~2022-03-29 12:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-29 12:09 luca.boccassi [this message]
2022-03-29 12:09 ` [PATCH 20.11 2/2] dpaa2: fix build with RTE_LIBRTE_IEEE1588 luca.boccassi
2022-03-29 14:11   ` Luca Boccassi
2022-03-31 12:25     ` Luca Boccassi
2022-04-01  5:29       ` [EXT] " Vanshika Shukla
2022-04-01  7:19         ` Christian Ehrhardt
2022-03-31 15:19     ` Hemant Agrawal
2022-03-29 14:20   ` Christian Ehrhardt
2022-03-29 14:07 ` [PATCH 20.11 1/2] Revert "regexdev: fix section attribute of symbols" Christian Ehrhardt

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=20220329120953.152396-1-luca.boccassi@gmail.com \
    --to=luca.boccassi@gmail.com \
    --cc=bluca@debian.org \
    --cc=christian.ehrhardt@canonical.com \
    --cc=ktraynor@redhat.com \
    --cc=stable@dpdk.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).