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 9EDBAA04FF; Wed, 23 Mar 2022 10:24:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 315DF41140; Wed, 23 Mar 2022 10:24:08 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 4B98241104 for ; Wed, 23 Mar 2022 10:24:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648027446; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Sty4BXM4mt3luI/CGv1nCUbTxyHOudTmY8wGRtxDocY=; b=BUgC8VAWKkyDfhvcQUOSz7wr5t7XLGLy2JzzNXp5YDmYhc76cbBrZWVeJlydxAwjTctMR0 onZ51ssZTBFOLQmCa8Q+5ldyNqdi90Rshc/XCrZa/hLJVqUI/EuQS8R14cNiEyRQ0VzfsJ mvhl8121r/e/B/N/3C4agzEKLfo+NAg= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-260-_2wiVPYOMpeb7eqs5HqnQA-1; Wed, 23 Mar 2022 05:24:05 -0400 X-MC-Unique: _2wiVPYOMpeb7eqs5HqnQA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 31C4929AA388; Wed, 23 Mar 2022 09:24:05 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.195.27]) by smtp.corp.redhat.com (Postfix) with ESMTP id 365E2112132C; Wed, 23 Mar 2022 09:24:04 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, Ray Kinsella Subject: [PATCH] devtools: document ABI suppression rules Date: Wed, 23 Mar 2022 10:24:00 +0100 Message-Id: <20220323092400.19544-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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 Suppression rules are being added during the life of an ABI and cleaned when bumping the major version. Sort and document those rules to avoid pruning rules that should be kept. Signed-off-by: David Marchand --- devtools/libabigail.abignore | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore index c618f20032..587cc5c381 100644 --- a/devtools/libabigail.abignore +++ b/devtools/libabigail.abignore @@ -1,3 +1,7 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +; Core suppression rules: DO NOT TOUCH; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + [suppress_function] symbol_version = EXPERIMENTAL [suppress_variable] @@ -16,15 +20,23 @@ [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} +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +; Experimental APIs exceptions ; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Ignore changes to rte_crypto_asym_op, asymmetric crypto API is experimental [suppress_type] name = rte_crypto_asym_op +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +; Temporary exceptions till next major ABI version ; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +; 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} + ; Ignore section attribute fixes in experimental regexdev library [suppress_file] soname_regexp = ^librte_regexdev\. -- 2.23.0