[dpdk-dev] [PATCH v2] ethdev: mark old macros as deprecated
Thomas Monjalon
thomas at monjalon.net
Thu Nov 4 13:59:19 CET 2021
04/11/2021 12:03, Ferruh Yigit:
> On 11/3/2021 10:48 PM, Ferruh Yigit wrote:
> > Old macros kept for backward compatibility, but this cause old macro
> > usage to sneak in silently.
> >
> > Marking old macros as deprecated. Downside is this will cause some noise
> > for applications that are using old macros.
> >
> > Fixes: 295968d17407 ("ethdev: add namespace")
> >
> > Signed-off-by: Ferruh Yigit<ferruh.yigit at intel.com>
> > Acked-by: Stephen Hemminger<stephen at networkplumber.org>
>
> Hi Thomas, Andrew,
>
> 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.
More information about the dev
mailing list