On Mon, Nov 09, 2020 at 07:54:40AM -0800, Stephen Hemminger wrote: > On Mon, 9 Nov 2020 13:49:31 +0000 > Bruce Richardson <bruce.richard...@intel.com> wrote: > > > On Thu, Nov 05, 2020 at 02:35:57PM -0800, Stephen Hemminger wrote: > > > This patch renames 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. To help with conversion to new names > > > cause a message when the compatibility names are used. > > > > > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > > > Acked-by: Luca Boccassi <bl...@debian.org> > > > Acked-by: Gaetan Rivet <gr...@u256.net> > > > --- > > > lib/librte_eal/common/eal_common_devargs.c | 14 +++++++------- > > > lib/librte_eal/include/rte_bus.h | 10 ++++++++-- > > > lib/librte_eal/include/rte_dev.h | 10 ++++++++-- > > > lib/librte_eal/include/rte_devargs.h | 10 ++++++++-- > > > 4 files changed, 31 insertions(+), 13 deletions(-) > > > > > <snip> > > > +/* Backwards compatibility will be removed later */ > > > +#define RTE_DEVTYPE_WHITELISTED_PCI \ > > > + RTE_DEPRECATED(RTE_DEVTYPE_WHITELISTED_PCI) RTE_DEVTYPE_ALLOWED > > > +#define RTE_DEVTYPE_BLACKLISTED_PCI \ > > > + RTE_DEPRECATED(RTE_DEVTYPE_BLACKLISTED_PCI) RTE_DEVTYPE_BLOCKED > > > + > > > > This patch causes build failures which persist until patch 3, because of > > these deprecations. I think you need to define the backward-compatibility > > macros here, but only mark them deprecated at the end of the set. > > > > /Bruce > > Is building without warnings in every step that important? > The previous patch series for master/slave had the same effect > I assumed it was necessary, but maybe I'm mistaken. Thomas, David, your feedback please? We really could do with getting this patchset into the LTS release!
/Bruce