eal: replace usage of blacklist/whitelist in enums
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 10 Nov 2020 22:55:38 +0000 (14:55 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Nov 2020 23:11:22 +0000 (00:11 +0100)
commita65a34a85ebf5ee6dda53d680393b0342ff7fdb9
tree55490d59e55e3aeaa0827dfb05d99a18d4498242
parent27cc0779220d6ae689329a0cbddb893acf1f1cd1
eal: replace usage of blacklist/whitelist in enums

Rename the enum values in the EAL include files.
As a backward compatible temporary migration tool, define
a replacement mapping for old values.

The old names relating to blacklist and whitelist are replaced
by block list and allow list, but applications may be using the
older compatibility macros, marked as deprecated.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Gaetan Rivet <grive@u256.net>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
13 files changed:
doc/guides/rel_notes/deprecation.rst
drivers/bus/dpaa/dpaa_bus.c
drivers/bus/fslmc/fslmc_bus.c
drivers/bus/fslmc/fslmc_vfio.c
drivers/bus/pci/pci_common.c
drivers/bus/vmbus/vmbus_common.c
drivers/crypto/virtio/virtio_pci.c
drivers/net/virtio/virtio_pci.c
lib/librte_eal/common/eal_common_devargs.c
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/include/rte_bus.h
lib/librte_eal/include/rte_dev.h
lib/librte_eal/include/rte_devargs.h