Re: [dpdk-dev] [PATCH v2] ethdev: mark old macros as deprecated
From: Thomas Monjalon <hidden>
Date: 2021-11-04 12:59:29
From: Thomas Monjalon <hidden>
Date: 2021-11-04 12:59:29
04/11/2021 12:03, Ferruh Yigit:
On 11/3/2021 10:48 PM, Ferruh Yigit wrote:quoted
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<redacted> Acked-by: Stephen Hemminger<stephen@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.