]> git.droids-corp.org - dpdk.git/commitdiff
eal: remove deprecated function for mbuf pool ops
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 7 Aug 2018 21:34:42 +0000 (23:34 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Aug 2018 23:03:14 +0000 (01:03 +0200)
rte_eal_mbuf_default_mempool_ops() is replaced by
rte_mbuf_best_mempool_ops().

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_18_08.rst
lib/librte_eal/bsdapp/eal/Makefile
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/include/rte_eal.h
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/linuxapp/eal/eal.c
lib/librte_eal/meson.build
lib/librte_eal/rte_eal_version.map

index bade1e4c451644423181cb8300ddcaa1befb3777..118f962d9ff47efd135fe56b3cad4b034074a79c 100644 (file)
@@ -42,15 +42,6 @@ Deprecation Notices
   - ``eal_parse_pci_DomBDF`` replaced by ``rte_pci_addr_parse``
   - ``rte_eal_compare_pci_addr`` replaced by ``rte_pci_addr_cmp``
 
-* eal: a new set of mbuf mempool ops name APIs for user, platform and best
-  mempool names have been defined in ``rte_mbuf`` in v18.02. The uses of
-  ``rte_eal_mbuf_default_mempool_ops`` shall be replaced by
-  ``rte_mbuf_best_mempool_ops``.
-  The following function is deprecated since 18.05, and will be removed
-  in 18.08:
-
-  - ``rte_eal_mbuf_default_mempool_ops``
-
 * mbuf: The opaque ``mbuf->hash.sched`` field will be updated to support generic
   definition in line with the ethdev TM and MTR APIs. Currently, this field
   is defined in librte_sched in a non-generic way. The new generic format
index 211b777d0db999afdac565645ebf42c37509c862..cbdf2d94a8ef7f3108ab0090e9f297c595a5b78c 100644 (file)
@@ -136,6 +136,10 @@ API Changes
     * If ``$XDG_RUNTIME_DIR`` is set, ``${XDG_RUNTIME_DIR}/dpdk/<prefix>/config``
     * Otherwise, ``/tmp/dpdk/<prefix>/config``
 
+* eal: The function ``rte_eal_mbuf_default_mempool_ops`` was deprecated
+  and is removed in 18.08. It shall be replaced by
+  ``rte_mbuf_best_mempool_ops``.
+
 * mempool: Following functions were deprecated and are removed in 18.08:
 
   - ``rte_mempool_populate_iova_tab``
@@ -268,7 +272,7 @@ The libraries prepended with a plus sign were incremented in this version.
      librte_compressdev.so.1
    + librte_cryptodev.so.5
      librte_distributor.so.1
-     librte_eal.so.7
+   + librte_eal.so.8
    + librte_ethdev.so.10
      librte_eventdev.so.4
      librte_flow_classify.so.1
index be684072e5d474bdeff6a99bd9640706431f3125..d27da3d15b5239e9dee120e33d8efe920c1c253d 100644 (file)
@@ -22,7 +22,7 @@ LDLIBS += -lrte_kvargs
 
 EXPORT_MAP := ../../rte_eal_version.map
 
-LIBABIVER := 7
+LIBABIVER := 8
 
 # specific to bsdapp exec-env
 SRCS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) := eal.c
index 6a6dd5e85573e28b35929ffd833ab359a3873be6..89e8110a210bb3f629c1fa9c0a828f0a5e4b4b83 100644 (file)
@@ -153,16 +153,6 @@ rte_eal_mbuf_user_pool_ops(void)
        return internal_config.user_mbuf_pool_ops_name;
 }
 
-/* Return mbuf pool ops name */
-const char *
-rte_eal_mbuf_default_mempool_ops(void)
-{
-       if (internal_config.user_mbuf_pool_ops_name == NULL)
-               return RTE_MBUF_DEFAULT_MEMPOOL_OPS;
-
-       return internal_config.user_mbuf_pool_ops_name;
-}
-
 /* Return a pointer to the configuration structure */
 struct rte_config *
 rte_eal_get_configuration(void)
index 8de5d69e878cb337a95f33fc3ba794487a50f5f3..0c9c3f13bd4948ae40c8a262c64a8c8803121c54 100644 (file)
@@ -501,17 +501,6 @@ enum rte_iova_mode rte_eal_iova_mode(void);
 const char * __rte_experimental
 rte_eal_mbuf_user_pool_ops(void);
 
-/**
- * @deprecated
- * Get default pool ops name for mbuf
- *
- * @return
- *   returns default pool ops name.
- */
-__rte_deprecated
-const char *
-rte_eal_mbuf_default_mempool_ops(void);
-
 #ifdef __cplusplus
 }
 #endif
index b48352825168b17fea99c7644f134c707a6f714c..fd92c75c21f3b432e9b88e048c319a33005caeef 100644 (file)
@@ -10,7 +10,7 @@ ARCH_DIR ?= $(RTE_ARCH)
 EXPORT_MAP := ../../rte_eal_version.map
 VPATH += $(RTE_SDK)/lib/librte_eal/common/arch/$(ARCH_DIR)
 
-LIBABIVER := 7
+LIBABIVER := 8
 
 VPATH += $(RTE_SDK)/lib/librte_eal/common
 
index d2d5aae801ae7280799c324ce9f5411927491ae1..511eb062f4eb392feeee9e2e53a97f637ba51cea 100644 (file)
@@ -161,16 +161,6 @@ rte_eal_mbuf_user_pool_ops(void)
        return internal_config.user_mbuf_pool_ops_name;
 }
 
-/* Return mbuf pool ops name */
-const char *
-rte_eal_mbuf_default_mempool_ops(void)
-{
-       if (internal_config.user_mbuf_pool_ops_name == NULL)
-               return RTE_MBUF_DEFAULT_MEMPOOL_OPS;
-
-       return internal_config.user_mbuf_pool_ops_name;
-}
-
 /* Return a pointer to the configuration structure */
 struct rte_config *
 rte_eal_get_configuration(void)
index 98174476c74c43753fd4ab8a556def5c2b61ad82..e1fde15d1bf1a3905993d81ef575722d99f3f46f 100644 (file)
@@ -21,7 +21,7 @@ else
        error('unsupported system type "@0@"'.format(host_machine.system()))
 endif
 
-version = 7  # the version of the EAL API
+version = 8  # the version of the EAL API
 allow_experimental_apis = true
 deps += 'compat'
 deps += 'kvargs'
index f1838713785c1923cd6a9e0a461c036c216684b2..de9abc81283cd754a90649ebd78b7108fcc85703 100644 (file)
@@ -181,7 +181,6 @@ DPDK_17.11 {
        rte_bus_get_iommu_class;
        rte_eal_has_pci;
        rte_eal_iova_mode;
-       rte_eal_mbuf_default_mempool_ops;
        rte_eal_using_phys_addrs;
        rte_eal_vfio_intr_mode;
        rte_lcore_has_role;