DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] devtools: remove event/dlb exception in ABI check
@ 2022-03-01 16:54 David Marchand
  2022-03-01 16:54 ` [PATCH 2/2] devtools: use libabigail rule for mlx glue drivers David Marchand
  2022-03-02 10:13 ` [PATCH 1/2] devtools: remove event/dlb exception in ABI check Ray Kinsella
  0 siblings, 2 replies; 5+ messages in thread
From: David Marchand @ 2022-03-01 16:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, stable, Ray Kinsella, Ferruh Yigit

The event/dlb driver exception can be removed, as this rule made sense
for changes in DPDK_21 ABI and is obsolete for DPDK_22.

Fixes: fdab8f2e1749 ("version: 21.11-rc0")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 devtools/check-abi.sh | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/devtools/check-abi.sh b/devtools/check-abi.sh
index 675f10142e..033f6252d0 100755
--- a/devtools/check-abi.sh
+++ b/devtools/check-abi.sh
@@ -44,10 +44,6 @@ for dump in $(find $refdir -name "*.dump"); do
 		echo "Skipped glue library $name."
 		continue
 	fi
-	if grep -qE "\<soname='librte_event_dlb\.so" $dump; then
-		echo "Skipped removed driver $name."
-		continue
-	fi
 	if grep -qE "\<librte_*.*_octeontx2" $dump; then
 		echo "Skipped removed driver $name."
 		continue
-- 
2.23.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] devtools: use libabigail rule for mlx glue drivers
  2022-03-01 16:54 [PATCH 1/2] devtools: remove event/dlb exception in ABI check David Marchand
@ 2022-03-01 16:54 ` David Marchand
  2022-03-02 10:16   ` Ray Kinsella
  2022-03-02 10:13 ` [PATCH 1/2] devtools: remove event/dlb exception in ABI check Ray Kinsella
  1 sibling, 1 reply; 5+ messages in thread
From: David Marchand @ 2022-03-01 16:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, Ray Kinsella

Convert the existing exception in the ABI script into a libabigail
suppression rule.

Note: file_name_regexp could be used to achive the same with versions of
libabigail < 1.7 but soname_regexp has been preferred here since it is
already used with a recent change on common/mlx5.

While at it, fix indent from a recent change.

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 devtools/check-abi.sh        | 7 -------
 devtools/libabigail.abignore | 8 ++++++--
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/devtools/check-abi.sh b/devtools/check-abi.sh
index 033f6252d0..64e148070d 100755
--- a/devtools/check-abi.sh
+++ b/devtools/check-abi.sh
@@ -37,13 +37,6 @@ fi
 error=
 for dump in $(find $refdir -name "*.dump"); do
 	name=$(basename $dump)
-	# skip glue drivers, example librte_pmd_mlx5_glue.dump
-	# We can't rely on a suppression rule for now:
-	# https://sourceware.org/bugzilla/show_bug.cgi?id=25480
-	if grep -qE "\<soname='[^']*_glue\.so\.[^']*'" $dump; then
-		echo "Skipped glue library $name."
-		continue
-	fi
 	if grep -qE "\<librte_*.*_octeontx2" $dump; then
 		echo "Skipped removed driver $name."
 		continue
diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore
index 301b3dacb8..9c921c47d4 100644
--- a/devtools/libabigail.abignore
+++ b/devtools/libabigail.abignore
@@ -12,10 +12,14 @@
 [suppress_variable]
         name_regexp = _pmd_info$
 
+; Ignore changes on soname for mlx glue internal drivers
+[suppress_file]
+        soname_regexp = ^librte_.*mlx.*glue\.
+
 ; Ignore fields inserted in place of reserved_opts of rte_security_ipsec_sa_options
 [suppress_type]
-       name = rte_security_ipsec_sa_options
-       has_data_member_inserted_between = {offset_of(reserved_opts), end}
+        name = rte_security_ipsec_sa_options
+        has_data_member_inserted_between = {offset_of(reserved_opts), end}
 
 ; Ignore changes to rte_crypto_asym_op, asymmetric crypto API is experimental
 [suppress_type]
-- 
2.23.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] devtools: remove event/dlb exception in ABI check
  2022-03-01 16:54 [PATCH 1/2] devtools: remove event/dlb exception in ABI check David Marchand
  2022-03-01 16:54 ` [PATCH 2/2] devtools: use libabigail rule for mlx glue drivers David Marchand
