[dpdk-dev] [PATCH v2] eal: remove the deprecated whitelist/blacklist and master/slave API's

Ruifeng Wang Ruifeng.Wang at arm.com
Tue Aug 24 09:31:59 CEST 2021


> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Stephen Hemminger
> Sent: Monday, August 23, 2021 11:07 PM
> To: dev at dpdk.org
> Cc: Stephen Hemminger <stephen at networkplumber.org>
> Subject: [dpdk-dev] [PATCH v2] eal: remove the deprecated
> whitelist/blacklist and master/slave API's
> 
> New API's for these were added in 20.11 and the old API was retained but
> marked deprecated. Since 21.11 is the next LTS, it is time to remove the
> deprecated ones.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> v2
>   remove the short 'w' option as well
> 
>  doc/guides/rel_notes/release_21_11.rst |  7 +++++++
>  lib/eal/common/eal_common_options.c    | 19 -------------------
>  lib/eal/common/eal_options.h           | 10 ----------
>  lib/eal/include/rte_bus.h              |  6 ------
>  lib/eal/include/rte_dev.h              |  6 ------
>  lib/eal/include/rte_devargs.h          |  6 ------
>  lib/eal/include/rte_launch.h           |  4 ----
>  lib/eal/include/rte_lcore.h            | 15 ---------------
>  8 files changed, 7 insertions(+), 66 deletions(-)
> 
> diff --git a/doc/guides/rel_notes/release_21_11.rst
> b/doc/guides/rel_notes/release_21_11.rst
> index d707a554efaf..e34c5aa74ad0 100644
> --- a/doc/guides/rel_notes/release_21_11.rst
> +++ b/doc/guides/rel_notes/release_21_11.rst
> @@ -68,6 +68,13 @@ Removed Items
>     Also, make sure to start the actual text at the margin.
>     =======================================================
> 
> +* eal: Removed the deprecated function ``rte_get_master_lcore()``
> +  and the iterarator macro ``RTE_LCORE_FOREACH_SLAVE``.

Nit. Typo 'iterator'. With suggested change:
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>

> +
> +* eal: The old api arguments that were deprecated for
> +  blacklist/whitelist are removed. Users must use the new
> +  block/allow list arguments.
> +
> 
<snip>


More information about the dev mailing list