[dpdk-dev] [PATCH v2] ethdev: mark old macros as deprecated
Stephen Hemminger
stephen at networkplumber.org
Fri Nov 5 17:26:49 CET 2021
On Fri, 05 Nov 2021 16:05:14 +0100
Thomas Monjalon <thomas at monjalon.net> wrote:
> > >>
> > >> What do you think about marking old macros as deprecated?
> > >>
> > >> This will cause warning in application code that is using
> > >> old macros, but shouldn't fail their build (unless -Werror
> > >> is issued).
> > >
> > > It looks to be the right thing to do.
> > > I wonder whether we could wait 22.02 to apply it,
> > > so users of LTS are not annoyed by it.
> >
> > I have no strong opinion, but tend to agree with Thomas.
> > However, if an application jumps from LTS to LTS, these
> > defines will be available in 21.11 without any warnings
> > and simply disappear in 22.11. So, may be it is more
> > friendly to deprecate in 21.11.
>
> That's true for a lot of deprecations done in the year.
> Jumping from LTS to LTS is for production.
> Intermediate releases should help in the upgrade preparation process.
Agree, the deprecation cycle is long enough and it is just a
trivial warning easy to fix, or for those that ignore warnings
they just won't care.
More information about the dev
mailing list