From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1A2B6A04DD; Thu, 22 Oct 2020 09:47:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD4CE72F3; Thu, 22 Oct 2020 09:47:18 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id CC62972F1 for ; Thu, 22 Oct 2020 09:47:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603352835; 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=dKqWM9XvNQUn8jugZ6EqbZ8fjuUN5MzRfDayn3y1bpM=; b=QTMaC9n8KjxLXy/MuPn3ylzN9JqlDJRWEi11vvYdDJl62pEUy7ttMJwmVxzf08JxuKZpXQ GTrkQEeu7ZsyUziw/fYTgNBsdF6+dJPA7rmY0ZeoCDvZMMjYyFaM+OyarbMcUB+rjUNwTn MXlsC5+qZ0s9BHr7Ja5Qu74EwGoTu3E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-388-3I5EVtbRNDWhHbZqd7MPgA-1; Thu, 22 Oct 2020 03:47:13 -0400 X-MC-Unique: 3I5EVtbRNDWhHbZqd7MPgA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0746D107ACF9; Thu, 22 Oct 2020 07:47:11 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id 140445B4A3; Thu, 22 Oct 2020 07:47:07 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com, Ray Kinsella , Neil Horman , Rosen Xu , Andrew Rybchenko , Luca Boccassi Date: Thu, 22 Oct 2020 09:47:04 +0200 Message-Id: <20201022074704.16111-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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" Subject: [dpdk-dev] [PATCH] build: fix version map file references in documentation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fixes: 63b3907833d8 ("build: remove library name from version map file name") Signed-off-by: David Marchand --- Note: we might want to update the ABI version in the examples shown in the documentation. I can send a followup patch. --- doc/guides/contributing/abi_versioning.rst | 14 +++++++------- lib/librte_eal/include/rte_function_versioning.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/contributing/abi_versioning.rst b/doc/guides/contributing/abi_versioning.rst index 7a771dba10..b8b35761e2 100644 --- a/doc/guides/contributing/abi_versioning.rst +++ b/doc/guides/contributing/abi_versioning.rst @@ -58,12 +58,12 @@ persists over multiple releases. .. code-block:: none - $ head ./lib/librte_acl/rte_acl_version.map + $ head ./lib/librte_acl/version.map DPDK_20 { global: ... - $ head ./lib/librte_eal/rte_eal_version.map + $ head ./lib/librte_eal/version.map DPDK_20 { global: ... @@ -77,7 +77,7 @@ that library. .. code-block:: none - $ head ./lib/librte_acl/rte_acl_version.map + $ head ./lib/librte_acl/version.map DPDK_20 { global: ... @@ -88,7 +88,7 @@ that library. } DPDK_20; ... - $ head ./lib/librte_eal/rte_eal_version.map + $ head ./lib/librte_eal/version.map DPDK_20 { global: ... @@ -100,12 +100,12 @@ how this may be done. .. code-block:: none - $ head ./lib/librte_acl/rte_acl_version.map + $ head ./lib/librte_acl/version.map DPDK_21 { global: ... - $ head ./lib/librte_eal/rte_eal_version.map + $ head ./lib/librte_eal/version.map DPDK_21 { global: ... @@ -134,7 +134,7 @@ linked to the DPDK. To support backward compatibility the ``rte_function_versioning.h`` header file provides macros to use when updating exported functions. These -macros are used in conjunction with the ``rte__version.map`` file for +macros are used in conjunction with the ``version.map`` file for a given library to allow multiple versions of a symbol to exist in a shared library so that older binaries need not be immediately recompiled. diff --git a/lib/librte_eal/include/rte_function_versioning.h b/lib/librte_eal/include/rte_function_versioning.h index f588f2643b..746a1e1992 100644 --- a/lib/librte_eal/include/rte_function_versioning.h +++ b/lib/librte_eal/include/rte_function_versioning.h @@ -22,7 +22,7 @@ * allow for backwards compatibility for a time with older binaries that are * dynamically linked to the dpdk. To support that, the __vsym and * VERSION_SYMBOL macros are created. They, in conjunction with the - * _version.map file for a given library allow for multiple versions of + * version.map file for a given library allow for multiple versions of * a symbol to exist in a shared library so that older binaries need not be * immediately recompiled. * -- 2.23.0