eal: remove deprecated malloc virt2phys function

Remove rte_malloc_virt2phy as announced previously.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
This commit is contained in:
David Marchand 2019-10-25 15:56:02 +02:00
parent 637af85090
commit bbabce218d
3 changed files with 3 additions and 10 deletions

View File

@ -34,9 +34,6 @@ Deprecation Notices
+ ``rte_eal_devargs_type_count``
* eal: The ``rte_malloc_virt2phy`` function has been deprecated and replaced
by ``rte_malloc_virt2iova`` since v17.11 and will be removed.
* vfio: removal of ``rte_vfio_dma_map`` and ``rte_vfio_dma_unmap`` APIs which
have been replaced with ``rte_dev_dma_map`` and ``rte_dev_dma_unmap``
functions. The due date for the removal targets DPDK 20.02.

View File

@ -288,6 +288,9 @@ API Changes
* eal: removed the ``rte_cpu_check_supported`` function, replaced by
``rte_cpu_is_supported`` since dpdk v17.08.
* eal: removed the ``rte_malloc_virt2phy`` function, replaced by
``rte_malloc_virt2iova`` since v17.11.
* The network structure ``esp_tail`` has been prefixed by ``rte_``.
* The network definitions of PPPoE ethertypes have been prefixed by ``RTE_``.

View File

@ -553,13 +553,6 @@ rte_malloc_set_limit(const char *type, size_t max);
rte_iova_t
rte_malloc_virt2iova(const void *addr);
__rte_deprecated
static inline phys_addr_t
rte_malloc_virt2phy(const void *addr)
{
return rte_malloc_virt2iova(addr);
}
#ifdef __cplusplus
}
#endif