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 AD9A0A329E for ; Wed, 23 Oct 2019 20:55:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F1CF31D155; Wed, 23 Oct 2019 20:54:54 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 755FC1C2AB for ; Wed, 23 Oct 2019 20:54:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571856892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=08jaI+abKuulYG1fFmJGKBkW3031x2wtXjcArb/ncig=; b=glkSD8zCrUZh3KdOJBSrDibdbhTsr9BwWwDeOaIKPFC/lMg4AXc9oiE5a+0Z8HdejeONMh jK9fNtQdk08Y4CAYghPAhsU1zeRuKa5L5dgA/8GZDQBNTFTUlL6Gf1G071CDV8pTVPz98N i3fOn06CachSURfkEpk3tKv8qSduLas= 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-9-77uiUXB-N9GHH-FNB3PbLA-1; Wed, 23 Oct 2019 14:54:48 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F263A1800D6B; Wed, 23 Oct 2019 18:54:46 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-204-129.brq.redhat.com [10.40.204.129]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C3F060872; Wed, 23 Oct 2019 18:54:44 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stephen@networkplumber.org, anatoly.burakov@intel.com, thomas@monjalon.net, Neil Horman , John McNamara , Marko Kovacevic Date: Wed, 23 Oct 2019 20:54:15 +0200 Message-Id: <1571856864-8779-4-git-send-email-david.marchand@redhat.com> In-Reply-To: <1571856864-8779-1-git-send-email-david.marchand@redhat.com> References: <1571736761-32134-1-git-send-email-david.marchand@redhat.com> <1571856864-8779-1-git-send-email-david.marchand@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: 77uiUXB-N9GHH-FNB3PbLA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] [PATCH v2 03/12] eal: remove deprecated malloc virt2phys function 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" Remove rte_malloc_virt2phy as announced previously. Signed-off-by: David Marchand --- doc/guides/rel_notes/deprecation.rst | 3 --- doc/guides/rel_notes/release_19_11.rst | 3 +++ lib/librte_eal/common/include/rte_malloc.h | 7 ------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/de= precation.rst index 50ac348..bbd5863 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -34,9 +34,6 @@ Deprecation Notices =20 + ``rte_eal_devargs_type_count`` =20 -* eal: The ``rte_malloc_virt2phy`` function has been deprecated and replac= ed - by ``rte_malloc_virt2iova`` since v17.11 and will be removed. - * vfio: removal of ``rte_vfio_dma_map`` and ``rte_vfio_dma_unmap`` APIs wh= ich have been replaced with ``rte_dev_dma_map`` and ``rte_dev_dma_unmap`` functions. The due date for the removal targets DPDK 20.02. diff --git a/doc/guides/rel_notes/release_19_11.rst b/doc/guides/rel_notes/= release_19_11.rst index 8bf2437..0c61c1c 100644 --- a/doc/guides/rel_notes/release_19_11.rst +++ b/doc/guides/rel_notes/release_19_11.rst @@ -207,6 +207,9 @@ ABI Changes * eal: removed the ``rte_cpu_check_supported`` function, replaced by ``rte_cpu_is_supported`` since dpdk v17.08. =20 +* eal: removed the ``rte_malloc_virt2phy`` function, replaced by + ``rte_malloc_virt2iova`` since v17.11. + =20 Shared Library Versions ----------------------- diff --git a/lib/librte_eal/common/include/rte_malloc.h b/lib/librte_eal/co= mmon/include/rte_malloc.h index 3593fb4..42ca051 100644 --- a/lib/librte_eal/common/include/rte_malloc.h +++ b/lib/librte_eal/common/include/rte_malloc.h @@ -553,13 +553,6 @@ rte_malloc_set_limit(const char *type, size_t max); rte_iova_t rte_malloc_virt2iova(const void *addr); =20 -__rte_deprecated -static inline phys_addr_t -rte_malloc_virt2phy(const void *addr) -{ -=09return rte_malloc_virt2iova(addr); -} - #ifdef __cplusplus } #endif --=20 1.8.3.1