@ 2022-03-02 10:13 ` Ray Kinsella
  1 sibling, 0 replies; 5+ messages in thread
From: Ray Kinsella @ 2022-03-02 10:13 UTC (permalink / raw)
  To: David Marchand; +Cc: dev, thomas, stable, Ferruh Yigit


David Marchand <david.marchand@redhat.com> writes:

> The event/dlb driver exception can be removed, as this rule made sense
> for changes in DPDK_21 ABI and is obsolete for DPDK_22.
>
> Fixes: fdab8f2e1749 ("version: 21.11-rc0")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---

Acked-by: Ray Kinsella <mdr@ashroe.eu>


-- 
Regards, Ray K

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] devtools: use libabigail rule for mlx glue drivers
  2022-03-01 16:54 ` [PATCH 2/2] devtools: use libabigail rule for mlx glue drivers David Marchand
@ 2022-03-02 10:16   ` Ray Kinsella
  2022-03-08 14:04     ` Thomas Monjalon
  0 siblings, 1 reply; 5+ messages in thread
From: Ray Kinsella @ 2022-03-02 10:16 UTC (permalink / raw)
  To: David Marchand; +Cc: dev, thomas


David Marchand <david.marchand@redhat.com> writes:

> Convert the existing exception in the ABI script into a libabigail
> suppression rule.
>
> Note: file_name_regexp could be used to achive the same with versions of
> libabigail < 1.7 but soname_regexp has been preferred here since it is
> already used with a recent change on common/mlx5.
>
> While at it, fix indent from a recent change.
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>  devtools/check-abi.sh        | 7 -------
>  devtools/libabigail.abignore | 8 ++++++--
>  2 files changed, 6 insertions(+), 9 deletions(-)
>

Minor niggle that changes to the check-abi.sh script should have been in
the first patch?

Acked-by: Ray Kinsella <mdr@ashroe.eu>
-- 
Regards, Ray K

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] devtools: use libabigail rule for mlx glue drivers
  2022-03-02 10:16   ` Ray Kinsella
@ 2022-03-08 14:04     ` Thomas Monjalon
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2022-03-08 14:04 UTC (permalink / raw)
  To: David Marchand; +Cc: dev, Ray Kinsella

02/03/2022 11:16, Ray Kinsella:
> 
> David Marchand <david.marchand@redhat.com> writes:
> 
> > Convert the existing exception in the ABI script into a libabigail
> > suppression rule.
> >
> > Note: file_name_regexp could be used to achive the same with versions of
> > libabigail < 1.7 but soname_regexp has been preferred here since it is
> > already used with a recent change on common/mlx5.
> >
> > While at it, fix indent from a recent change.
> >
> > Signed-off-by: David Marchand <david.marchand@redhat.com>
> > ---
> >  devtools/check-abi.sh        | 7 -------
> >  devtools/libabigail.abignore | 8 ++++++--
> >  2 files changed, 6 insertions(+), 9 deletions(-)
> >
> 
> Minor niggle that changes to the check-abi.sh script should have been in
> the first patch?

No, first patch is about DLB, second is mlx.

> Acked-by: Ray Kinsella <mdr@ashroe.eu>

Series applied, thanks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-08 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 16:54 [PATCH 1/2] devtools: remove event/dlb exception in ABI check David Marchand
2022-03-01 16:54 ` [PATCH 2/2] devtools: use libabigail rule for mlx glue drivers David Marchand
2022-03-02 10:16   ` Ray Kinsella
2022-03-08 14:04     ` Thomas Monjalon
2022-03-02 10:13 ` [PATCH 1/2] devtools: remove event/dlb exception in ABI check Ray Kinsella

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).